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



98 391 131



特效描述:选项卡插件 卷帘门滑动 滑动选项 自动播放选项卡,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>



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


热门标签: 滑动 滑块 滑动门 触屏滑动 滑动插件 滑块插件 滚动切换 滚动条切换 滑动选项卡 滑动切换 选项卡切换 选项卡 切换 tab切换 页面切换 选项卡插件 切换插件 滑动手风琴 图片滑动 图片滑块 选项卡自动切换

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

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

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