Skip to content

Commit d5918b4

Browse files
committed
Update demo page
1 parent 047fbd7 commit d5918b4

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

index.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,12 @@ <h2>Rotation</h2>
141141
<article id="controls">
142142
<h2>Controls</h2>
143143
<pre data-language="javascript">
144-
$('.tabs').tabslet();
144+
$('.tabs').tabslet({
145+
controls: {
146+
prev: '.prev',
147+
next: '.next'
148+
}
149+
});
145150
</pre>
146151
<div class='tabs tabs_controls'>
147152
<a class="prev">previous</a>

javascripts/initializers.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,7 @@ $(document).ready(function() {
2222
delay: 6000
2323
});
2424

25-
$('.tabs_controls').tabslet({
26-
autorotate: true,
27-
delay: 6000
28-
});
25+
$('.tabs_controls').tabslet();
2926

3027
$('.before_event').tabslet();
3128
$('.before_event').on("_before", function() {

0 commit comments

Comments
 (0)