<!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></head>
<title>菜单</title>
<script>
function doClick_down(o){
o.className="menua";
var j;
var id;
var e;
for(var i=1;i<=4;i++){
id ="down"+i;
j = document.getElementById(id);
e = document.getElementById("d_con"+i);
if(id != o.id){
j.className="menu";
e.style.display ="none"; }else{
e.style.display = "block";
}
}
}
</script>
<body>
<table width="200%" height="35" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="5" height="35"/></td>
<td>
<a class="menu" id="down1" onmouseover="javascript:doClick_down(this)">图片</a>
<a class="menu" id="down2" onmouseover="javascript:doClick_down(this)">模板</a>
<a class="menu" id="down3" onmouseover="javascript:doClick_down(this)">图标</a>
<a class="menu" id="down4" onmouseover="javascript:doClick_down(this)">酷站</a>
</td>
<td width="220">
</td>
</tr>
</table>
<div class="menu2 undis" id="d_con1">
<a href="http://sc.chinaz.com/html/pictures/zrfg/zrfg_1.html" class="hei" title="风景图片">风景</a> |
<a href="http://sc.chinaz.com/html/pictures/huacaotp/huacaotp_1.html" class="hei" title="花草图片">花草</a> |
<a href="http://sc.chinaz.com/html/pictures/shuiziyuantp/shuiziyuantp_1.html" class="hei" title="山水图片">山水</a>|
<a href="http://sc.chinaz.com/html/Pictures/dongwu/dongwu_1.html" class="hei" title="动物图片">动物</a> |
</div>
<div class="menu2 undis" id="d_con2">
<a href="http://sc.chinaz.com/html/webtemplets/eng/ylbj/index_1.html" title="医疗保健模板" class="hei">医疗</a> |
<a href="http://sc.chinaz.com/html/webtemplets/eng/dzjx/index_1.html" title="电子产品模板" class="hei">电子</a> |
<a href="http://sc.chinaz.com/html/webtemplets/eng/dzsw/index_1.html" title="电子商务模板" class="hei">商务</a> |
<a href="http://sc.chinaz.com/html/webtemplets/eng/host/index_1.html" title="电脑主机模板" class="hei">主机</a> |
</div>
<div class="menu2 undis" id="d_con3">
<a href="http://sc.chinaz.com/html/icons/xtgh/index_1.html" class="hei" title="系统图标">系统</a> |
<a href="http://sc.chinaz.com/html/icons/wjj/index_1.html" class="hei" title="文件夹图标">文件夹</a> |
<a href="http://sc.chinaz.com/html/icons/yjl/index_1.html" class="hei" title="硬件图标">硬件</a> |
<a href="http://sc.chinaz.com/html/icons/dwzw/index_1.html" class="hei" title="动植物图标">动植物</a> |
</div>
<div class="menu2 undis" id="d_con4">
<a href="http://sc.chinaz.com/html/CoolSites/industry/index1_1.html" title="门户酷站" class="hei">门户</a> |
<a href="http://sc.chinaz.com/html/CoolSites/industry/index2_1.html" title="娱乐酷站" class="hei">娱乐</a> |
<a href="http://sc.chinaz.com/html/CoolSites/industry/index3_1.html" title="游戏酷站" class="hei">游戏</a> |
<a href="http://sc.chinaz.com/html/CoolSites/industry/index4_1.html" title="购物酷站" class="hei">购物</a> |
<a href="http://sc.chinaz.com/html/CoolSites/industry/index6_1.html" title="时尚酷站" class="hei">时尚</a>
</div>
</body>
</html>
有没有办法页面载入的时候不显示<子菜单>内容啊
style="display:none;"