Javascript Tooltip / Posts /

Tooltip position

How  I can move the position of tooltip on the top of element?
Right now, when I'll scroll the page the tooltip over on element


Galia  11 years ago   viewed: 16935    

2 Answers

It is caused by the default behavior that if there is no enough space to show the tooltip, the tooltip will adjust its position to make it always viewable. Sometimes it will over an element that you want to access, just like your case.

We are going to release a new version of the Tooltip that is equipped with a new option, smartPosition, that you can set to false to disable the "smart" re-positioning.
  11 years ago

The following options can be used to adjust the tooltip popup position:

var tooltipOptions= { ... ... relativeTo: "element", position: 1, smartPosition: true, offsetX: 0, offsetY: 0, .... .... }

If you only want a certain tooltip to have that specific position, you should read the "Override Global Options" section under the "How to use" tab on page

milo   11 years ago


Your name*
(Optional. Used to modify this post afterwords)
+ =  

Ask your Own Question

  • If your question is related to the topic of this post, you can post your question to this page by clicking the "Post a reply" button at left;

  • When you want to start a new page for your question: