I noticed this
Options:
links - (mixed) A collection of Elements or a string of Elements that
the SmoothScroll can use.
But that is a collection on which the smoothscroll only works
(includes), I need an exclude.

I don't know all new css3 selectors out of my head yet.
But this one should work in Mootools?
http://www.w3.org/TR/2005/WD-css3-selectors-20051215/#negation
---
*:not(FOO)
---

That would select all, but not the ones I exclude with a class

I'm going to test this:
---
var scrolling = new SmoothScroll({
    links: 'a:not(.noscroll)'
});
---

Tha, so far. Let you know if it worked.


On 21 nov, 13:29, Michal <[EMAIL PROTECTED]> wrote:
> I'm not sure, but when you create the SmoothScroll, could you use the
> "links" option to exclude all the links you don't want smoothed? Just
> like in the example athttp://mootools.net/docs/Plugins/SmoothScroll?
>
> Michal.
>
> On Nov 21, 10:58 am, "Mr. Skippy" <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi all,
>
> > I use SmoothScroll in a site I'm developing. This site has a version
> > of a page in which information is presented in a big list with a
> > navigation on top of it and a version the information is presented in
> > 'slides' with a tabbed navigation on top.
> > The SmoothScroll is used through the whole site as well for anchors,
> > so it is include in every page.
>
> > I created the tab/slide navigation with almost the same html as the
> > big list. (so the tabs identify their slides on the anchors). This has
> > a couple of reasons (serverside setup, client with no js, etc.)
> > In the click-event I cancel the SmoothScroll i have setup.
> > ---
> >         /* Initialize SmootScroll */
> >         var scrolling = new SmoothScroll({ duration:600 }, window);
> > ---
> >                 tablink.addEvent ('click', function(e) {
> >                         // Stop SmoothScroll
> >                         scrolling.cancel();
> >                 });
> > ---
>
> > This works perfectly in Firefox (3), but not in Internet Explorer (7,
> > probably also 6)
>
> > Do any of you have a solution or work-around to fix this?
> > Tha!- Tekst uit oorspronkelijk bericht niet weergeven -
>
> - Tekst uit oorspronkelijk bericht weergeven -

Reply via email to