<! 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>div+css imitation netease sliding door technology ajax</title>
<style type= "Text/css" >
<!--
#header {
Background-color: #F8F4EF;
height:200px;
width:400px;
margin:0px;
padding:0px;
border:1px solid #ECE1D5;
font-family: "The song Body";
font-size:12px;
}
#menu {
margin:0px;
padding:0px;
List-style-type:none;
}
#menu Li {
Display:block;
width:100px;
Text-align:center;
Float:left;
margin:0px;
Padding-top:0.2em;
padding-right:0px;
Padding-bottom:0.2em;
padding-left:0px;
Cursor:hand;
}
. sec1 {background-color: #FFFFCC;}
. sec2 {background-color: #00CCFF;}
. Block {Display:block}
. unblock {display:none;}
-->
</style>
</head>
<body>
<script language=javascript>
function Secboard (n)
{
for (i=0;i<menu.childnodes.length;i++)
menu.childnodes[i].classname= "SEC1";
menu.childnodes[n].classname= "SEC2";
for (i=0;i<main.childnodes.length;i++)
main.childnodes[i].style.display= "None";
main.childnodes[n].style.display= "Block";
}
</script>
<div id= "header" >
<ul id= "menu" >
<li onmouseover= "secboard (0)" class= "SEC2" > Latest news </li>
<li onmouseover= "Secboard (1)" class= "SEC1" > Latest Articles </li>
<li onmouseover= "Secboard (2)" class= "SEC1" > Latest log </li>
<li onmouseover= "Secboard (3)" class= "SEC1" > Forum new posts </li>
</ul>
<!--content display area-->
<ul id= "main" >
<li class= "Block" > the first content, <a href= "http://www.qpsh.com/" > Welcome to the Web page special effects code </a></li>
<li class= "unblock" > second content, <a href= "http://www.qpsh.com/" > Welcome to Web Page Special effects code </a></li>
<li class= "unblock" > Third content, <a href= "http://www.qpsh.com/" > Welcome to Web Page Special effects code </a></li>
<li class= "unblock" > Fourth content, <a href= "http://www.qpsh.com/" > Welcome to the Web page special effects code </a></li>
</ul>
<!--content display area-->
</div>
</body>
</html>