briancray / tooltipsy

Introducing a jQuery tooltip plugin for control-obsessed designers.
http://tooltipsy.com
MIT License
325 stars 97 forks source link

Tooltips within slideshows #22

Open billkeller opened 12 years ago

billkeller commented 12 years ago

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

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

briancray commented 12 years ago

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

billkeller commented 12 years ago

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 commented 12 years ago

@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/

briancray commented 11 years ago

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