jquerytools/jquerytools — pull request #543 by Amitesh (2011-10-25 13:33:16+00:00)
Title: Fix for tooltip positioning on inline elements which are spread over multiple lines

Hi,

I have made changes for the following issue:

The scenario is if a tooltip is attached with an inline element which is spread over multiple lines (mostly two) then the position of the tooltip breaks and it appears in the wrong position. In order to fix the issue I have calculated the content position on the basis of an inline element trick, basically the trick is we insert another inline element at the beginning of the target element and calculate the position of the newly inserted element, this makes sure that the tooltip appears at least from the beginning of the content. This is configurable if we set a config option `calculateInlineOffset`, then only it will use the above mentioned technique.
Attached screen shots to describe the issue.
Wrong positioning of tooltip
![wrong positioning image](http://dl.dropbox.com/u/1615106/tooltip-wrong-positioning.png "wrong positioning")

After Correction
![correct image](http://dl.dropbox.com/u/1615106/tooltip-issue-resolved.png "issued")

Thanks