鼠标经过,点击,垂直显示,记录当前打开tab等TAB标签集合
这个js插件支持各种效果,包括基本的tab,某些项目不可点击,鼠标经过显示tab,记录当前显示的tab项目等等
XML/HTML Code
- <div class="region">
- <h1>Structural Rules</h1>
- <p>Title elements become tab labels.</p>
- <p>Any rest contents until next title element become tab panel contents.</p>
- <h1>Delay Trigger Rule</h1>
- <p>Wait a small piece of time before switching.</p>
- <h1>JavaScript</h1>
- <code>
- <pre>
- $('.region').tab({
- triggerEvents: '',
- delayTriggerEvents: 'mouseenter',
- delayTriggerCancelEvents: 'mouseout',
- delayTriggerLatency: 1000
- });
- </pre>
- </code>
- </div>
原文地址:http://www.freejs.net/article_tabbiaoqian_731.html