Image Maps

Posted by: Dignan

Image Maps - 09/07/2003 19:42

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.
Posted by: robricc

Re: Image Maps - 09/07/2003 19:51

Looks like the same effect as the button guide.
Posted by: ricin

Re: Image Maps - 09/07/2003 19:54

Might want to take a look at overLIB. It's the popup library used on Nero's site, among others. Seems like it'll handle what you're trying to do.
Posted by: ricin

Re: Image Maps - 09/07/2003 19:56

Speaking of overLIB, that's what the Button Guide uses.
Posted by: Dignan

Re: Image Maps - 09/07/2003 21:24

Gracias to both of you! You both solved my individual problems. Rob reminded me where I'd seen it before (that bugs the hell out of me when I can't remember), and Donato showed me where to find it. Thanks to both of you! I'll post again when the site is finished (not for a while now...)