Jump to content

HTML AREA tag


tofska
Followers 0

Recommended Posts

Hi,

 

I have some cache pages that have been around for a while, that no longer show tooltip text over areas of an image. I had achieved this with the following HTML code:

 

<map name="clues" id="clues">
  <area nohref title="We hail from ancient Central America" coords="100,167,10" shape="circle" />
  <area nohref title="We count with our toes, as well as our fingers" coords="152,74,10" shape="circle" />
  <area nohref title="We are numerical head glyphs" coords="246,168,10" shape="circle" />
  <area nohref title="Over here, we are less than one" coords="368,63,10" shape="circle" />
  <area nohref title="Minutes are 'Real' numbers" coords="418,171,10" shape="circle" />
</map> 
<p align="center">
  <img src="http://img.geocaching.com/cache/03c60569-1b62-4de2-93dc-aec3793ed1de.jpg" usemap="#clues" />
</p>

 

But the cache page ends up getting rendered as

 

<map name="clues" id="clues"> 
  <area coords="100,167,10" shape="circle" /> 
  <area coords="152,74,10" shape="circle" /> 
  <area coords="246,168,10" shape="circle" /> 
  <area coords="368,63,10" shape="circle" /> 
  <area coords="418,171,10" shape="circle" /></map> 
<p align="center"> 
  <img src="http://img.geocaching.com/cache/03c60569-1b62-4de2-93dc-aec3793ed1de.jpg" usemap="#clues" />
</p>

 

and the titles are lost. I'm not sure when this started happening, but is there a work-around?

 

Cheers, M@

Link to comment

I've just noticed that the HTML in the 'Editing Cache' page gets changed once it has been submitted. In this case, it gets changed to

 

<map name="clues" id="clues">
  <area nohref="nohref" title="We hail from ancient Central America" coords="100,167,10" shape="circle" />
  <area nohref="nohref" title="We count with our toes, as well as our fingers" coords="152,74,10"  shape="circle" />
  <area title="We are numerical head glyphs" coords="246,168,10" shape="circle" />
  <area nohref="nohref" title="Over here, we are less than one" coords="368,63,10" shape="circle" />
  <area title="Minutes are 'Real' numbers" coords="418,171,10" shape="circle" />
</map>

 

Which doesn't look right to me. View Source on the actual cache page and the titles are gone all together - as in the first posting.

 

Cheers, M@

Link to comment
Guest
This topic is now closed to further replies.
Followers 0
×
×
  • Create New...