image map and status bar?

G

George Hester

When the mouse is over an image map where the various parts of the image are links to other areas, the status bar says, "Shortcut to ..." I would prefer to have the status bar say something different. The onmouseover and onmouse out events do not work for this purpose. Whether they are in the <IMG> whether they are in the <MAP> and whether they are in the <AREA> tags. They do not allow the status bar to change. Please try it out. Thanks.
Microsoft Internet Explorer 5.5 SP2 Windows 2000 SP3.
 
L

London Boy

George Hester wrote something like Sat 10 Jan 2004 12:07:42p ...
When the mouse is over an image map where the various parts of the image
are links to other areas, the status bar says, "Shortcut to ..." I
would prefer to have the status bar say something different. The
onmouseover and onmouse out events do not work for this purpose.
Whether they are in the <IMG> whether they are in the <MAP> and whether
they are in the <AREA> tags. They do not allow the status bar to
change. Please try it out. Thanks. Microsoft Internet Explorer 5.5 SP2
Windows 2000 SP3.

I had a similar problem lately, you might just need to add "return true;"
after your function call, like this:

onMouseOver="self.status='statusbar message here';return true;"
onMouseOut="self.status='';"

worked for me. :)
 
G

George Hester

Nope didn't work. I put these in the <AREA tags. Of course I know about the "return true" I wish it were that simple. I use these onmouseover and omouseout throughout the site so there must be more here then meets the eye. The status bar refuses to follow the directions of the script for the onmouseover and onmouseout events. Other script in those events work just fine. It's just that the status bar directives are not working. Thanks though.
 
G

George Hester

Aha I see what the trouble is. If the href attribute is in the <AREA> we are NOT going to be able to control the status bar. It's as simple as that. I removed the href attribuute from the <AREA> because I really don't need to "go anywhere" when the image map is clicked. Either the browser will ask to close (I'd really like it to close without the nag) or the other one I have a better idea for. Thanks anyway probably a bug in Windows 2000 SP3 and Microsoft Internet Explorer 5.5 SP2 December Cumulative update.

This person had another way:

http://hotwired.lycos.com/webmonkey/96/40/index3a.html?tw=programming

but it didn't work either. In the page I have. Who knows if it does out of the box.
 
L

London Boy

George Hester wrote something like Sat 10 Jan 2004 11:03:47p ...
Nope didn't work. I put these in the <AREA tags. Of course I know
about the "return true" I wish it were that simple. I use these
onmouseover and omouseout throughout the site so there must be more here
then meets the eye. The status bar refuses to follow the directions of
the script for the onmouseover and onmouseout events. Other script in
those events work just fine. It's just that the status bar directives
are not working. Thanks though.

I tried :)
 
G

George Hester

Woah buddy. I read that we could use the onclick event. So I put this in one of the <AREA> of the image map:

onclick="JavaScript:window.open('help.htm');"

whew doggy. That just sent Windows 2000 into a caniption fit. I have to reboot. cu.
 
J

Janwillem Borleffs

George said:
Woah buddy. I read that we could use the onclick event. So I put
this in one of the <AREA> of the image map:

Dude, look at my reply in the weep thread.


JW
 
G

George Hester

Oh now I used the onclick event. That fixed it. Why Windows 2000 coughed like that when I accessed the link don't know I can't replicate it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,773
Messages
2,569,594
Members
45,121
Latest member
LowellMcGu
Top