作家
登录

js实现tab选项卡函数代码

作者: 来源:www.28hudong.com 2013-03-30 01:39:04 阅读 我要评论

* { padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; font-size: 12px; padding-top: 0px; } BODY { padding-left: 20px; padding-top: 20px; } .wid240 { width: 242px; margin-bottom: 20px; } .wid180 { width: 182px; } .tab { border-bottom: #000 1px solid; border-left: #000 1px solid; border-top: #000 1px solid; border-right: #000 1px solid; } .tab UL { zoom: 1; clear: both; } .tab UL:after { display: block; height: 0px; visibility: hidden; clear: both; content: ""; } .tab UL LI { text-align: center; line-height: 26px; width: 60px; display: inline; background: #000; float: left; height: 26px; color: #fff; } .tab UL LI.on { background: #fff; color: #000; } .tabList { border-bottom: #000 1px solid; border-left: #000 1px solid; height: 150px; border-top: #000 1px; border-right: #000 1px solid; } .tabList .one { padding-bottom: 10px; padding-left: 10px; padding-right: 10px; display: none; color: #ff0000; padding-top: 10px; } .tabList .block { display: block; } one1 one2 one3 one4 cont_one_1 cont_one_2 cont_one_3 cont_one_4 tow1 tow2 tow3 cont_tow_1 cont_tow_2 cont_tow_3 [Ctrl+A 全选 注:如需引入外部Js需刷新才能执行]

  推荐阅读

  javascript 获取HTMl文件指定元素的代码

获取HTML文件的指定元素 获取HTML文件的指定元素 获取HTML文件的元素Body 获取HTML文件的元素H2 获取HTML文件的元素P [Ctrl+A 全选 注:如需引入外部Js需刷新才能执行]>>>详细阅读


本文标题:js实现tab选项卡函数代码

地址:http://www.17bianji.com/kaifa2/JS/26549.html

关键词: 探索发现

乐购科技部分新闻及文章转载自互联网,供读者交流和学习,若有涉及作者版权等问题请及时与我们联系,以便更正、删除或按规定办理。感谢所有提供资讯的网站,欢迎各类媒体与乐购科技进行文章共享合作。

网友点评
自媒体专栏

评论

热度

精彩导读
栏目ID=71的表不存在(操作类型=0)