oh and of course I'm talking about this line:
https://github.com/mootools/mootools-more/blob/1.3.2.1/Source/Interface/Tips.js#L147

--
Andrea



On Sat, Sep 3, 2011 at 13:08, Andrea Dessì <[email protected]> wrote:

> 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