내 콘텐츠에 niceScroll jQuery plugin을 사용하고 있습니다.niceScroll이 페이지로드시 작동하지 않습니다.
#node-10{
height: 200px;
width: 370px;
}
#node-10 p{
padding-top:0;
margin-top:-3px;
padding-left:0;
padding-bottom:0;
}
그리고 JS : 내 콘텐츠 ID # 노드-10 여기가 CSS입니다
var nice = $("html").niceScroll({cursorborder:"",autohidemode:"false",cursorcolor:"##0076A3"}); // The document page (body)
$("#div1").html($("#div1").html()+' '+nice.version);
$("#node-10").niceScroll({cursorborder:"",autohidemode:false,cursorcolor:"red",boxzoom:true}); // First scrollable DIV
그리고 내 사이트를 새로 고칩니다. 스크롤은 페이지로드시 표시되지 않지만 내용을 클릭하면 스크롤 막대를 가져옵니다. 어떻게 해결할 수 있습니까?
왜이 콘텐츠를 클릭해야합니까? –