Sorry Oskar for to many stupid questions.

There's no such thing as a stupid question ...

On 12 Mrz., 10:36, hamburger <[email protected]> wrote:
> Thx Ryan,
> i defined an FX.Scroll and it works how i want it.
> I really don't understand the different between SmoothScroll an
> FX.Scroll.
> for me both do the same thing:
>                                  new SmoothScroll({ duration:
> 1000,offset: {'x': 0,'y': -40}}, window).toElement(this.list[0]);
>                                  new Fx.Scroll(window, {duration:
> 1000,offset: {'x': 0,'y': -40}}).toElement(this.list[0]);
>
> On 11 Mrz., 17:25, Ryan Florence <[email protected]> wrote:
>
>
>
> > SmoothScroll is designed to be an all encompassing script for the whole 
> > page, so they are adding events to the same elements.
>
> > You need to set up two different Fx.Scroll instances on the body, you'll 
> > have complete control.  Check the docs for more help.
>
> > On Mar 11, 2010, at 6:58 AM, hamburger wrote:
>
> > > Hello I'am using on one page two SmoothScrolls.
> > > the first i define with:
> > > var tatta = new SmoothScroll({duration:500});
>
> > > the second with:
> > > var mySmmotth = new SmoothScroll({ duration:1000,offset: {'x': 0,'y':
> > > -40}}, window).toElement(this.list[0]);
>
> > > if i execute the second the first one will not run in the way before.
>
> > > how to define two Smoothies??- Zitierten Text ausblenden -
>
> > - Zitierten Text anzeigen -- Zitierten Text ausblenden -
>
> - Zitierten Text anzeigen -

Reply via email to