jquerytools/www — Issue #30: Add "center center" to Tooltip demo
Author: alibby251
Created: 2012-02-14 21:39:07+00:00
State: open

Copied in from issue #279 on the source code area of Github:

"I wanted to make a tooltip on top of an image rather then on the side, so I tried doing position: 'center center' even though that option wasn't in the documentation. It worked, strangely. I wanted to move the tooltip down by about 20px, so I did offset: [0, 20], then I realized that the coordinates are mixed (x i y and vice versa).

I don't know if 'center center' is implemented, but it seems like too much of a coincidence that it works (almost) exactly like it should, so maybe it should be added in the documentation."

It appears that "center center" works fine on Tooltip, even though this is not showing in the docs - demo used to test this was http://flowplayer.org/tools/tooltip/index.html.