hi ! I'm making a website with nice scroll but it seems its not working on google chrome
I'm using the latest version of google chrome which is version 68. I tested it using Internet Explorer and Microsoft Edge and it perfectly working. I'm on windows 10. here is my code
$(document).ready(function() {
var nice = false;
$(function() {
nice = $('body').niceScroll({
cursorcolor: "#00a351", // change cursor color in hex
cursoropacitymin: 0, // change opacity when cursor is inactive (scrollabar "hidden" state), range from 1 to 0
cursoropacitymax: 1, // change opacity when cursor is active (scrollabar "visible" state), range from 1 to 0
cursorwidth: "8px", // cursor width in pixel (you can also write "5px")
cursorborder: "0px solid #fff", // css definition for cursor border
cursorborderradius: "0px",
autohidemode: false,
railalign: "right",
railpadding: { top: 0, right: 0, left: 0, bottom: 0 },
emulatetouch: false,
sensitiverail: true,
background: "#ccc",
zindex:99999,
hidecursordelay: 4000,
boxzoom: false,
grabcursorenabled:false
});
});
});
hi ! I'm making a website with nice scroll but it seems its not working on google chrome I'm using the latest version of google chrome which is version 68. I tested it using Internet Explorer and Microsoft Edge and it perfectly working. I'm on windows 10. here is my code
$(document).ready(function() {