Results 1 to 2 of 2
Thread: image change depend on url
May 2, 2007, 11:44 #1
- Join Date
- May 2005
- 0 Post(s)
- 0 Thread(s)
image change depend on url
Hello ppl! Long time no see...
I got a task to run, but I can't figure it up cause of my BIT knowliege of JS
Now whats the task...
I got a navigation menu and I want it to change image when I go to "The next menu section" I want the js to change a specific image by different URL...
It's something similar with sitepoint nav menu... Look at the top! See the "Home - Articles - Books - etc...." when you press, lets say the "Books" section the word "Books" getting highlighed... thats what I want but with image change... I could be done by just changing the class...
The site will be dynamic so the urls will be something like host.com?go=books
If someone could help I would be very very happy... or gimme some clues...
I guess it could be done by "Switch" or "if | else"
Thanks in advance :