本文实例讲述了jquery ui 实现 tab标签功能。分享给大家供大家参考,具体如下:
www.jb51.net tab切换 #tabs{ width:500px; height:500px; margin:0 auto; } .ui-widget-header{ border:1px solid grey; background:grey; color:#fff; font-weight:bold; }
- first tab
- second tab
this is the first tab
this is the second tab
运行效果:
感兴趣的朋友可以使用在线HTML/CSS/Javascript代码运行工具:http://tools.jb51.net/code/HtmlJsRun测试上述代码运行效果。
更多关于jQuery相关内容可查看本站专题:《jQuery页面元素操作技巧汇总》、《jQuery常见事件用法与技巧总结》、《jQuery常用插件及用法总结》、《jQuery扩展技巧总结》及《jquery选择器用法总结》
希望本文所述对大家jQuery程序设计有所帮助。



