jQuery shift focus to div tab
I've created Tabs on my page exactly as on this demo page. The page uses jQuery Tools. 开发者_开发知识库http://flowplayer.org/tools/demos/tabs/index.htm
Now I want to shift the focus on a tab based on an event through jQuery. How can I accomplish that? Not sure if jQuery.scrollTo
is the right way to go. I'm willing to do some hacking, but need some direction to proceed.
Check out docs
On demo page you can change active tab with something like this:
$("ul.tabs").data("tabs").click(1);
精彩评论