Javascript Help Please |
![]() ![]() |
Javascript Help Please |
Apr 26 2006, 04:41 PM
Post
#1
|
|
|
New Member ![]() Posts: 1 OS: Windows Xp |
I like alot but the problem is that when you click on the Menu it expands it, but when you click on the links that are expanded it will close the menu when you go to that link. Am I making sense? How can I have it stay open(expanded) even if it goes to another page? Here is the code: <script language=javascript type=text/javascript> <!-- // preloads expand images and the dot if(document.images) { expandC = new Image expandC.src="images/arrow.gif" expandO = new Image expandO.src="images/arrow_down.gif" } function expand(expandWhat) { var exEle = expandWhat var current = document.getElementById(exEle).style.display if (current == "none") { document.getElementById(exEle).style.display=""; if (document.images) document.getElementById(exEle + 'Img').src = expandO.src; } else { document.getElementById(exEle).style.display="none"; if (document.images) document.getElementById(exEle + 'Img').src = expandC.src; } } //--> </SCRIPT> Let me know if you need anything else. Thank you for ANY Help! |
|
|
May 16 2006, 03:57 PM
Post
#2
|
|
|
Member ![]() ![]() Posts: 28 OS: Windows ME |
It would help to be able to see your entire source code. What's the website?
I assume you have this fixed by now |
|
|
May 19 2006, 03:44 PM
Post
#3
|
|
![]() Member ![]() ![]() Posts: 54 From: MExico OS: laptop IBM THINK PAD Windows xp |
Same, just queep playing with the scource code and try to find out where is the error.
|
|
|
![]() ![]() |
Similar Topics
| Topic Title | Replies / Views | Topic Information | |||||
|---|---|---|---|---|---|---|---|
![]() |
1 / 894 | 17th June 2004 - 09:25 PM Emory started - last by ditto |
|||||
![]() |
15 / 260 | 15th November 2008 - 03:52 AM topmentor started - last by Thunderbird1988 |
|||||
![]() |
0 / 69 | 11th November 2008 - 12:23 PM agray started - last by agray |
|||||
![]() |
0 / 37 | 13th November 2008 - 07:24 AM boy666 started - last by boy666 |
|||||
|
Time is now: 20th November 2008 - 10:33 AM |
| Advertisements do not imply our endorsement of that product or service. The forum is run by volunteers who donate their time and expertise. We make every attempt to ensure that the help and advice posted is accurate and will not cause harm to your computer. However, we do not guarantee that they are accurate and they are to be used at your own risk. |