PDA

Click to See Complete Forum and Search --> : OnMouseOut


turfbult
Jun 7th, 2001, 04:16 PM
Hello,

This is just a piece of my code where I have a problem. OnMouseOver and OnMouseOut works 100% in IE, but not NS.

Any reasons for this??


onMouseOver="popUp('elMenu2'); m_over(4)" onMouseOut="popDown('elMenu2'); m_out(4


Thanks,
T

Sastraxi
Jun 7th, 2001, 06:16 PM
specify "javascript:****" in the onmouseout and onmouseover.

turfbult
Jun 7th, 2001, 06:40 PM
Thanks Sastraxi,

I dont know jscript very well. Could you please post an example of what it should look like. What comes in the "****".

Thanks,
T

monte96
Jun 7th, 2001, 11:15 PM
onMouseOver="Javascript: popUp('elMenu2'); m_over(4)" onMouseOut="Javascript: popDown('elMenu2'); m_out(4

sail3005
Jun 8th, 2001, 12:42 AM
also, i think that for mouseover you might need return true.


onMouseOver="java script: popUp('elMenu2'); m_over(4); return true;" onMouseOut="java script: popDown('elMenu2'); m_out(4

chrismitchell
Jun 8th, 2001, 03:38 AM
You are correct Sail you need to return true for JavaScript mouse overs.

turfbult
Jun 8th, 2001, 04:12 AM
Hello,

This is what I have and it still does not work for NS!! Could it be that it perhaps has nothing to do with the "OnMouseOut" etc, but with the other script.


<td valign="top" align="left"><a class="blackmainlinksnav"
onMouseOver="javascript: popUp('elMenu1'); m_over(3); return true;"
onMouseOut="javascript: popDown('elMenu1'); m_out(3);"><img border="0"
src="images/fully_normal.gif" name="i3" width="178" height="19"></a></td>
</tr>


Any suggestions??

T

JoshT
Jun 8th, 2001, 06:12 AM
Hey, turfbult, you know that the space in "java script" is a glitch with the forums. It should be one word.

sail3005
Jun 8th, 2001, 12:45 PM
depending on what you are doing, it could be something with the rest of your code...

Wynd
Jun 8th, 2001, 02:12 PM
I don't think you need javascript: in event handlers.

sail3005
Jun 11th, 2001, 01:09 PM
Your right, you would only need it for something such as <a href="javascript:whatever()">something</a>