0
아주 간단한 페이지에서 jscrollpane을 사용하려고하지만 어떤 이유로 작동하지 않습니다. jscrollpane에 대한 스크립트를 제거 할 때 일반 스크롤 막대가있는 이미지이지만 포함 할 때 스크롤 막대가없는 이미지입니다. 나는 누군가가 외모를 가지고 명백하게 틀린 것이 있는지 볼 수 있는지 궁금합니다.성공하지 못한 jscrollpane을 처음으로 사용하려고 시도했습니다!
감사
닉
http://nickharambee.dyndns.org/examples/jscrollpane.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<head>
<!-- styles needed by jScrollPane -->
<link type="text/css" href="jquery.jscrollpane.css" rel="stylesheet" media="all" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
<!-- the mousewheel plugin - optional to provide mousewheel support -->
<script type="text/javascript" src="jquery.mousewheel.js"></script>
<!-- the jScrollPane script -->
<script type="text/javascript" src="jquery.jscrollpane.min.js"></script>
<script type="text/javascript">
$(function()
{
$('.scroll-pane').jScrollPane();
});
</script>
<style>
.scroll-pane {
width: 200px;
height: 200px;
overflow: auto;
}
</style>
</head>
<html>
<body>
<div class="scroll-pane"><img src="../files/nancy.jpg"></div>
</body>
</html>
답변 해 주셔서 감사합니다. 웬일인지 그것이 일하기 시작했다! 이유는 모르겠다. 콘솔 팁에도 감사드립니다. 능숙한. – Nick