javascript - Incorrect code syntax (scrollbar) -


i'm trying implement this scrollbar , change scroll inertia looks made syntax error in code below. know error is? many thanks

<script>     (function($){         $(window).load(function(){             $(".content_2").mcustomscrollbar()             scrollinertia:150         });     })(jquery); </script> 

 $(window).load(function(){      $(".content_2").mcustomscrollbar({           scrollinertia:150      });        }); 

you should see examples here proper usage -

http://manos.malihu.gr/jquery-custom-content-scroller/


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -