产品使用及交流论坛

注册

 

QQ登录

只需一步,快速开始

发新话题 回复该主题

求助,官方选项卡怎么做啊? [复制链接]

1#

回复 1楼mzmaomao的帖子

官方选项卡代码:<style type="text/css">
.tabheadstyle{clear:both;height:25px;text-align:left;background:url(/e/css/images/title_bg.gif) repeat-x 0 0;border:0 solid #BCD9F5;border-width:1px 1px 0px 1px;overflow:hidden}
.tabheadstyle dd{color003060;background:url(/e/css/images/sign_bg.gif) repeat-x 0 0;float:left;width0px;width0px;height:21px;padding:4px 0 0 20px;cursor:pointer}
.tabheadstyle dd.current{background:url(/e/css/images/sign_bg_over.gif) no-repeat 0 0;font-weight:bold;} /* 当前选项卡标题样式,默认名:current */
.tabcontentstyle dd{clear:both;border:1px solid #BCD9F5;border-width:0px 1px 1px 1px;padding:5px 5px 5px 5px;height:100%}
</style>

<dl id="tabhead"  class="tabheadstyle">
<dd>选项1</dd>
<dd>选项2</dd>
<dd>选项3</dd>
</dl>
<dl id="tabcontent"  class="tabcontentstyle">
<dd>内容1</dd>
<dd>内容2</dd>
<dd>内容3</dd>
</dl>
<script type="text/javascript">
tabs("tabhead","tabcontent","onmouseover");
//tabs方法的简化调用(3个必填参数),前两个参数分别为标题和内容区的id,第三个参数可选onmouseover或onclick
//完整参数调用写法(6个参数): tabs("tabhead","tabcontent","dd","dd","current","onmouseover")
</script>
分享 转发
TOP
发新话题 回复该主题