object505 / tipso

A Lightweight Responsive jQuery Tooltip Plugin
http://tipso.object505.com/
MIT License
319 stars 119 forks source link

Is it possible to make tipso relative to different element than body? #54

Open lubomirblazekcz opened 8 years ago

lubomirblazekcz commented 8 years ago

When tipso is inside of scroll area, it's still relative to body. And when you scroll in the scroll area, tipso will not stay with the element.

jsfiddle - https://jsfiddle.net/91ffdtws/3/

Would be possible to create an option to change the relative element from body to the overflow element and append tipso_bubble elements in there?

I'm doing an site which has scroll area in the left and map in right (similiar to airbnb -http://goo.gl/ClCK6c) and I run into this problem here.

Thanks!