<分区>
<分区>
我无法在 jquery Mobile 的轮播中看到我的多维数据集.... 没有旋转木马立方体动画工作正常....
工作代码 http://jsfiddle.net/SV8CM/2/embedded/result/
fiddle 中的错误...无法正常工作 http://jsfiddle.net/yxhzU/5132/
如何解决?我的代码如下:
<ul id="carousel1" style="display: none;">
<li>
<div style="width: 100%; height: 100%; background-color:#381;">
<div class="span5" style="margin-left: 97px; width: 493px;">
<div class="melonhtml5_gallery">
<div data-caption="<a style='margin-left: 92px; font-size: 18px; color: grey;' href='http://www.w3schools.com/' >Create</a> <div> <a style='margin-left: 92px; font-size: 18px; color: grey;' >View/Edit</a> </div> <a style='margin-left: 92px; font-size: 18px; color: grey;' >Labels</a>" data-image="http://www.defie.co/designerImages/inventoryControl.png"></div>
</div>
</div>
</li>
<li>
<div style="width: 100%; height: 100%; background-color:#837;">
<div class="span5" style="margin-left: 65px; width: 493px;">
<div class="melonhtml5_gallery">
<div data-caption="" data-image="http://www.defie.co/designerImages/png/accPayable.png"></div>
</div>
</div>
</div>
</li>
</ul>
下面的jquery代码
(function($) {
$("#carousel1").carousel();
$("#carousel2").carousel({direction: "vertical"});
})(jQuery);
最佳答案
至于第一<li>
缺少关闭 </div>
.
<li>
<div style="width: 100%; height: 100%; background-color:#381;">
<div class="span5" style="margin-left: 97px; width: 493px;">
<div class="melonhtml5_gallery">
<div data-caption="<a style='margin-left: 92px; font-size: 18px; color: grey;' href='http://www.w3schools.com/' >Create</a> <div> <a style='margin-left: 92px; font-size: 18px; color: grey;' >View/Edit</a> </div> <a style='margin-left: 92px; font-size: 18px; color: grey;' >Labels</a>" data-image="http://www.defie.co/designerImages/inventoryControl.png"></div>
</div> <!-- here closing div was missing -->
</div>
</div>
</li>
关于jquery - 在 jQuery Mobile 中滑动旋转木马和立方体显示,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14575657/