Forum Moderators: open

Message Too Old, No Replies

Image map status bar text

         

Adam_C

1:52 pm on Nov 6, 2002 (gmt 0)

10+ Year Member



Does anyone know if its possible to control what appears in the status bar when hovering over a linked part of an image map?

I've tried the following, but it didn't work:

<map name="Map">
<area shape="rect" coords="119,83,195,97" href="about_us.html" onMouseOver="window.status='About Us'; return true" onMouseOut="window.status='';return true">
<area shape="rect" coords="220,81,297,97" href="contact-us.html" onMouseOver="window.status='Contact Us'; return true" onMouseOut="window.status='';return true">
</map>

tedster

3:35 pm on Nov 6, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



What appears in the status bar is specific to the browser - there is no standard.

Opera is nice enough to make it very easy. The title attribute displays, when it's present for a link in either a standard anchor or an image map.

However, Explorer is probably what you're most interested in - and I can't figure out anything that works there for an image map either.

txbakers

4:20 pm on Nov 6, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Your code looks good, but if it doesn't work, it probably won't. I've never seen the window.status function used on <A href> tags, only on images.

Adam_C

4:51 pm on Nov 6, 2002 (gmt 0)

10+ Year Member



I tested it on IE6 - with no joy!

BlobFisk

5:18 pm on Nov 6, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Window.status will work on links (using the onMouseOver/onMouseOut combo), but as far as I know the <area> tag does not support onMouseOver/onMouseOut...