Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

alt tags

Status
Not open for further replies.

bch33

Technical User
Oct 13, 2001
151
US
If I do an alt tag for a hotspot on an image, it does not show up as the page is loading, but if I do an alt tag with the image itself selected, it will show up.

Here's the question- if I do NOT do an alt tag on the hotspot is the text from the alt tag for the selected image alone "clickable" (will it work as a link?) or do I have to have the alt tags for the hotspot typed in also?

Hope that makes sense.
Thanks

bch

 
First the alt tag is for roll-overs only.(when over a pic. it tells you about it).

So the hotspot itself will act as a <a href>.

ie.
<img src=&quot;images/montage1.jpg&quot; width=&quot;480&quot; height=&quot;640&quot; usemap=&quot;#Map&quot; border=&quot;0&quot; alt=&quot;Made by Sharky99&quot;><map name=&quot;Map&quot;><area shape=&quot;poly&quot; coords=&quot;261,165,260,164,289,217,344,230,430,226,480,225,481,73,24,2,4,75,26,163,140,136,158,137,185,149,216,148,240,153&quot; href=&quot;page1.htm&quot; alt=&quot;Link to page #1&quot; title=&quot;hotspot_page#1&quot;><area shape=&quot;poly&quot; coords=&quot;234,258,291,242,380,311,398,375,353,418,373,439,389,465,428,498,426,530,423,578,392,588,369,602,323,610,268,611,165,609,97,589,86,558,90,505,122,475,106,380,150,312&quot; href=&quot;page2.htm&quot; alt=&quot;Link to page #2&quot; title=&quot;hotspot_page#2&quot;></map>

If you look at this code, one large pic with two hotspots each of those pointing to a dif page.

So your code should look a bit like this one.(not the coords but the rest should)

Hope it'll help ;-) Have Fun...

Sharky99 >:):O>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top