[Javascript] FW: whats wrong

Tim Makins spindrift at oceanfree.net
Sat Jul 24 12:19:59 CDT 2004


----- Original Message ----- 
From: "Iztok Polanic" <iztok.polanic at amis.net>
To: <javascript at LaTech.edu>
Sent: Saturday, July 24, 2004 5:34 PM
Subject: [Javascript] FW: whats wrong


>
> Hi!
>
> Can someone please tell me what's wrong with this <img> tag:
>
> <img border="0" src="images/podjetje.jpg" id="podjetje"
> onMouseOver="document.getElementById('podjetje').style.visibility =
> 'hidden';"
> onMouseOut="document.getElementById('podjetje').style.visibility =
> 'visible';">
>
> If I move my mouse over the image,the image disappears. But If I move my
> mouse on the image, the image is displaying and disappearing. I'm going
> nuts.


That is bound to happen. Once the image is hidden, you can't move the mouse
> 1 pixel before it comes on again, then once its on, 1 more pixel and its
off. I suggest you stick to standard mouseover techniques.

Tim in Ireland.















More information about the Javascript mailing list