开发者

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);

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜