用TAB切换图片轮播后,隐藏后显示的图片轮播不能显示

<div class="Tab_t">
<span>1</span>
<span>2</span>
<span>3</span>
<div>
<div class="Tab_c">
<!-TAB1-->
<div class="Tab_d">
<div data-am-widget="slider" class="am-slider am-slider-default" data-am-slider='{}' >
<ul class="am-slides">
<li>
<img src="http://s.amazeui.org/media/i/demos/bing-1.jpg">
</li>
<li>
<img src="http://s.amazeui.org/media/i/demos/bing-2.jpg">
</li>
<li>
<img src="http://s.amazeui.org/media/i/demos/bing-3.jpg">
</li>
<li>
<img src="http://s.amazeui.org/media/i/demos/bing-4.jpg">
</li>
</ul>
</div>

<!-TAB2-->
<div class="Tab_d">
<div data-am-widget="slider" class="am-slider am-slider-default" data-am-slider='{}' >
<ul class="am-slides">
<li>
<img src="http://s.amazeui.org/media/i/demos/bing-1.jpg">
</li>
<li>
<img src="http://s.amazeui.org/media/i/demos/bing-2.jpg">
</li>
<li>
<img src="http://s.amazeui.org/media/i/demos/bing-3.jpg">
</li>
<li>
<img src="http://s.amazeui.org/media/i/demos/bing-4.jpg">
</li>
</ul>
</div>

<!-TAB3-->
<div class="Tab_d">
<div data-am-widget="slider" class="am-slider am-slider-default" data-am-slider='{}' >
<ul class="am-slides">
<li>
<img src="http://s.amazeui.org/media/i/demos/bing-1.jpg">
</li>
<li>
<img src="http://s.amazeui.org/media/i/demos/bing-2.jpg">
</li>
<li>
<img src="http://s.amazeui.org/media/i/demos/bing-3.jpg">
</li>
<li>
<img src="http://s.amazeui.org/media/i/demos/bing-4.jpg">
</li>
</ul>
</div>

</div>
<div>

用TAB切换图片轮播后,隐藏后显示的图片轮播不能显示

已邀请:

yuxinpop - 80后IT男

赞同来自:

假设动态插入了一个图片轮播,可以在插入完成以后执行下面的代码初始化:

$('#my-slider').flexslider();

http://www.amazeui.org/getting-started/faq

要回复问题请先登录注册