How can i change the position of beautytips to top or bottom, by default it display only left or right side of the item.

Comments

FuXXz’s picture

is there no setting for the position?

RgnYLDZ’s picture

Searching for the same answer. The section "Text Input Tooltips" in beautytips admin has such a configuration, but it's not working for me.

AlexanderPop’s picture

from doc
positions: ['most'], // preference of positions for tip (will use first with available space)
// possible values 'top', 'bottom', 'left', 'right' as an array in order of
// preference. Last value will be used if others don't have enough space.
// or use 'most' to use the area with the most space

deanflory’s picture

Issue summary: View changes

I too am unable to get it to appear above or below links on a page. For form item descriptions it will appear above, but the Position settings under Custom-Tip doesn't abide by the order you prefer.

Also, the instructions don't tell you what numbers are chosen first either. Is 0 first choice? Is 1 first choice? Is 4 first choice?

I've tried all different ways and those settings don't seem to have any sway on the actual beautytips. If I had a "0" (zero) in "top", and a "1" in "bottom" with nothing (blank) in left and right, I'd get it primarily going to the right on most links, left if there was more space to the left ('most' setting working, but never abiding by the order we want).

I've gone through every file and changed every "right" or "left" (as right was the most often default for the admin ui) and I still couldn't get anything to work (in other words show a bt above first, or below second.

It's a shame you can't provide a class or rel on a link that determines the direction you'd first like the beautytip to go. If I have a row of links in the very bottom footer and the beautytip covers the menu item to the right or left, it really isn't helping, enough that I think I'll have to turn it off on all links.

While this issue is for D6, I'm changing it to D7 since it's the same and the likelihood of anything being done on a D6 issue is bleak.

The file "jquery.bt.js" and "jquery.bt.min.js" contain the 'most' variable which automatically chooses, but I don't see how one could choose 'top' while falling back to 'most' since it comes across as either 'most' or you choose an order of directions.

deanflory’s picture

Title: beautytip posoition top » BeautyTip Position top
Version: 6.x-2.0 » 7.x-2.x-dev
Component: Miscellaneous » Code
Category: Support request » Bug report
pifagor’s picture

Status: Active » Closed (cannot reproduce)