Link to home
Start Free TrialLog in
Avatar of sanagarwl
sanagarwl

asked on

create image map on the fly

is there a way to create an image map on the fly - I generate the coordinates on the server side and then need to create the image map on the fly such that when hotspots are clicked on a dynamically created gif then a popup appears.
Avatar of yeelokhk
yeelokhk
Flag of Hong Kong image

There is a lot of plugin to generate a pop-up or a dialog when you're using jQuery.

For example: ColorBox
http://jacklmoore.com/colorbox/
Avatar of sanagarwl
sanagarwl

ASKER

true, but how do I create a image map on the fly and add it to the DOM - the image is being created on the fly and I have to get the coordinates and put them in the image map.
Avatar of Rikin Shah
Hi Sangarwl,

Refer to below articles, they will help you solve your concerns.

http://www.codingforums.com/archive/index.php/t-72867.html
http://www.insidedhtml.com/dhtml/ch9/chapter/part4.asp

Regards,
Rikin.
ASKER CERTIFIED SOLUTION
Avatar of Proculopsis
Proculopsis

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial