I am trying to embed CSS Sprited css classes into an image map. Initially, I created an HTML image map that loaded 8 pictures:
A square image with 7 buttons = All grey when not hovered over. 7 square images each with one button with color for the hover over.
This was causing loading issues with the images since the images wouldn't load until someone hovered over, causing a brief delay in the hover over image appearing for the user.
I was checking out CSS Sprites and saw that this would be the most efficient way to accomplish a quick load time of all the buttons required.
So...i've got my CSS Sprite created however the image map seems to only allow me to call image files, not classes created for the sprite. How would I go about merging these two technologies to allow me to hover over each button and activate their respective color based on the CSS Sprite positioning.
Sorry if this sounds too wordy or too confusing. I've been trying to wrap my head around this for quite some time.
Should I just ditch the idea of 1 image in an image map with positioning and go with loading 7 images CSS Sprited?