jquery选项卡插件卷帘门滑动选项支持自动播放选项卡



136 543 182



特效描述:选项卡插件 卷帘门滑动 滑动选项 自动播放选项卡,TN34自动播放选项卡 -  jQuery插件

代码结构

1. 引入CSS

<link href="css/timetabs.css" rel="stylesheet" type="text/css" />

2. 引入JS

<script src="js/jquery-1.4.2.min.js" type="text/javascript"></script>
<script src="js/jquery.timetabs.min.js" type="text/javascript"></script>

3. HTML代码

    <div id="container">
        <div class="itemdiv left">
            <h2>Animation: <span>fade</span></h2>
            <dl class="tabs" id="tabs4">
                <dt>Tab 1</dt>
                <dd><img src="images/content/loewe.jpg" width="450" height="278" alt="Galaxy 01" /></dd>
                <dt>Tab 2</dt>
                <dd><img src="images/content/zebra.jpg" width="450" height="278" alt="Galaxy 02" /></dd>
                <dt>Tab 3</dt>
                <dd><img src="images/content/giraffe.jpg" width="450" height="278" alt="Galaxy 03" /></dd>
                <dt>Tab 4</dt>
                <dd><img src="images/content/elefant.jpg" width="450" height="278" alt="Galaxy 03" /></dd>
            </dl>
            <div class="pre">
$(document).ready(function(){<br />
&nbsp;&nbsp;&nbsp;&nbsp;$('dl').akkordion({<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;animated: 'fade'<br />
&nbsp;&nbsp;&nbsp;&nbsp;});<br />
});
            </div>
        </div>
        <div class="itemdiv right">
            <h2>Animation: <span>curtain</span></h2>
            <dl class="tabs" id="tabs3">
                <dt>Tab 1</dt>
                <dd><img src="images/content/loewe.jpg" width="450" height="278" alt="Galaxy 01" /></dd>
                <dt>Tab 2</dt>
                <dd><img src="images/content/zebra.jpg" width="450" height="278" alt="Galaxy 02" /></dd>
                <dt>Tab 3</dt>
                <dd><img src="images/content/giraffe.jpg" width="450" height="278" alt="Galaxy 03" /></dd>
                <dt>Tab 4</dt>
                <dd><img src="images/content/elefant.jpg" width="450" height="278" alt="Galaxy 03" /></dd>
            </dl>
            <div class="pre">
$(document).ready(function(){<br />
&nbsp;&nbsp;&nbsp;&nbsp;$('dl').akkordion({<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;animated: 'curtain'<br />
&nbsp;&nbsp;&nbsp;&nbsp;});<br />
});
            </div>
        </div>
        <div class="itemdiv left">
            <h2>Animation: <span>slide</span></h2>
            <dl class="tabs" id="tabs2">
                <dt>Tab 1</dt>
                <dd><img src="images/content/loewe.jpg" width="450" height="278" alt="Galaxy 01" /></dd>
                <dt>Tab 2</dt>
                <dd><img src="images/content/zebra.jpg" width="450" height="278" alt="Galaxy 02" /></dd>
                <dt>Tab 3</dt>
                <dd><img src="images/content/giraffe.jpg" width="450" height="278" alt="Galaxy 03" /></dd>
                <dt>Tab 4</dt>
                <dd><img src="images/content/elefant.jpg" width="450" height="278" alt="Galaxy 03" /></dd>
            </dl>
            <div class="pre">
$(document).ready(function(){<br />
&nbsp;&nbsp;&nbsp;&nbsp;$('dl').akkordion({<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;animated: 'slide'<br />
&nbsp;&nbsp;&nbsp;&nbsp;});<br />
});
            </div>
        </div>
        <div class="itemdiv right">
            <h2>Animation: <span>off</span></h2>
            <dl class="tabs" id="tabs1">
                <dt>Tab 1</dt>
                <dd><img src="images/content/loewe.jpg" width="450" height="278" alt="Galaxy 01" /></dd>
                <dt>Tab 2</dt>
                <dd><img src="images/content/zebra.jpg" width="450" height="278" alt="Galaxy 02" /></dd>
                <dt>Tab 3</dt>
                <dd><img src="images/content/giraffe.jpg" width="450" height="278" alt="Galaxy 03" /></dd>
                <dt>Tab 4</dt>
                <dd><img src="images/content/elefant.jpg" width="450" height="278" alt="Galaxy 03" /></dd>
            </dl>
            <div class="pre">
$(document).ready(function(){<br />
&nbsp;&nbsp;&nbsp;&nbsp;$('dl').akkordion({<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;animated: false<br />
&nbsp;&nbsp;&nbsp;&nbsp;});<br />
});
            </div>
        </div>
	</div>



用户评论
大牛,别默默的看了,快登录帮我点评一下吧!:)      登录 | 注册


热门标签: 滑动导航菜单 导航切换 滑动选项卡切换 图片滑动 图片切换 文字滑动 文字切换 滑动手风琴 背景切换 滑动星星打分 手风琴 选项卡自动切换 视频切换 列表切换 渐隐切换 全屏切换 切换按钮 缩放切换 滑动滑过 滚动切换 滑动选项卡切换 选项卡切换 滑动手风琴

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

jQuery/js讨论群
群号:642649996
Css3+Html5讨论群
群号:322131262

加群请备注:从官网了解到