philipseo
asked on
Is there a way to correct this CSS image map?
I am creating a CSS-based image map of the United States using image sprites and I can't seem to target one area due to it's odd position. If you mouse-over "Nevada", you'll notice you can't highlight it unless you hover over around Arizona. I've left the boarders visible to help you see how I have it set up. If you have any other methods other than what I'm using, I am open to ideas, but no Flash please.
You can view it here: http://hgfdirect.com/lp/test-map/
Any help is appreciated.
You can view it here: http://hgfdirect.com/lp/test-map/
Any help is appreciated.
Can you break up the image map into smaller rectangles and just have multiple rectangles trigger the same hover effect for a particular area.
states.jpg
states.jpg
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks! I actually used a hybrid of just manually making polygon hotspots (was trying to avoid that) and a jquery function that highlights everything specified in an image-map (http://davidlynch.org/js/maphilight/docs/). Appreciate the help!
http://locators.bankofamerica.com/locator/locator/LocatorAction.do - once it loads you can view the source - they have the abiltiy to define the map and hover per state
you can use this technique to define any shape you want for the map arear
I copied the beginning of the relevant code here so you can find it - the map area included is for alaska,
Open in new window