Can't get simple script to work

I am trying to implement a smooth scrolling script on my site and I’m having difficulties.

This is the simple script I’m trying to get to work on github.

I have tried including the script in the head section of my page and initiating it with:

 <script>
            $(document).ready(function(){
                $("body").smoothWheel()
            });
</script>

And that doesn’t work.
I have also tried initiating it with:

 <script>
            $(document).ready(function(){
                $("#page").smoothWheel()
            });
</script>

Where I gave the whole page an ID, and that didn’t work either.

Any suggestions?

This topic was automatically closed after 70 days. New replies are no longer allowed.