Forum Moderators: open

Message Too Old, No Replies

Image Map - CSS - jQuery?

can all work together

         

tonynoriega

11:14 pm on Feb 3, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I kind of asked on this before, but its an ongoing project im working on...

i have a ciruclar image.

it has one outer ring, and a circle center.

the outer ring is sliced up into 9 sections.

the project is to make each of those sections produce pop up boxes that have content.

the box needs to be persistent until the user clicks off of the box, clicks the "X", or hovers over another area.

right now what i have is VERY clunky. i am using CSS boxes... and as you can imagine, i can not properly fit a box over a rounded graphic and have the hover areas even close...

So, i thought an old school image map might work using, polygons.

and on hover, using CSS and some jquery (fade effect maybe) a nice looking box would appear...

once they mouse outside of the box it would dissapear.

what i am having trouble finding is some insight on how to use the image map polygon coords and associate those with jquery to create the popup box...

anyone got some insight or direction into this?

alt131

11:15 pm on Feb 4, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi tonynoriega,

Not an answer to your question, but stu nicholls has a demonstration of css-only circular links, a circular menu, and a circular menu with sub-items. His javascript site has a "Solar image map" that has circular "hot-spots" around each "planet" in the solar system, with pop-up boxes (that can contain links, etc) on hover.

These are older demonstraions and some achieve this without images or javascript and still provide for older ie versions. That makes for very heavy code, so I don't think I'd recommened this for real-world use, but they might give you some ideas about creating and positioning "round" links.