jquery-cluetip icon indicating copy to clipboard operation
jquery-cluetip copied to clipboard

positionBy: 'bottomTop' not working

Open soydemadrid opened this issue 12 years ago • 1 comments

Hi I have this site:

http://www.eborselfpublishing.co.uk/creative-services.html

and it's using three areas for popups. The right scroller is fine. But the image maps in the centre both should be using bottomTop positioning so that the user doesn't lose the popups if their browser is scrolled down...

I'm not sure how to make this work as currently it just shows the cluetips at the bottom of the images.

Thanks for any help.

soydemadrid avatar May 27 '12 13:05 soydemadrid

Hi there,

Unfortunately, the plugin disregards the positionBy option when the tooltip is invoked from an <area> element. Considering that the only reliable way to get the area's dimensions is by the coords property, and given that the area could be a complex polygon, it's just too much of a hassle to position the tooltip any way other than through the mouse's position. So that's what the plugin does. I just updated the readme to note that.

kswedberg avatar May 27 '12 21:05 kswedberg