Lokasi:homepage > Kod kesan khas JS > Kod bahagian depan yang lain

Contoh penggunaan jquery.nicescroll untuk mencantikkan bar tatal

1970-01-01 112jumlah tontonan
jquery.nicescroll is a beautifying scroll bar plug-in, an example of beautifying scroll bar usage. $('#content').niceScroll({ cursorcolor: "#ccc",//#CC0071 cursor color cursoropacitymax: 1, //scrollabar "visible" state, range from 1 to 0 touchbehavior: false, //Make the cursor drag and scroll like a touch device on a desktop computer cursorwidth: "5px", //The width of the pixel cursor cursorborder: "0", // CSS definition of cursor border cursorborderradius: "5px",//Use pixels as the cursor boundary radius autohidemode: false //Whether to hide the scroll bar });