<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>模仿微软中国首页的菜单,calent_zero@yahoo.com.cn</title>
<meta name="author" content="calent,calent_zero@yahoo.com.cn" />
<style type="text/css">
body{margin:0; padding:0; text-align:center; font-family:arial, sans-serif; font-size:12px}
p{padding:0; margin:0; line-height:1.5em}
#wrap{border:1px solid #A2A7AB; margin:20px auto; padding:8px; text-align:left; width:500px; background:url(wrap.jpg)}
#menu{float:left; width:22%; background:url(menu.jpg) no-repeat right center}
#menu ul{list-style:none; margin:0; padding:0}
#menu li{height:25px; line-height:25px; text-align:right}
#menu a{color:#000; text-decoration:none; display:block; padding-right:25px}
#menu a:hover,#menu .on a{background:url(over.jpg) no-repeat right center; color:#039}
#content{float:right; width:70%}
#content h1{font-size:16px; font-weight:normal; margin:0; padding:0; margin-bottom:8px}
#content ul{list-style:none; margin:0; padding:0}
#content li{padding:3px}
#copy{clear:both}
</style>
<script type="text/javascript">
<!--
//切换到相关页
function gopage(n)
{
var tag = document.getElementById("menu").getElementsByTagName("li");
var taglength = tag.length;
for (i=1;i<=taglength;i++)
{
document.getElementById("m"+i).className="";
document.getElementById("c"+i).style.display='none';
}
document.getElementById("m"+n).className="on";
document.getElementById("c"+n).style.display='';
}
//-->
</script>
</head>
<body>
<div id="wrap">
<div id="menu">
<ul>
<li id="m1" class="on"><a href="#" onmouseover="javascript:gopage(1)">Products</a></li>
<li id="m2"><a href="#" onmouseover="javascript:gopage(2)">Services</a></li>
<li id="m3"><a href="#" onmouseover="javascript:gopage(3)">Information</a></li>
<li id="m4"><a href="#" onmouseover="javascript:gopage(4)">Feadback</a></li>
<li id="m5"><a href="#" onmouseover="javascript:gopage(5)">Contact us</a></li>
</ul>
</div>
<div id="content">
<div id="c1">
<h1>Products</h1>
<ul>
<li>This is the Products</li>
<li>This is the Products</li>
<li>This is the Products</li>
<li>This is the Products</li>
<li>This is the Products</li>
<li>This is the Products</li>
</ul>
</div>
<div id="c2" style="display:none">
<h1>Services</h1>
<ul>
<li>This is the Services</li>
<li>This is the Services</li>
<li>This is the Services</li>
<li>This is the Services</li>
<li>This is the Services</li>
<li>This is the Services</li>
</ul>
</div>
<div id="c3" style="display:none">
<h1>Information</h1>
<ul>
<li>This is the Information</li>
<li>This is the Information</li>
<li>This is the Information</li>
<li>This is the Information</li>
<li>This is the Information</li>
<li>This is the Information</li>
</ul>
</div>
<div id="c4" style="display:none">
<h1>Feadback</h1>
<ul>
<li>This is the Feadback</li>
<li>This is the Feadback</li>
<li>This is the Feadback</li>
<li>This is the Feadback</li>
<li>This is the Feadback</li>
<li>This is the Feadback</li>
</ul>
</div>
<div id="c5" style="display:none">
<h1>Contact us</h1>
<ul>
<li>This is the Contact us</li>
<li>This is the Contact us</li>
<li>This is the Contact us</li>
<li>This is the Contact us</li>
<li>This is the Contact us</li>
<li>This is the Contact us</li>
</ul>
</div>
</div>
<div id="copy">
<p>© 2008 Design by calent</p>
</div>
</div>
</body>
</html>
没有合适的资源?快使用搜索试试~ 我知道了~
微软中国首页风格tab切换菜单
共4个文件
jpg:3个
html:1个
5星 · 超过95%的资源 需积分: 9 180 下载量 157 浏览量
2008-08-27
14:43:23
上传
评论 3
收藏 3KB RAR 举报
温馨提示
微软中国首页风格tab切换菜单选项卡效果
资源推荐
资源详情
资源评论
收起资源包目录
微软中国首页风格tab切换菜单.rar (4个子文件)
over.jpg 576B
menu.jpg 335B
wrap.jpg 2KB
微软风格tab切换内容.html 4KB
共 4 条
- 1
资源评论
- wcliuteng2014-03-28感觉不错,还是免费的
- hunrizi_buzai2012-04-19感觉不错,还是免费的,谢谢啦
- FMBen2012-11-27一般,还行吧,感觉单独使用这个意义不大。
calent
- 粉丝: 0
- 资源: 9
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功