0 Replies Latest reply on Apr 16, 2010 5:52 AM by RICH POW

    Mootools Smooth Scroll to the top .js help

    RICH POW Level 1

      Hi,

      I have added a very nice Mootools java script effect to make my anchors '#top' scroll smoothly to the top of the page.

       

      However it is effecting all '#' references so when you click on the accordion menu on the right it too scrolls the page to the top.

       

      Any java script gurus out there know how I could edit this to only scroll to the top my '#top' anchors?

       

      http://www.richardperkingolf.co.uk/index.aspx

       

      .js http://www.richardperkingolf.co.uk/scripts/smoothscroll.js

      .js http://www.richardperkingolf.co.uk/scripts/smoothscroll-function.js/www.richardperkingolf.co.uk/scripts/smoothscroll-function.js

       

      Thanks,

      Rich