我正在使用http://www.jquery-steps.com/Examples#basic进行在线测验工具,并想知道是否可以使用链接或按钮触发我在粘贴的演示中看到的单击标签事件.
HTML:
Basic Example
Keyboard
Try the keyboard navigation by clicking arrow left or right!
Effects
Wonderful transition effects.
Pager
The next and previous buttons help you to navigate through your content.
JS:
$("#wizard-1").steps({ headerTag: "h3", bodyTag: "section", transitionEffect: "slideLeft", autoFocus: true });
如果您将标题/标签悬停,则会看到附加到它们的锚点.我想做的是调用锚点(即下面)并使用tab功能,就像我单击了选项卡本身一样.
Step 3 or Pager
JSFiddle:http://jsfiddle.net/fXF6k/1/
谢谢!