Jul 27 2006, 11:39 PM
Post
#1
|
|
![]() Group: Moderators Posts: 2,499 Joined: 23-February 06 From: El Paso Texas Member No.: 32 |
i got this toggle JS code that works in IE but not Firefox
java script: QUOTE <script language="javascript"> <!-- function toggle(targetId) { target = document.all(targetId); if (target.style.display == "none") { target.style.display=""; } else { target.style.display="none"; } } //--> </script> And when i call it: QUOTE <a href="java script:toggle('Name')">Click Here Thingie</a> <br /> <div id="Name" style="display:none"> <div alighn="justify"> <font color="#000000" size="1"><? include('name.php');?></font> </div> </div> any ideas? -------------------- |
|
|
|
![]() |
Aug 2 2006, 07:22 AM
Post
#2
|
|
![]() Group: Admin Posts: 3,403 Joined: 23-February 06 From: PDX/TXL Member No.: 35 |
QUOTE (zetec @ Aug 1 2006, 04:52 PM) make sure you have the latest JRE. you probably do, but it's always worth mentioning. Javascript != Java so runtime environment does not matter. The browser matters. Which begs the question, what extensions do you have installed for Firefox? -------------------- "There is a level of cowardice lower than that of the conformist: that of the fashionable non-conformist." |
|
|
|
woody Javascript help Jul 27 2006, 11:39 PM
Frantic I noticed a couple of things
QUOTE //-->
Isn... Jul 28 2006, 10:23 AM
Hartmann QUOTE (Frantic @ Jul 28 2006, 10:23 AM)I noti... Jul 28 2006, 11:35 AM
Hartmann This works fine for me in Firefox. Do you have the... Jul 28 2006, 11:38 AM
woody QUOTE (Hartmann @ Jul 28 2006, 11:38 AM)This ... Jul 30 2006, 04:13 PM
Hartmann QUOTE (woody @ Jul 30 2006, 04:13 PM)javascri... Jul 30 2006, 09:44 PM
zetec make sure you have the latest JRE.
you probably d... Aug 1 2006, 04:52 PM
zetec i was only half paying attention. still am. i have... Aug 5 2006, 08:23 PM![]() ![]() |
| Lo-Fi Version | Time is now: 11th June 2026 - 01:09 AM |