jQuery Tools Tooltip Positioning Fix

22 Jun

I started using jQuery Tool’s Tooltip today and ran into a position problem. When using bottom center the tooltip would position offscreen when the target was too close to the edge of the browser.

The following ticket notes include a proposed patch

To quickly update the minified version with the proposed fix replace



g=="left"&&(f-=i); if(f<0){f=0}if(f+c.width()>$(window).width()){f=$(window).width()-c.width()} return{top:e,left:f}}


Leave a Reply


To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Anti-spam image