PDA

View Full Version : togglebox



alapimba
September 7th, 2007, 01:10 PM
Hello

Anyone can help me with this.

i have this code:

<a href="../marcas.htm" onMouseOver="toggleBox('Layer1',0),('Layer2',0)" onFocus="this.blur()"><img name="menu_final_r2_c4" src="../images/menu_final_r2_c4.gif" width="139" height="16" border="0" alt="wert"></a>

the onMouseOver isnt' working when i put 2 actions... in this case it's supposed to hide layer1 and then layer2.

If i keep only 1 action it works fine
What can i do?
Thanks

alapimba
September 8th, 2007, 09:26 PM
is anyone here? :eye:

Shard
September 10th, 2007, 01:09 AM
is anyone here? :eye:

call the function twice with a semi colon between them :-) e.g.
href="somefunction(1st time);some function(2ndtime)"