竖栏TAB效果(图)

http://www.corange.cn//uploadfiles/080731-1_44584.jpg

<styletype="text/css">
body{text-align:center;}
*{margin:0px;padding:0px;}
.rightChangeCon{width:220px;margin:0auto;border:1pxsolid#D3D3D3;}
.rightChangeCon.nav{width:98px;float:left;}
.rightChangeCon.navBg1{background:url(http://cimg2.163.com/tech/img07/xy/img07/bgC11.gif)no-repeat;}
.rightChangeCon.navul{}
.rightChangeCon.navli{list-style-type:none;height:28px;width:98px;}
.rightChangeCon.navlih5{text-align:left;font-size:12px;font-weight:normal;background:url(http://cimg2.163.com/tech/img07/xy/img07/i6.gif)10px10pxno-repeat;color:#1f3a87;padding:9px0025px;}
.rightChangeCon.navlih6{text-align:left;font-size:12px;font-weight:normal;background:url(http://cimg2.163.com/tech/img07/xy/img07/i7.gif)10px10pxno-repeat;padding:9px0025px;}
.rightChangeCon.navlih6a{color:#000;}
.rightChangeCon.navlih6a:hover{color:#bc2931;}
.rightChangeCon.con{width:120px;float:right;font-size:12px;}
.rightChangeCon.conul{padding:5px000;}
.rightChangeCon.conli{text-align:left;list-style-type:none;background:url(http://cimg2.163.com/tech/img07/xy/img07/i8.gif)8px6pxno-repeat;color:#4F514F;padding:5px04px22px;width:100px;}
.rightChangeCon.conlia{color:#4F514F;}
.rightChangeCon.conlia:hover{color:#bc2931;}
</style>
<divclass="rightChangeCon">
<scriptlanguage="javascript">
functionslay(num)
{
for(varid=1;id<=9;id++)
{
varss="xxx"+id;
varss1="xx"+id;
varss2="xlist"+id;
varvv=document.getElementById(ss1).innerHTML;
if(id==num)
{
document.getElementById(ss).innerHTML="<h5><spanid=\""+ss1+"\">"+vv+"</span></h5>";
document.getElementById(ss2).style.display="block";
}else{
document.getElementById(ss).innerHTML="<h6><ahref=\"javascript:slay("+id+")\"target=\"_self\"><spanid=\""+ss1+"\">"+vv+"</span></a></h6>";
document.getElementById(ss2).style.display="none";
}
}
}
</script>
<divclass="navnavBg1">
<ul>
<liid="xxx1"><h5><spanid="xx1">系统问题系</span></h5></li>
<liid="xxx2"><h6><ahref="javascript:slay(2)"target="_self"><spanid="xx2">图形图像系</span></a></h6></li>
<liid="xxx3"><h6><ahref="javascript:slay(3)"target="_self"><spanid="xx3">办公应用系</span></a></h6></li>
<liid="xxx4"><h6><ahref="javascript:slay(4)"target="_self"><spanid="xx4">编程开发系</span></a></h6></li>
<liid="xxx5"><h6><ahref="javascript:slay(5)"target="_self"><spanid="xx5">数字艺术系</span></a></h6></li>
<liid="xxx6"><h6><ahref="javascript:slay(6)"target="_self"><spanid="xx6">软件新闻</span></a></h6></li>
<liid="xxx7"><h6><ahref="javascript:slay(7)"target="_self"><spanid="xx7">病毒安全新闻</span></a></h6></li>
<liid="xxx8"><h6><ahref="javascript:slay(8)"target="_self"><spanid="xx8">图书连载</span></a></h6></li>
<liid="xxx9"><h6><ahref="javascript:slay(9)"target="_self"><spanid="xx9">视频中心</span></a></h6></li>
</ul>
</div>


<divstyle="display:block;"class="con"id="xlist1">
<ul>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=00091JUQ">Vista</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=000915A1">Windows综合</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=000917H3">XP</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=000917GQ">系统工具</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=000917GR">网络工具</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=000917GT">聊天软件</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=000917GS">媒体工具</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=000917GU">光盘工具</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=000917H1">其它工具</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=000917GF">病毒</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=00091JFM">安全</a></li>
</ul>
</div>
<divstyle="display:none;"class="con"id="xlist2">
<ul>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=0009158B">Photoshop专区</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=0009158B">Photoshop专区</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=0009158B">Photoshop专区</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=0009158B">Photoshop专区</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=0009158B">Photoshop专区</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=0009158B">Photoshop专区</a></li>
</ul>
</div>
<divstyle="display:none;"class="con"id="xlist3">
<ul>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=000915A6">办公应用专区</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=000915A7">Word教程</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=000915A8">Excel教程</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=000915AA">Powerpoint教程</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=000915AC">其他办公软件</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=000915A9">Outlook教程</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=000915AB">排版软件</a></li>
</ul>
</div>
<divstyle="display:none;"class="con"id="xlist4">
<ul>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=0009159H">编程开发系</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=0009159H">编程开发系</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=0009159H">编程开发系</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=0009159H">编程开发系</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=0009159H">编程开发系</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=0009159H">编程开发系</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=0009159H">编程开发系</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=0009159H">编程开发系</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=0009159H">编程开发系</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=0009159H">编程开发系</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=0009159H">编程开发系</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=0009159H">编程开发系</a></li>
</ul>
</div>
<divstyle="display:none;"class="con"id="xlist5">
<ul>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=00091NE1">业界动态</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=00091NE2">设计理念</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=00091593">精品欣赏</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=00091QMN">影视动态</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=00091QMO">视频短片</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=00091QMQ">游戏预告</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=00091NE5">人物访谈</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=00091NE4">电子杂志</a></li>
</ul>
</div>
<divstyle="display:none;"class="con"id="xlist6">
<ul>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=000915AS">软件新闻</a></li>
</ul>
</div>
<divstyle="display:none;"class="con"id="xlist7">
<ul>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=00091KUI">病毒安全新闻</a></li>
</ul>
</div>

<divstyle="display:none;"class="con"id="xlist8">
<ul>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=00091OTK">连载目录</a></li>
</ul>
</div>
<divstyle="display:none;"class="con"id="xlist9">
<ul>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=000926H0">视频中心</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=000926GU">视频中心</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=000926GT">视频中心</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=000926H0">视频中心</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=000926GU">视频中心</a></li>
<li><ahref="http://go.tech.163.com/showtop.jsp?topicid=000926GT">视频中心</a></li>

</ul>
</div>
</div>
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值