读书人

jquery.nicescroll的施用

发布时间: 2012-11-22 00:16:41 作者: rapoo

jquery.nicescroll的使用

?

<!--jquery.nicescroll--><script src="js/jquery.nicescroll/jquery.nicescroll.js"  type="text/javascript"></script>var nicesx = $("div[id^='drop-down-ul-']").niceScroll({touchbehavior:false,cursorcolor:"#3FA7CB",cursoropacitymax:1.6,cursorwidth:8,horizrailenabled:false,cursorborderradius:0,autohidemode:false});//防止拉动事不触发document的click,也就是不冒泡$("div[id^='ascrail']").bind("click",function(e){var ev=e||event;ev.stopPropagation();return false;});
?

读书人网 >Web前端

热点推荐