I'm trying to do something with an image map and I can't seem to adapt the old code I have or find something that will do what I'd like.
Basically I have some unlabeled areas on my image, and when the mouse hovers over one, I'd like a little popup describing what it is. I've seen this on plenty of sites but, like usual, I can't find any at the moment.
My ideal situation would be that on mouseover, there would be a little hovering text box that followed with the point of the cursor. That's what I'd love to be able to accomplish.
For now, I've been working with
this code. It would be fine, but I'm having some annoying difficulties with it. My image map is on the left-hand side of a centered table. That makes the absolute positions of the DIV layers unusable, since they will appear in the same place no matter where the menu falls (for different screen resolutions. Then, when I try setting the position to relative, the DIVs don't stack on one-another. This is quite frustrating.
I'd appreciate any suggestions you'd have. I'm trying to kick off my second personal website (this one's a fan site), and would love to get it running soon.
Thanks for your help.