Created
          December 30, 2016 15:40 
        
      - 
      
 - 
        
Save Lewiscowles1986/d6339f0b33aa3871b947110c4ee70fb6 to your computer and use it in GitHub Desktop.  
    JQuery NiceScroll
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | /* | |
| * Requirements for nicescroll | |
| * //www.codesign2.co.uk/js/jquery-1.11.3.min.js | |
| * //www.codesign2.co.uk/js/jquery.nicescroll.min.js | |
| */ | |
| !function($) { | |
| window.CD2 = window.CD2 || {}; | |
| window.CD2.style = window.CD2.style || {}; | |
| $(function() { | |
| $("body").niceScroll({ | |
| cursorcolor: window.CD2.style.fghighlight || "#333", | |
| cursoropacitymin: 0.3, | |
| background: window.CD2.style.bghighlight || "#bbb", | |
| cursorborder: "0", | |
| autohidemode: false, | |
| cursorminheight: 60, | |
| cursorwidth: 15, | |
| touchbehaviour: true, | |
| }); | |
| $("body.add-padding > section").css({"padding-right":"25px","padding-left":"10px"}); | |
| }); | |
| }(jQuery); | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment