Image map popup on rollover, with popup text drawn from database
Posted
by lbholland
on Stack Overflow
See other posts from Stack Overflow
or by lbholland
Published on 2010-05-13T00:16:01Z
Indexed on
2010/05/13
0:24 UTC
Read the original article
Hit count: 1007
I have a custom map of the USA with about 20 polygonal hot spots. I would like a box to pop up next to each hot spot on hover, with text and links drawn from my DB specific to the location. I would have thought this is a common situation, but I can't find a solution that works. I tried using an asp:imagemap and an ajax popup extender but you can't assign IDs to hotspots and it doesn't support mouseover events. I tried css with an html image map but I can't figure out how to use css solutions with polygonal hot spots, and I also don't know how to link it to get the data from the db without asp targets (I'm not very familiar with jquery, which would work, I am guessing). Anyone know of any simple-ish solutions out there?
© Stack Overflow or respective owner