0

So I've been trying to get something like this to work however I can't seem to get the tooltips to position responsive. Below is the website example:

From what I gather each time the page loads the tooltip divs inherit an inline style of position absolute with a set top and left. How would I go about recreating this effect?

  • What do you mean by "position responsive" ? – Louis Ameline Feb 19 '16 at 11:33
  • I can work out how to position them normally but is there a way to pin it to an exact point on the image so if I resized the screen I'm looking at and the image got smaller it was still pinned to the same area of the image? – jahlherapath Feb 20 '16 at 00:51

1 Answers1

0

What I would do is use image map areas, and use a javascript script that will reposition the areas on windows resize, as suggested on this page : Dynamically resizing Image-maps and images

And then create the tooltips on these "responsive" map areas.

Community
  • 1
  • 1
Louis Ameline
  • 2,779
  • 1
  • 25
  • 25