<html>
<head>
<meta http-equiv="Content-Type" content="text/html">
<title>?QQ?航菜?-www.51windows.Net</title>
<style type="text/css">
.titleStyle{
background-color:#008800;color:#ffffff;border-top:1px solid #FFFFFF;font-size:9pt;cursor:hand;
}
.contentStyle{
background-color:#eeffee;color:blue;font-size:9pt;
}a{
color:blue;
}
body{
font-size:9pt;
}
</style>
</head>
<body><script language="JavaScript">
<!--
 var layerTop=20;       //菜???距
 var layerLeft=30;      //菜?左?距
 var layerWidth=140;    //菜???
 var titleHeight=20;    //???高度
 var contentHeight=200; //内容区高度
 var stepNo=10;         //移??数,数?越大移?越慢 var itemNo=0;runtimes=0;
 document.write('<span id=itemsLayer style="position:absolute;overflow:hidden;border:1px solid #008800;left:'+layerLeft+';top:'+layerTop+';width:'+layerWidth+';">'); function addItem(itemTitle,itemContent){
   itemHTML='<div id=item'+itemNo+' itemIndex='+itemNo+' style="position:relative;left:0;top:'+(-contentHeight*itemNo)+';width:'+layerWidth+';"><table width=100% cellspacing="0" cellpadding="0">'+
       '<tr><td height='+titleHeight+' onclick=changeItem('+itemNo+') class="titleStyle" align=center>'+itemTitle+'</td></tr>'+
       '<tr><td height='+contentHeight+' class="contentStyle">'+itemContent+'</td></tr></table></div>';
   document.write(itemHTML);
   itemNo++;
 }
    //添加菜???和内容,可任意多?,注意格式:
 addItem('?迎','<BR>  ?迎光???在?!');
 addItem('网?陶?','<center><a href="#">网?工具</a> <BR><BR><a href="#">技?平台</a> <BR><BR><a href="#">??理念</a> <BR><BR><a href="#">更多</a></center>');
 addItem('美工教室','<center><a href="#">平面?? </a> <BR><BR><a href="#">三?空?</a> <BR><BR><a href="#">??基?</a> <BR><BR><a href="#">更多..</a></center>');
 addItem('Flash','<center><a href="#">基?教程</a> <BR><BR><a href="#">技巧?用</a> <BR><BR><a href="#">?例剖析</a> <BR><BR><a href="#">更多..</a></center>');
 addItem('多媒体','<center><a href="#">DIRECTOR</a> <BR><BR><a href="#">Authorware</a> <BR><BR><a href="#">更多..</a></center>');
 addItem('精品?析','<center><a href="#">??精品</a></center>'); document.write('</span>')
 document.all.itemsLayer.style.height=itemNo*titleHeight+contentHeight; toItemIndex=itemNo-1;onItemIndex=itemNo-1; function changeItem(clickItemIndex){
   toItemIndex=clickItemIndex;
   if(toItemIndex-onItemIndex>0) moveUp(); else moveDown();
   runtimes++;
   if(runtimes>=stepNo){
     onItemIndex=toItemIndex;
     runtimes=0;}
   else
     setTimeout("changeItem(toItemIndex)",10);
 } function moveUp(){
   for(i=onItemIndex+1;i<=toItemIndex;i++)
     eval('document.all.item'+i+'.style.top=parseInt(document.all.item'+i+'.style.top)-contentHeight/stepNo;');
 } function moveDown(){
   for(i=onItemIndex;i>toItemIndex;i--)
     eval('document.all.item'+i+'.style.top=parseInt(document.all.item'+i+'.style.top)+contentHeight/stepNo;');
 }
 changeItem(0);
//-->
</script>
</body>
</html>