我有一个关于 jQuery 云轮播的问题 (http://professorcloud.com/mainsite/carousel.htm)。现在我们可以将类“carousel”的图像放入容器中。但是如果我需要放入带有类轮播的容器 div,这个插件就不起作用了。我尝试更改代码,但我看到同样的情况。我想添加类 tu 当前元素。有谁能够帮我?
...
<script type="text/javascript">
$(document).ready(function(){
$("#wrap").CloudCarousel({
xPos: 398,
yPos: 25,
buttonLeft: $("#left-but"),
buttonRight: $("#right-but"),
altBox: $("#alt-text"),
titleBox: $("#title-text"),
FPS: 50,
//autoRotate: 'left',
autoRotateDelay: 1200,
speed: 0.2,
bringToFront: true,
mouseWheel: false,
minScale: 0.4,
reflHeight: 86,
reflGap: 10
});
});
</script>
</head>
<body>
<div id="wrap" style="width:796px; height:338px; background:#000; overflow:scroll;">
<div class = "cloudcarousel"><img src="img/1.gif" alt="Image One" /></div>
<div class = "cloudcarousel"><img src="img/2.gif" alt="Image Two" /></div>
<div class = "cloudcarousel"><img src="img/3.gif" alt="Image Three" /></div>
</div>
</body>
...
谢谢。