Solved

Using alt tags for different areas in Client Side Image Maps.

Posted on 1998-06-28
1
128 Views
Last Modified: 2010-04-09
When I use ALT tags for different areas in  Client Side Image Maps,I observed some peculiar behaviour of the Browsers(I am using Internet Explorer 4.0 and NetScape 4.0).
My HTML Code looks like this

<HTML>
<HEAD>
<TITLE>NAC-HWS Display City Map</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#cc0000" VLINK="#cc0000" ALINK="#cc0000">
<BASEFONT FACE="helvetica, arial" size="2">
<TABLE border="0" CELLSPACING="1" CELLPADDING="1" WIDTH="610">
  <TR>
<TD COLSPAN="6" BGCOLOR="#CC0000" HEIGHT="30"><FONT FACE="helvetica, arial" SIZE="4" COLOR="#ffffff">&nbsp;<B>Display City Map</B></FONT></TD>
</TR>
</TABLE>
<IMG border="0" src="/images/maps/city/BKK.jpg" usemap="#map1">
</IMG>  

<map name="map1">
<area shape="rect" alt="Royal River Hotel" coords="163,17,192,36"            href="srini1.html"onMouseOver="status='Royal River Hotel';return true;">
<area shape="rect" alt="Grand China Princess" coords="273,71,296,90" href="srini2.html"            onMouseOver="status='Grand China Princess';return true;">
<area shape="rect" alt="Siam City Hotel" coords="353,175,376,197" href="srini3.html"            onMouseOver="status='Siam City Hotel';return true;">

etc,etc,etc
<area shape="default" nohref>
</map>
</BASEFONT>
</BODY>
</HTML>

When I saw this HTML file in NetScape I noticed the following points.
a) When the vertical Scroll Bar of the Browser is at the top(i.e beginning) I saw all the Micro HelpText(i.e the text written in the ALT tags of the areas) whenever I put the mouse on the particular area.When I scrolled down the Browser a bit (even few millimeters) I am not able to see the ALT text when I move the mouse on the particular areas.I went to a few sites like Hotmail.com and found the same behaviour too.
  My question is "IS THIS A PECULIAR BEHAVOIUR OF NETSCAPE OR GOT SOMETHING TO DO WITH MY HTML"?
b) When I opened this HTML in Internet Explorer I noticed that the ALT text for the areas was not showing up at all when I move the Mouse on the paricular areas? Does IE support the ALT text for areas or not?

If please somebody could explain me why I am getting the above behaviours,I would appreciate.

Regards,
Srinivas.
0
Comment
Question by:voletisri
1 Comment
 

Accepted Solution

by:
MTBnin earned 50 total points
ID: 1844434
As for Netscape you HTML is fine, and it is just one of the many querks of Netscape.  When using IE you have to be sure to stop your mouse over an area that is using ALT tags and let it sit for a second or two before the text will appear.  Hope this helps.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question