[thelist] Rollover combined with image maps?
.jeff
jeff at members.evolt.org
Thu Jul 26 15:50:18 2001
eric,
:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
: From: Svee, Eric
:
: Is there a way to create a rollover
: that changes based on the part of the
: image that you're on? I have a request
: to create a map of the US such that
: when you mouseover a state, it changes
: (ie. becomes highlighted, etc) but the
: rest of the map stays the same. Any ideas?
:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
all you have to do is swap the entire image used for the image map with a
new one corresponding to the section you've moused over. just specify the
onmouseover and onmouseout event handlers on the <area> tags for the image
map.
here's an example i put together for you:
http://members.evolt.org/jeff/code/imagemap_rollover/index.cfm
good luck,
.jeff
http://evolt.org/
jeff@members.evolt.org
http://members.evolt.org/jeff/