Click to See Complete Forum and Search --> : button onmouse (page open)


Pir
09-09-2003, 10:57 AM
Hi,

I would like to know, if there is a way to have a button light up in a different color as long as you have a page open.

I have a roll-over-effect on (button "Kontakt")

http://stud01.technikum-wien.at/~tw01a072/prosam/index.htm

Is there a way that the button stays yellow (just an example) as long as the page is open, and goes back to light blue after another page was activated

the roll-over effect was created by Dreamweave and I have little clue how to modify it.

<a href="menu2.htm" target="mmain" onMouseOver="MM_swapImage('kontakt2','','kontakt.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="kontakt2.jpg" name="kontakt2" border="0" id="kontakt2"></a>

Thx for any tips

Khalid Ali
09-09-2003, 11:55 AM
There can be an aproach you can utilise.

read the location of the current page and the determine the button for that page and then use css to set the color:anycolor;
for that page