Also will want to compare position of mouse to width of window and if
the difference is less than the width of the dialog then position
tooltip to right, else to the left
Here is the link for the width() property:
http://docs.jquery.com/CSS/width
On Jan 27, 9:45 am, Adam wrote:
> I'd like to op
The position of the mouse is sent as parameter with the click event.
see: http://docs.jquery.com/Tutorials:Mouse_Position
If you want to position the dialog absolute to the link (and not the
mouse pointer) you could use $(link).position to get the position of
your link.
see: http://docs.jquery.co
2 matches
Mail list logo