0
jcarousel 작동 지침을 따랐습니다! 하지만 전혀 작동하지 않습니다. 두 장의 사진을 클릭하고 슬라이드 할 수있게하고 싶습니다. 그런데 데스크톱에서 로컬로 오프라인으로 테스트하고 있습니다. 다음은 Jcarousel은 제대로 작동하지 않지만 전혀 작동하지 않습니다.
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/madscore.css">
<link rel="stylesheet" type="text/css" href="css/skins/tango/skin.css" />
<script type="text/javascript" src="javascript/jquery.jcarousel.js"></script>
<script type="text/javascript" src="javascript/jquery.jcarousel.min.js"></script>
<script type="text/javascript" src="javascript/jquery-1.4.2.min.js"></script>
<script type="text/javascript">
jQuery(document).ready(function() {
jQuery('#carousel').jcarousel({
// Configuration goes here
});
});
</script>
</head>
<body>
<div class="sliding-panel">
<div id="carousel">
<ul>
<li> <img src="cube.jpg" /> </li>
<li> <img src="cube.jpg" /></li>
</ul>
</div>
</div>
</body>
</html>
그리고
는 jQuery를 필요로 처음로드 jQuery를에 당신이 가지고있는 파일 madscore.csssliding-panel
{
position:absolute;
top:290;
left:300;
}
#carousel
{
width:5000;
}
#carousel ul
{
list-style:none;
width:5000;
margin:0;
padding:0;
position:relative;
}
#carousel li
{
display:inline;
float:left;
}
그 수정하고 내가 그들을 클릭 .. 그리고 그들은 바로 옆에 다른 서로 ..what에 잘못 될 수 붙어 때 두 개의 이미지가 여전히 슬라이딩되지 않습니다 끝낼 것이라고 말했다? ? – user1787184
[jsfiddle.net] (http://jsfiddle.net) 또는 [jsbin.com] (http://jsbin.com)에 예제를 추가하십시오. 플러그인에 대한 [documentation] (http://sorgalla.com/projects/jcarousel/)을 읽었습니까? – Andreas
http://jsbin.com/welcome/53003/edit 그곳에는 오프라인 파일로 작업하고 있습니다. 이미지가 슬라이드되지 않습니다. – user1787184