Hello,
I have the problem to change an element with Scrolling.

I would like to set the element in the menue as active after scrolling
to the href-property


    // animate scrolling
    var mySmoothScroll = new Fx.SmoothScroll({
        wheelStops: true,
        onComplete: function(e){
            console.log("smoooth done  ",e);
            window.getElement(e).setClass('active');
        }
    });

http://jsfiddle.net/NmudS/1133/

Reply via email to