简体   繁体   English

使用Jquery的Tabs UI

[英]Tabs UI using Jquery

http://jqueryui.com/tabs/#manipulation the tabs manipulation does a click to add a tab. http://jqueryui.com/tabs/#manipulation选项卡操作会单击以添加选项卡。 but i need a little tweak in there. 但我需要在其中进行一些调整。 after i click the add tab ie, clicking add tab creates a tab2..but the screen doesn't takes the view to the second tab. 在我单击“添加”选项卡之后,即单击“添加”选项卡会创建一个tab2 ..但是屏幕不会将视图带到第二个选项卡。 It remains in the first tab but add the second tab(which is not active after click) 它保留在第一个选项卡中,但添加第二个选项卡(单击后不活动)

I need tab2 to be active after clicking the add button...this process continues for all the adding tabs. 单击添加按钮后,我需要tab2处于活动状态...对于所有添加的选项卡,此过程都将继续。

I need a example or a way..coz it's a showstopper for my current project 我需要一个例子或一种方式..因为这是我当前项目的热门

There's a link of the bottom of that page, “Want to learn more about the tabs widget? 该页面底部有一个链接, “想了解有关标签小部件的更多信息吗? Check out the API documentation .” 查阅API文档 。”

And to get from there to http://api.jqueryui.com/tabs/#option-active should not be an impossible task for a developer, don't you think …? 对于开发者来说,从那里到达http://api.jqueryui.com/tabs/#option-active应该不是一个不可能完成的任务,您不认为……?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM