|
-
Feb 19th, 2001, 12:34 AM
#1
I have a page on a customer site with following tag
Code:
<body onmouseout="self.close()">
IE is OK with it, but Netscape 4.08 and 4.73 (so I would guess all Netscapes) don't seem to recognise the event. Has anyone alse encountered this? My customer likes how it works in IE, frankly I'm surprised it doesn't work in Netscape, if anything I would have thought it would have been the other way round.
-
Feb 19th, 2001, 01:25 AM
#2
PowerPoster
netscape 4.x doesn't support the onmouse functions on every object. What you might try to do is make a layer, and hide it in the background, and then say when the mouse moves off it to do the function you want.
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
-
Feb 19th, 2001, 01:57 AM
#3
Thanks Russell, I didn't realise only some objects support it, just presumed thay all did. Do images? I'll give it a try at work tomorrow.
-
Feb 19th, 2001, 12:27 PM
#4
PowerPoster
no, i don't think they do. But you could make the image a link, and then use the mouse function within the < a href tag.
As far as i know, (or can think of) the only objects that ns 4x supports those functions you want are as follows:
Code:
<layer>
<ilayer>
<span>
<div>
<a href>
there might be more, but thats all i can think of
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
-
Feb 19th, 2001, 01:03 PM
#5
Fanatic Member
You might be able to do this in Netscape by placing this code in a script instead of the body tag:
<script>
if( navigator.appName == "Netscape" ){
document.onmouseout = self.close;
}
</script>
I don't have Netscape installed so I can't test it out sorry.
-
Feb 19th, 2001, 05:11 PM
#6
Thanks guys for the suggestions.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|