1
我想使用jQuery循环插件来显示一些.swf文件,但由于某种原因寻呼机(这是与正确数量的项目生成)只能工作一次。之后,单击任何传呼机按钮都不会执行任何操作。任何想法,为什么这可能是?使用jQuery循环与.swf嵌入
jQuery的周期初始化:
$('.blog-slideshow').cycle({
fx: 'fade',
timeout: 0,
pager: '#pager',
slideExpr: 'object'
});
HTML:每个object
标签
<div class="blog-slideshow">
<object width="950" height="195" type="application/x-shockwave-flash">
<param name="movie" value="1.swf">
<embed src="1.swf" width="950" height="195"></embed>
</object>
<object width="950" height="195" type="application/x-shockwave-flash">
<param name="movie" value="2.swf">
<embed src="2.swf" width="950" height="195"></embed>
</object>
<object width="950" height="195" type="application/x-shockwave-flash">
<param name="movie" value="3.swf">
<embed src="3.swf" width="950" height="195"></embed>
</object>
<object width="950" height="195" type="application/x-shockwave-flash">
<param name="movie" value="4.swf">
<embed src="4.swf" width="950" height="195"></embed>
</object>
</div>
太棒了,谢谢! – samlester