|
|
Line 1: |
Line 1: |
| + | <!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"> |
| + | |
| <html> | | <html> |
| <head> | | <head> |
- | <title>仿yahoo首页特色服务内容切换效果</title> | + | <title>menu</title> |
- | <meta http-equiv="content-Type" content="text/html;charset=gb2312"> | + | <link rel="stylesheet" type="text/css" href="2_menu.css"/> |
- | <!--把下面代码加到<head>与</head>之间-->
| + | <script type="text/javascript" src="2_menu.js"></script> |
- | <style type="text/css"> | + | |
- | /* common styling */
| + | |
- | /* Set up the default font and ovrall size to include image */
| + | |
- | body {
| + | |
- | background: #fff;
| + | |
- | font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
| + | |
- | font-size: 12px;
| + | |
- | }
| + | |
- | #tabs {width:400px; text-align:center; background: url(http://www.zzsky.cn/effect/images/top.gif); margin:30px 0 0 175px; position:absolute; z-index:500;}
| + | |
- | #tabs ul {padding:0; margin:0; width:400px; list-style:none; position:relative;}
| + | |
- | #tabs ul li {float:left; display:inline; width:125px; height:53px; margin:0 4px;}
| + | |
- | #tabs ul li a.outer {display:block; width:125px; height:49px; border-bottom:1px solid #9c9c9c; text-align:center; line-height:45px; text-decoration:none; text-indent:50px; color:#464; font-weight:bold; margin-bottom:3px; font-size:11px;}
| + | |
- | #tabs ul li a.one {background:#fff url(http://www.zzsky.cn/effect/images/world.jpg) top left no-repeat;}
| + | |
- | #tabs ul li a.two {background:#fff url(http://www.zzsky.cn/effect/images/key.jpg) top left no-repeat;}
| + | |
- | #tabs ul li a.three {background:#fff url(http://www.zzsky.cn/effect/images/mail.jpg) top left no-repeat;}
| + | |
- | #tabs ul li a.four {background:#fff url(http://www.zzsky.cn/effect/images/search.jpg) top left no-repeat;}
| + | |
- | #tabs ul li a.five {background:#fff url(http://www.zzsky.cn/effect/images/profile.jpg) top left no-repeat;}
| + | |
- | #tabs ul li a.six {background:#fff url(http://www.zzsky.cn/effect/images/draw.jpg) top left no-repeat;}
| + | |
- | #tabs ul li div {display:none;}
| + | |
- | #tabs ul li:hover {padding-bottom:132px; border-bottom:1px solid #fff; color:#000; margin-bottom:0;}
| + | |
- | #tabs ul li:hover > a.outer {color:#000; background-position:0 -55px; height:55px; cursor:default;}
| + | |
- | * html #tabs ul li a.outer:hover {padding-bottom:130px; border-bottom:1px solid #fff; height:55px; color:#000; margin-bottom:0;background-position:0 -55px; height:55px; cursor:default;}
| + | |
- | #tabs ul li:hover div {display:block; padding:5px; position:absolute; left:4px; top:55px; width:381px; height:118px; border-bottom:3px solid #fff;}
| + | |
- | #tabs ul li a:hover div {display:block; padding:5px; position:absolute; left:4px; top:55px; width:381px; height:118px; border-bottom:3px solid #fff;}
| + | |
- | #tabs ul li a:hover div.tab_left,
| + | |
- | #tabs ul li:hover div.tab_left
| + | |
- | {background:#fff url(http://www.zzsky.cn/effect/images/tab_left.gif);}
| + | |
- | #tabs ul li a:hover div.tab_center,
| + | |
- | #tabs ul li:hover div.tab_center
| + | |
- | {background:#fff url(http://www.zzsky.cn/effect/images/tab_center.gif);}
| + | |
- | #tabs ul li a:hover div.tab_right,
| + | |
- | #tabs ul li:hover div.tab_right
| + | |
- | {background:#fff url(http://www.zzsky.cn/effect/images/tab_right.gif);}
| + | |
- | .clear {clear:both; height:0; line-height:0; overflow:hidden;}
| + | |
- | #tabs span.base {display:block; height:20px;font-size:10px; color:#bc8f8f; background:url(http://www.zzsky.cn/effect/images/bottom.gif) bottom;}
| + | |
- | #tabs div h5 {font-size:12px; margin-bottom:5px;}
| + | |
- | #tabs div p {font-weight:normal; text-align:left; color:#000; margin-top:2px;}
| + | |
- | #tabs div a img {border:0;}
| + | |
- | #tabs div img.image {float:left; border:0; margin-top:-35px; margin-right:5px;}
| + | |
- | #tabs div a.unlock {background:url(http://www.zzsky.cn/effect/images/unlock.gif); display:block; width:30px; height:30px; margin:0 auto;}
| + | |
- | #tabs div a:hover.unlock img {visibility:hidden;}
| + | |
- | #tabs p.bold {color:#069; padding-top:5px;}
| + | |
- | * html #tabs p.fire {margin-top:-15px;}
| + | |
- | * html #tabs form {margin-top:-20px;}
| + | |
- | #tabs p.buttons {text-align:center;}
| + | |
- | </style> | + | |
| </head> | | </head> |
- | <body> | + | <body onload="changeTableBg();"> |
- | <!--把下面代码加到<body>与</body>之间--> | + | <div id="menu"> |
- | <div id="tabs"> | + | <ul> |
- | <p class="bold">Mini tabbed pages - 9th February 2007</p> | + | <li id="m_1" class='m_li_a'><a href="#">首页</a></li> |
- | <ul> | + | <li class="m_line"><img src="images/200811050815_line.gif" /></li> |
- | <li><a href="#nogo" class="one outer">WORLD<!--[if IE 7]><!--></a><!--<![endif]--> | + | <li id="m_2" class='m_li' onmouseover='mover(2);' onmouseout='mout(2);'><a href="#">政务公开</a></li> |
- | <!--[if lte IE 6]><table><tr><td><![endif]--> | + | <li class="m_line"><img src="images/200811050815_line.gif" /></li> |
- | <div class="tab_left"> | + | <li id="m_3" class='m_li' onmouseover='mover(3);' onmouseout='mout(3);'><a href="#">网上办事</a></li> |
- | <h5>World Wide Web</h5> | + | <li class="m_line"><img src="images/200811050815_line.gif" /></li> |
- | <p>This area can hold anything you like<a href="index.html">Main Menu</a>.</p> | + | <li id="m_4" class='m_li' onmouseover='mover(4);' onmouseout='mout(4);'><a href="#">公告中心</a></li> |
| + | <li class="m_line"><img src="images/200811050815_line.gif" /></li> |
| + | <li id="m_5" class='m_li' onmouseover='mover(5);' onmouseout='mout(5);'><a href="#">法规中心</a></li> |
| + | <li class="m_line"><img src="images/200811050815_line.gif" /></li> |
| + | <li id="m_6" class='m_li' onmouseover='mover(6);' onmouseout='mout(6);'><a href="#">财税文化</a></li> |
| + | <li class="m_line"><img src="images/200811050815_line.gif" /></li> |
| + | <li id="m_7" class='m_li' onmouseover='mover(7);' onmouseout='mout(7);'><a href="#">专题宣传</a></li> |
| + | </ul> |
| </div> | | </div> |
- | <!--[if lte IE 6]></td></tr></table></a><![endif]--> | + | <div style="height:32px; background-color:#F1F1F1;"> |
- | </li> | + | <ul class="smenu"> |
- | <li><a href="#nogo" class="two outer">UNLOCK<!--[if IE 7]><!--></a><!--<![endif]--> | + | <li style="padding-left:29px;" id="s_1" class='s_li_a'>欢迎光临,您是本站第2842位客人!</li> |
- | <!--[if lte IE 6]><table><tr><td><![endif]-->
| + | <li style="padding-left:141px;" id="s_2" class='s_li' onmouseover='mover(2);' onmouseout='mout(2);'><a href="#">财税简介</a> | <a href="#">机构设置</a> | <a href="#">办事指南</a> | <a href="#">税种简介</a> | <a href="#">财税动态</a> | <a href="#">公车动态</a></li> |
- | <div class="tab_center">
| + | <li style="padding-left:252px;" id="s_3" class='s_li' onmouseover='mover(3);' onmouseout='mout(3);'><a href="#">下载专区</a> | <a href="#">上传专区</a> | <a href="j#">申请报名</a> | <a href="#">查询系统</a> | <a href="#">咨询投诉</a> | <a href="#">满意调查</a></li> |
- | <h5>Unlock the Secrets</h5>
| + | <li style="padding-left:362px;" id="s_4" class='s_li' onmouseover='mover(4);' onmouseout='mout(4);'><a href="#">最新公告</a> | <a href="#">会计通知</a></li> |
- | <a href="http://www.w3.org/Style/CSS/" class="unlock" title="Unlock the secrets of CSS at w3.org"><img src="http://www.zzsky.cn/effect/images/lock.gif" alt="Locked" title="Locked" /></a> | + | <li style="padding-left:474px;" id="s_5" class='s_li' onmouseover='mover(5);' onmouseout='mout(5);'><a href="#">最新政策</a> | <a href="#">政策法规查询</a></li> |
- | </div> | + | <li style="padding-left:447px;" id="s_6" class='s_li' onmouseover='mover(6);' onmouseout='mout(6);'><a href="#">税收宣传</a> | <a href="#">队伍建设</a> | <a href="#">文明创建</a> | <a href="#" target="_blank">青年论坛</a> | <a href="#">廉政课堂</a></li> |
- | <!--[if lte IE 6]></td></tr></table></a><![endif]-->
| + | <li style="padding-left:696px;" id="s_7" class='s_li' onmouseover='mover(7);' onmouseout='mout(7);'><a href="#">专题宣传区</a></li> |
- | </li>
| + | </ul> |
- | <li><a href="#nogo" class="three outer">MAIL<!--[if IE 7]><!--></a><!--<![endif]-->
| + | |
- | <!--[if lte IE 6]><table><tr><td><![endif]-->
| + | |
- | <div class="tab_right">
| + | |
- | <h5>Email</h5>
| + | |
- | <p>Maybe a link to your emails or a form asking to login to<a href="http://www.cssplay.co.uk/w3c/contact.html">Contact Page</a>.</p>
| + | |
- | </div> | + | |
- | <!--[if lte IE 6]></td></tr></table></a><![endif]-->
| + | |
- | </li>
| + | |
- | </ul>
| + | |
- | <br class="clear" />
| + | |
- | <ul> | + | |
- | <li><a href="#nogo" class="four outer">SEARCH<!--[if IE 7]><!--></a><!--<![endif]-->
| + | |
- | <!--[if lte IE 6]><table><tr><td><![endif]-->
| + | |
- | <div class="tab_left">
| + | |
- | <h5>Search This Site</h5>
| + | |
- | <p>You can add a search form here.</p> | + | |
- | </div>
| + | |
- | <!--[if lte IE 6]></td></tr></table></a><![endif]-->
| + | |
- | </li> | + | |
- | <li><a href="#nogo" class="five outer">PROFILE<!--[if IE 7]><!--></a><!--<![endif]--> | + | |
- | <!--[if lte IE 6]><table><tr><td><![endif]-->
| + | |
- | <div class="tab_center">
| + | |
- | <h5>Your Profile</h5> | + | |
- | <form id="two" action="..." method="post"> | + | |
- | <fieldset id="personal">
| + | |
- | <label for="login">login:</label>
| + | |
- | <input name="login" id="login" type="text" tabindex="1" />
| + | |
- | </fieldset> | + | |
- | <p class="buttons"> | + | |
- | <input id="button1" type="submit" value="Send" />
| + | |
- | <input id="button2" type="reset" value="Reset" />
| + | |
- | </p> | + | |
- | </form> | + | |
- | </div> | + | |
- | <!--[if lte IE 6]></td></tr></table></a><![endif]--> | + | |
- | </li>
| + | |
- | <li><a href="#nogo" class="six outer">DRAW<!--[if IE 7]><!--></a><!--<![endif]-->
| + | |
- | <!--[if lte IE 6]><table><tr><td><![endif]-->
| + | |
- | <div class="tab_right">
| + | |
- | <h5>Learn how to Draw</h5> | + | |
- | <a href="http://www.adobe.com/products/fireworks/"><img class="image" src="http://www.zzsky.cn/effect/images/fireworks.gif" alt="Adobe Fireworks 8" title="Adobe Firerworks 8" /></a> | + | |
- | <p class="fire">Get top-quality design results.</p>
| + | |
- | </div>
| + | |
- | <!--[if lte IE 6]></td></tr></table></a><![endif]-->
| + | |
- | </li> | + | |
- | </ul> | + | |
- | <br class="clear" />
| + | |
- | <span class="base">All rights reserved</span>
| + | |
| </div> | | </div> |
| + | |
| </body> | | </body> |
| </html> | | </html> |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">