The onShow and onHide methods are there for you to overload whatever
functionality you want. You'll have to do some measurements of your own to
manage that, but you can put as much logic in there as you need.

On Fri, Mar 12, 2010 at 1:49 AM, hamburger <[email protected]> wrote:

> Hello, is there a possibility to change the offset in dependency of
> the hight of the tip element?
>
> var Hint = new Tips($$('.poptip'), {
>   offset: {
>        'x': 40,       //I would like to adjust this in dependency of
> the width or hight of the tip element
>        'y': -110      //maybe this.getHight()-100
>    }
>   onShow: function(tip,el) {
>    tip.fade('in');
>   },
>   onHide: function(tip,el) {
>    tip.fade('out');
>   }
>  });
>

Reply via email to