Discussion:
Rollovers on hotspots?
(too old to reply)
stargazer520
2005-01-24 21:33:29 UTC
Permalink
I have a hand-drawn map image which I have assigned hotspots to certain areas.
I would like those areas to have rollovers. When I have a hotspot selected and
try to assign a rollover, DW assigns the rollover image to the MAP image, not
the hotspot. So the rollover ends up being stretched and distorted across the
entire map. I suppose the effect I'm looking for is similar to a USA map on
which each state would have a rollover image attached to it so you could better
see which state you were selecting. My hotspots are scattered across the map,
not touching each other.
Alan
2005-01-24 21:37:10 UTC
Permalink
you can't change Just the hotspot area.
It changes the Image.

alternatives- have the rollover activate a show/hide layer. The new layer
contains the image.

Or- make all the different variations of the full size image with the
different hover images pasted into it, with an image editor.
then on hover, the entire image changes, and has the change you want
showing.

Or do you want a more visible border or color change when they mouse over,
not really an image change?
Post by stargazer520
I have a hand-drawn map image which I have assigned hotspots to certain areas.
I would like those areas to have rollovers. When I have a hotspot selected and
try to assign a rollover, DW assigns the rollover image to the MAP image, not
the hotspot. So the rollover ends up being stretched and distorted across the
entire map. I suppose the effect I'm looking for is similar to a USA map on
which each state would have a rollover image attached to it so you could better
see which state you were selecting. My hotspots are scattered across the map,
not touching each other.
stargazer520
2005-01-24 22:06:55 UTC
Permalink
Excellent suggestions. First, regarding your show/hide layer suggestion.
Would the new image be the entire map image with the selected area highlighted
(much like your second suggestion)? I've never worked with show/hide layer
functions. Second, I wouldn't care if an outline showed up, or another shade
of the hotspot area, as I originally posted.
Murray *TMM*
2005-01-25 14:50:06 UTC
Permalink
Post by stargazer520
Would the new image be the entire map image with the selected area highlighted
It could be, or it could be just a tiny part of the image. It would depend
on how skillful you are and how large your map/hotspot usage is (I wouldn't
want to have a new image for each of 600 hotspots on a 1280x1024 image).
--
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
==================
Post by stargazer520
Excellent suggestions. First, regarding your show/hide layer suggestion.
Would the new image be the entire map image with the selected area highlighted
(much like your second suggestion)? I've never worked with show/hide layer
functions. Second, I wouldn't care if an outline showed up, or another shade
of the hotspot area, as I originally posted.
stargazer520
2005-01-27 18:09:16 UTC
Permalink
Could this also be done with slices in Photoshop, then the slices assembled to make a map in DW? Could certain slices in that map have hotspots with rollovers assigned?
Murray *TMM*
2005-01-27 18:19:04 UTC
Permalink
You would not need the hotspots then. You would just apply the rollover
behavior to a link wrapping the image tag.
--
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
==================
Post by stargazer520
Could this also be done with slices in Photoshop, then the slices
assembled to make a map in DW? Could certain slices in that map have
hotspots with rollovers assigned?
stargazer520
2005-01-27 19:14:17 UTC
Permalink
Thanks! But I can't do this with odd-shaped "hotspots", right? I think everything has to be done in rectangles. Please correct me if I'm wrong. Also, is the best way to do this in a table?
noNeckJoe
2005-02-01 19:28:00 UTC
Permalink
Originally posted by: Newsgroup User Or- make all the different variations of
the full size image with the different hover images pasted into it, with an
image editor. then on hover, the entire image changes, and has the change you
want showing. Hi Alan, sorry for chiming in. Are you saying I can create an
Image Map that reacts on rollover? I would like to do exactly that. More
precisely I would like to assign 3 areas on an image that replace this image
on rollover with 3 different images. Can this be done?

Kim
2005-01-27 20:20:15 UTC
Permalink
I think it would be possible using css and the map tag...

Kim
Post by stargazer520
I have a hand-drawn map image which I have assigned hotspots to certain areas.
I would like those areas to have rollovers. When I have a hotspot selected and
try to assign a rollover, DW assigns the rollover image to the MAP image, not
the hotspot. So the rollover ends up being stretched and distorted across the
entire map. I suppose the effect I'm looking for is similar to a USA map on
which each state would have a rollover image attached to it so you could better
see which state you were selecting. My hotspots are scattered across the map,
not touching each other.
Murray *TMM*
2005-01-27 20:23:06 UTC
Permalink
How?
--
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
==================
Post by Kim
I think it would be possible using css and the map tag...
Kim
Post by stargazer520
I have a hand-drawn map image which I have assigned hotspots to certain
areas. I would like those areas to have rollovers. When I have a
hotspot selected and try to assign a rollover, DW assigns the rollover
image to the MAP image, not the hotspot. So the rollover ends up being
stretched and distorted across the entire map. I suppose the effect I'm
looking for is similar to a USA map on which each state would have a
rollover image attached to it so you could better see which state you
were selecting. My hotspots are scattered across the map, not touching
each other.
stargazer520
2005-01-31 21:32:23 UTC
Permalink
I appreciate everyone's input. Could someone tell me how to make this work
with Kim's suggestion using CSS & the map tag? I'm sort of familiar with CSS,
but don't know how to use them in this application.

Thanks again, everyone!

jeff
Continue reading on narkive:
Loading...