tooltipsy icon indicating copy to clipboard operation
tooltipsy copied to clipboard

Tooltips within slideshows

Open billkeller opened this issue 13 years ago • 4 comments

Tooltips within content that is inside of a slideshow calculates the wrong left position.

Live example: http://ghettocooler.net/stuff/code/tooltipsy-slideshow/

billkeller avatar Jul 10 '12 15:07 billkeller

you say they work with offset: [-1, 1] ?

briancray avatar Jul 10 '12 16:07 briancray

well, kind of, but then any other tooltip outside of the slideshow needs a different offset.

I set this up as an editable JS Fiddle:

http://jsfiddle.net/billkeller/5WPWK/4/

billkeller avatar Jul 10 '12 18:07 billkeller

@briancray When the tooltipsy's internal offset algorithm is replaced with jquery's built in one, the proper offset is calculated inside of the particular slideshow plugin I'm using. All other tooltips work as expected as well.

I updated the JS Fiddle to reflect that (the patch is at the bottom of the scripts panel): http://jsfiddle.net/billkeller/5WPWK/

billkeller avatar Jul 12 '12 12:07 billkeller

Can you try it now? I'm using a different offset function

briancray avatar Feb 13 '13 19:02 briancray