html
Aenean nec imperdiet ligula. Cum sociis natoque penatibus et
magnis dis parturient montes, nascetur ridiculus mus.
Suspendisse potenti. Sed elementum risus eleifend massa
vestibulum consectetur. Duis massa augue, aliquam eget fringilla
vel, aliquam vitae arcu. Nam sed magna mi. Praesent odio neque,
dapibus sit amet suscipit at, tempus sed nibh. Aliquam sagittis
ligula in ligula faucibus cursus. Quisque vulputate pellentesque
facilisis.
Consectetur adipiscing elit. Praesent bibendum eros ac
nulla. Integer vel lacus ac neque viverra.
Vivamus euismod euismod sagittis. Etiam cursus neque non lectus
mattis cursus et a libero. Vivamus condimentum hendrerit metus,
a sollicitudin magna vulputate eu. Donec sed tincidunt
lectus. Donec tellus lectus, fermentum sit amet porta non,
rhoncus ac mi. Quisque placerat auctor justo, a egestas urna
tincidunt eleifend.
Non lectus lacinia egestas. Nulla hendrerit, felis quis
elementum viverra, purus felis egestas magna.
Aenean elit lorem, pretium vitae dictum in, fermentum consequat
dolor. Proin consectetur sollicitudin tellus, non elementum
turpis pharetra non. Sed quis tellus quam.
Attributes | Default value | Description |
---|---|---|
next | '.forward' | The selector that performs the "next tab" action on the element should be bound. If you instantiate multiple slides on the same page you need to enclose all slide elements (tabs/panes/next & previous page actions) in a common wrapper element. This logic follows the same principles as creating multiple tab instances. prev |
<span id="OUTFOX_JTR_TRANS_NODE-44" class="OUTFOX_JTR_TRANS_NODE"><br>'.backward'</span> |
<span id="OUTFOX_JTR_TRANS_NODE-44" class="OUTFOX_JTR_TRANS_NODE"><span>'.backward'</span></span>
| The selector's sibling "previous tab" action should be bound. If you instantiate multiple slides with the same call, you need to enclose all slide elements (tabs/panes/next & previous actions) in a common wrapper element. This logic follows the same principles as the instance of creating multiple tabs. | disabledClass
'disabled' | CSS class name'disabled' | Previous page and Continue Down the element. For example, the Previous element is when there is no 'disabled' for the previously mentioned scroll. | autoplay
false | If this property is set to | true then the tab will automatically advance to the next tab enabling automatic "playing" of the slideshow . It is convenient to make rotate the properties tab. | autopause
true | If this property is set to | true , when the next/previous tab action button is mouseovered then autoplay function will be suspended. | interval
<span id="OUTFOX_JTR_TRANS_NODE-70" class="OUTFOX_JTR_TRANS_NODE">3000<span></span></span>
|
Time (in milliseconds) to automatically go between tabs. This option is valid only if <span id="OUTFOX_JTR_TRANS_NODE-70" class="OUTFOX_JTR_TRANS_NODE">3000</span>
|
autoplay is enabled or autoplay method is called. |
clickable | true | When set to true then the tab will automatically advance to the next tab by clicking on the visible pane. |
方法 | 返回值 | 描述/例子 |
---|---|---|
getconf | Object | 自从1.2.0 。 返回配置对象 对于这个插件 |
getTabs | Tabs | 自从1.2.0 。 返回一个引用 这个 标签API 。 |
play | <span id="OUTFOX_JTR_TRANS_NODE-96" class="OUTFOX_JTR_TRANS_NODE">API</span> |
开始播放幻灯片。 |
pause | <span id="OUTFOX_JTR_TRANS_NODE-99" class="OUTFOX_JTR_TRANS_NODE">API</span> |
暂停幻灯片。 回放将恢复鼠标脱离了标签,窗格和导航按钮。 |
stop | <span id="OUTFOX_JTR_TRANS_NODE-102" class="OUTFOX_JTR_TRANS_NODE">API</span> |
停止幻灯片。 这只能通过调用恢复 这个 play 方法。 |
getconf Object Since 1.2.0 . Returns the configuration object for this plugin
事件 | 触发时间 |
---|---|
onBeforePlay | 开始之前播放。 返回 false 在 回调防止回放开始。 |
onPlay | 当回放开始。 |
onBeforePause | 在播放暂停。 返回 false 在 回调防止回放开始。 |
onPause | 当播放暂停。 |
<span id="OUTFOX_JTR_TRANS_NODE-96" class="OUTFOX_JTR_TRANS_NODE">API</span>
Start the slideshow.
pause
<span id="OUTFOX_JTR_TRANS_NODE-99" class="OUTFOX_JTR_TRANS_NODE">API</span>
Pause slideshow. Playback will resume when the mouse is off tabs, panes and navigation buttons.
stop
<span id="OUTFOX_JTR_TRANS_NODE-102" class="OUTFOX_JTR_TRANS_NODE">API</span>
Stop slideshow. This can only be restored by calling the play method.
Event
Make sure you have read about Events jQuery Tools . All event listeners receive the Event object as the first parameter.
Event | Trigger time | onBeforePlay Play before starting. Return false in the callback to prevent playback from starting. onPlay When playback starts. onBeforePause Playing is paused. Back TRANS_NODE> in callback Prevent playback from starting. onPause When playback is paused.
---|