0 Replies Latest reply on Sep 10, 2013 5:26 AM by Nomisweb

    Tutorial on: Easy to use custom scrollbars


      Hey everyone i seen a few discussions around that people need customscrollbars


      i have now gathered to must easy to use out of the box project


      It works down to IE6 and works in all device - nicescroll



      $(function() {                



           cursoropacitymin: 0.3    



      Do a ready function and then call nicescroll on your element inside
      remember to add the nicescroll lib
      which you can get here


      add it inside the head after jquery but before

      you call it so it could look like this




          <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>

          <script type="text/javascript" src="your/path/jquery.nicescroll.js"></script>

          <script type="text/javascript" src="your/path/jquery.main.js"></script>



           <div id="thisdiv">

                Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod

                tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,

                quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo

                consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse

                cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non

                proident, sunt in culpa qui officia deserunt mollit anim id est laborum.





      To see more go to the libary's home
      at: http://areaaperta.com/nicescroll/


      Best regards