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 -
Comments
Post a Comment