This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > January 2005 > text labels over hotspots?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author text labels over hotspots?
webwmn

2005-01-15, 12:16 pm

I'm not even sure what this is called, but here's what I want to do:
I have a group photo, and when the cursor is over different faces I want the
name to show up - I assume creating hotspots in an imagemap...

Is there an extension (I hope)?



Joe Makowiec

2005-01-15, 12:16 pm

On Thu 13 Jan 2005 01:18:07p, webwmn wrote in macromedia.dreamweaver:

> I'm not even sure what this is called, but here's what I want to do:
> I have a group photo, and when the cursor is over different faces I
> want the name to show up - I assume creating hotspots in an imagemap...


Once you've added hotspots, you'll have an imagemap:

<map name="reunion" id="reunion">
<area shape="circle" coords="157,92,9" href="java script:;" alt="" />
<area shape="circle" coords="191,90,9" href="java script:;" alt="" />
<area shape="circle" coords="246,90,9" href="java script:;" alt="" />
....

Add a title attribute to each area tag, and you're set:

<map name="reunion" id="reunion">
<area shape="circle" coords="157,92,9" href="java script:;" alt="George" title="George" />
<area shape="circle" coords="191,90,9" href="java script:;" alt="Mary" title="Mary" />
<area shape="circle" coords="246,90,9" href="java script:;" alt="webwmn" title="webwmn" />
....

The alt attribute was never intended to be a tooltip, and most browsers
(IE being the major exception) won't display them as such.
Murray *TMM*

2005-01-15, 12:16 pm

Use the title attribute -

<area title="this text will appear when you mouseover the hotspot....

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"webwmn" <webforumsuser@macromedia.com> wrote in message
news:cs6e0v$796$1@forums.macromedia.com...
> I'm not even sure what this is called, but here's what I want to do:
> I have a group photo, and when the cursor is over different faces I want
> the
> name to show up - I assume creating hotspots in an imagemap...
>
> Is there an extension (I hope)?
>
>
>



Murray *TMM*

2005-01-19, 4:17 am

Use the title attribute -

<area title="this text will appear when you mouseover the hotspot....

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"webwmn" <webforumsuser@macromedia.com> wrote in message
news:cs6e0v$796$1@forums.macromedia.com...
> I'm not even sure what this is called, but here's what I want to do:
> I have a group photo, and when the cursor is over different faces I want
> the
> name to show up - I assume creating hotspots in an imagemap...
>
> Is there an extension (I hope)?
>
>
>



Joe Makowiec

2005-01-19, 4:17 am

On Thu 13 Jan 2005 01:18:07p, webwmn wrote in macromedia.dreamweaver:

> I'm not even sure what this is called, but here's what I want to do:
> I have a group photo, and when the cursor is over different faces I
> want the name to show up - I assume creating hotspots in an imagemap...


Once you've added hotspots, you'll have an imagemap:

<map name="reunion" id="reunion">
<area shape="circle" coords="157,92,9" href="java script:;" alt="" />
<area shape="circle" coords="191,90,9" href="java script:;" alt="" />
<area shape="circle" coords="246,90,9" href="java script:;" alt="" />
....

Add a title attribute to each area tag, and you're set:

<map name="reunion" id="reunion">
<area shape="circle" coords="157,92,9" href="java script:;" alt="George" title="George" />
<area shape="circle" coords="191,90,9" href="java script:;" alt="Mary" title="Mary" />
<area shape="circle" coords="246,90,9" href="java script:;" alt="webwmn" title="webwmn" />
....

The alt attribute was never intended to be a tooltip, and most browsers
(IE being the major exception) won't display them as such.
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews