Javascript Tooltip / Posts /

Tooltip position

51
Hi,
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

Thanks

Galia
Galia  11 years ago   viewed: 17108    

2 Answers

3
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.
milo
  11 years ago
-2

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 http://www.menucool.com/tooltip/javascript-tooltip

milo   11 years ago

   

Your name*
Password
(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: