thx Aaron,
but sorry i'am to stupid.
i tried this:

   onShow: function(tip,el) {
    tip.setStyle('offset', {'x': 0,'y': 0});
       tip.fade('in');
    //offset: {'x': 40,'y': -110}
   },

but thats not the way it is ...

On 12 Mrz., 17:51, Aaron Newton <[email protected]> wrote:
> 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');
> >   }
> >  });- Zitierten Text ausblenden -
>
> - Zitierten Text anzeigen -

Reply via email to