Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] onMouseOver event handler on <DIV> in NS4
- From: javascript@xxxxxxxxxx (Peter-Paul Koch)
- Subject: [Javascript] onMouseOver event handler on <DIV> in NS4
- Date: Tue, 22 Oct 2002 15:09:38 +0000
>Does anyone know if NS4 support onMouseOver event handler for <DIV>, eg:
>Eg, something like this does not work in NS4, while it works in NS6/7 a,d
>IE.
>
><DIV ID='test' onMouseOver="alert('test');">
>
>If NS4 does not support it, is there any known tricks / workaround?
You must make it a layer by giving it position: absolute (or maybe relative
works, too). I don't think the HTML syntax is going to work here, though, I
think you should do
document.layers['test'].document.onmouseover = function () {alert('test')}
See www.xs4all.nl/~ppk/js/index.html?events_tradmod.html for this way of
event registration.
All in all making this work in NN4 is a pretty difficult job, though it
shouldn't be impossible.
ppk
_________________________________________________________________
Get a speedy connection with MSN Broadband. Join now!
http://resourcecenter.msn.com/access/plans/freeactivation.asp
- Prev by Date: [Javascript] getting form fields by name
- Next by Date: [Javascript] hi
- Previous by thread: [Javascript] onMouseOver event handler on <DIV> in NS4
- Next by thread: [Javascript] How to go to the end of my page ?
- Index(es):