Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

onmouseover and netscape

4 views
Skip to first unread message

Mr Taxi

unread,
Jan 23, 2001, 8:59:03 AM1/23/01
to
<a href="doc3.html" target ="main-window"
onmouseover="this.style.color='red'"
onmouseout="this.style.color='blue'"><b> Home</b></a>

this works in ie but not netscape is there something missing for it to work
in netscape?

--

Who is General Failure? and why is he reading my hard drive?

www.e-goode.freeserve.co.uk
www.neelamceramics.com
icq 18481127


Martin Honnen

unread,
Jan 23, 2001, 9:57:08 AM1/23/01
to
I am sure it works in NN6, earlier versions of NN don't support the
style property

--

Martin Honnen
http://javascript.faqts.com/
http://home.t-online.de/home/martin.honnen/jsgoddies.html

Mr Taxi

unread,
Jan 23, 2001, 1:10:08 PM1/23/01
to
thought that may be the case is there anyway I can mask it from the older
browsers?
I dont much fancy making seperate pages for each browser :0(

--

Who is General Failure? and why is he reading my hard drive?

www.e-goode.freeserve.co.uk
www.neelamceramics.com
icq 18481127
"Martin Honnen" <Martin...@t-online.de> wrote in message
news:3A6D9BC4...@t-online.de...

Grant Wagner

unread,
Jan 23, 2001, 3:12:14 PM1/23/01
to
Either onmouseover="if (this.style) this.style.color='red';" or

onmouseover="if (typeof(this.style) != 'undefined') this.style.color='red';"

should work

If the scripts get more complicated, then you may want to do some better
browser detection, rather than testing for the existance of every object
before you use it.

Mr Taxi wrote:

--
| Grant Wagner
| E-mail: gwa...@ugg.com

* Client-side Javascript and Netscape DOM Reference available at:
* http://developer.netscape.com/docs/manuals/javascript.html
* Internet Explorer DOM Reference available at:
* http://msdn.microsoft.com/workshop/author/dhtml/reference/dhtmlrefs.asp


Mr Taxi

unread,
Jan 23, 2001, 5:28:16 PM1/23/01
to
thanks very much will give it a try

--

Who is General Failure? and why is he reading my hard drive?

www.e-goode.freeserve.co.uk
www.neelamceramics.com
icq 18481127
"Grant Wagner" <gwa...@ugg.com> wrote in message
news:3A6DE537...@ugg.com...

0 new messages