Change tooltip direction when it's out of view

时间:2015-05-24 20:38:17

标签: jquery html twitter-bootstrap tooltip

I'm trying to change my website's tooltip direction when it's out of the page's viewport, but all I was able to do is to wrap the lines so it doesn't get out of the viewport.

JSFiddle: http://jsfiddle.net/x3cjpL14/3/

ADD: I'm using Bootstrap 3 by the way..

1 个答案:

答案 0 :(得分:0)

抱歉,我只是使用css文件中的white-space禁用了工具提示上的换行,然后检查jQuery $("#element").visible()是否看不到工具提示并用css更改了位置来自JS文件:)

相关问题