PDA

View Full Version : how can i use onMouseOver and onclick to change a image link



a_syko
10-23-2007, 09:35 AM
Hi,

I have a menu with image links(in a common file included to all the pages of my web-application), and I want to do the rollover effect(with the image changed in a higlighted one) when mouse is over an image. Onclick I would like to have the new page opened with its image link highlighted, and other pages reached from it have the same image link highlighted.
I have to javascript functions that do the swaping and the restoring for onmouseover and onmouseout, but when I try the onclick image change, it doesnt work. The image change is not persistent,it's just temprary
Thanks in advance for any help.