Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

onmouseout in a div

Status
Not open for further replies.

specv

Programmer
Aug 8, 2001
42
CA
What i want to do is catch event onmouseout on a div. Works great with internet explorer, but not with netscape 4.7.

<DIV ID=&quot;el1&quot; onmouseout=&quot;inviAll();&quot;>
ELEMENT1<br>
ELEMENT1<br>
ELEMENT1<br>
</DIV>

Someone know how i can do this?

Phil
 
I don't think NS4.7 implemented either onMouseOut or divs. I think you are out of luck. Tracy Dryden
tracy@bydisn.com

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard.
 
NS 4.7 allows you to use the
Code:
onMouseOut
event on <A>'s and <LAYER>'s. I'm not sure if it supports the event for any other tags, but I doubt it.

Here's a couple notes on NS:
1. Though DIV's are *somewhat* supported by NS 4.7, they lack a f***ing lot from what they should work like (not to mention that you have a different way of accessing them). They do not support
Code:
onMouseOut
.
2. <LAYER> only seems to support
Code:
onmouseover
and
Code:
onmouseout
.
3. <ILAYER> doesn't seem to support any events (what retard decided that?? Ahh, well, we're dealing with Netscape)
4. <A> supports
Code:
onclick, onmousedown, onmouseup, onmouseover,
and
Code:
onmouseout
. I'm not sure if it supports any other event handlers.
5. <IMG> doesn't seem to support any events.


Yes, I know, Netscape was really mean and stupid and retarded by not making more tags support events and by not making more tags accessable through scripts, but what is done is done. If you want to make your scripts to be compatible with the older browser, go ahead -- it's not my time you'll be wasting (unless you ask me how to script for NS ;-) ).
bluebrain.gif
blueuniment.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top