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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Facebook style photo tagging 1

Status
Not open for further replies.

MoLaker

Programmer
Apr 30, 2004
521
US
I'm not sure where to go with this, but I'll try this forum.

I want to be able to scan a group photo with the mouse and have names pop up like the tags in Facebook. I do not want or need an embedded link, just a text label that will appear then disappear as the mouse moves from face to face.

Can someone point me in the right direction, please?

"Retired Programmer". So, please be patient.
 
see below.
the title attribute value will popup when you hover over the area

Code:
<img src="planets.gif" width="145" height="126" alt="Planets" usemap="#planetmap" />

<map name="planetmap">
  <area shape="rect" coords="0,0,82,126" alt="Sun" href="sun.htm" title="sun" />
  <area shape="circle" coords="90,58,3" alt="Mercury" href="mercur.htm" title="mercury" />
  <area shape="circle" coords="124,58,8" alt="Venus" href="venus.htm" title="venus" />
</map>
 
Well, that was easy. Thanks.

Is there a way to change the background color and font color of the popup?

"Retired Programmer". So, please be patient.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top