Hi,

I've tried to do it in a jsfiddle,
http://jsfiddle.net/sgF5Q/

but... the onShow event is fired just a while before the position is
calculated and applyied.
so right know I think isnt possible.

right? :)

--
Andrea


On Sat, Sep 3, 2011 at 12:47, campari <[email protected]> wrote:

> Is it possible to set offset.y according to the heigt of current
> tooltip?
> I want to position the tooltip above the links. The content varied so
> the heigt of the tooltip is different each time.
>
> var oTips = new Tips($$('.sb_tooltip'), {
>        className: 'sb_tooltip',
>        fixed: true,
>        offset: {'x': -20, 'y': DYNAMIC_OFFSET(?)}
> });
>
> Thanks in advance
>
>

Reply via email to