<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="Include/Cn_style.css" rel="stylesheet" type="text/css">
<script language="JavaScript" src="include/Cn_menu.js"></script>
<style type="text/css">.nav {font-size:12px;}.nav1 {font-size:12px;}.nav2 {font-size:13px; cursor:hand}.submenu {position:absolute;background-color:#444444;width:100;padding:1px}
.menu_over {FONT-FAMILY: Verdana; FONT-SIZE: 12px; background-color:#333333;text-align:center;cursor:hand }.menubc_over {FONT-FAMILY: Verdana; FONT-SIZE: 12px;color:#ffffff; background-color:#333333;text-align:center; cursor:hand}.td1 {FONT-FAMILY: "宋体"; FONT-SIZE: 12px; color:#ffffff; text-align:center}</style>
</head><body bgcolor="#F1F1F1" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="300" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#000000">
<script language="JavaScript">
var cm=null;
document.onclick=new Function("showmenu(null)");
function getpos(el,sprop)
{
var ipos=0;
while (el!=null)
{
ipos+=el["offset"+sprop];
el=el.offsetParent;
}
return ipos;
}function showmenu(el,m)
{
new Function("showmenu(null)");
if(m)
{
el.bgcolor="#FFFFFF";
m.style.display="";
m.style.left=getpos(el,"Left");
m.style.top=getpos(el,"Top")+25;
}
if ((m!=cm) && (cm))
cm.style.display="none";
cm=m;
}
function show_submenu(el,m)
{
//alert(m)
new Function("showmenu(null)");
if(m)
{
el.bgcolor="#FF34FF";
m.style.display="";
m.style.left=getpos(el,"Left")+50;
m.style.top=getpos(el,"Top")+25;
}
//if ((m!=cm) && (cm)) cm.style.display="none";
cm=m;
}
document.writeln("<table width=100% height=25 border=0 cellspacing=0 cellpadding=0 ><tr><td align=center><table width=100% height=25 border=0 cellspacing=0 cellpadding=0 ><tr align=center valign=middle><td class=\"nav1\" id=\"td1\" onmouseover=this.className=\"menu_over\";showmenu(td1,Child1); onmouseout=this.className=\"nav1\" onclick=window.location=\"index.asp\"><font color=#FFFFFF >礼花弹类</font></td><td class=\"nav1\" id=\"td6\" onmouseover=this.className=\"menu_over\";showmenu(td6,Child2); onmouseout=this.className=\"nav1\" onclick=window.location=\"index.asp\"><font color=#FFFFFF >球壳、发射筒、引线、零件</font></td></tr></table></td></tr></table>");
document.writeln("<div id=\"Child1\" class=\"submenu\" style=\"display:none;width:100\"><table width=100 bgcolor=#000000 ><tr><td class=\"td1\" id=\"td2\" onmouseover=this.className=\"menubc_over\";show_submenu(td2,Child2); onmouseout=this.className=\"td1\" > 菊花</td></tr><tr><td class=\"td1\" id=\"td11\" onmouseover=this.className=\"menubc_over\"; showmenu(td11,Child2); onmouseout=this.className=\"td1\" onclick=window.location=\"Product.asp\"> 牡丹</td></tr><tr><td class=\"td1\" id=\"td12\" onmouseover=this.className=\"menubc_over\"; showmenu(null); onmouseout=this.className=\"td1\" onclick=window.location=\"Product.asp\"> 单色波</td></tr></table></div>");
document.writeln("<div id=\"Child2\" class=\"submenu\" style=\"display:none;width:100\"><table width=100 bgcolor=#000000 ><tr><td class=\"td1\" id=\"td3\" onmouseover=this.className=\"menubc_over\"; showmenu(null); onmouseout=this.className=\"td1\" onclick=window.location=\"Product.asp\"> 单.混.边色菊花</td></tr><tr><td class=\"td1\" id=\"td4\" onmouseover=this.className=\"menubc_over\"; showmenu(null); onmouseout=this.className=\"td1\" onclick=window.location=\"Product.asp\"> 带芯、带花菊</td></tr><tr><td class=\"td1\" id=\"td5\" onmouseover=this.className=\"menubc_over\"; showmenu(null); onmouseout=this.className=\"td1\" onclick=window.location=\"Product.asp\"> 变色菊</td></tr></table></div>");
document.writeln("<div id=\"Child6\" class=\"submenu\" style=\"display:none;width:100\"><table width=100 bgcolor=#000000 ><tr><td class=\"td1\" id=\"td7\" onmouseover=this.className=\"menubc_over\"; showmenu(null); onmouseout=this.className=\"td1\" onclick=window.location=\"Product.asp\"> 球壳</td></tr><tr><td class=\"td1\" id=\"td8\" onmouseover=this.className=\"menubc_over\"; showmenu(null); onmouseout=this.className=\"td1\" onclick=window.location=\"Product.asp\"> 发射筒</td></tr><tr><td class=\"td1\" id=\"td9\" onmouseover=this.className=\"menubc_over\"; showmenu(null); onmouseout=this.className=\"td1\" onclick=window.location=\"Product.asp\"> 引线</td></tr><tr><td class=\"td1\" id=\"td10\" onmouseover=this.className=\"menubc_over\"; showmenu(null); onmouseout=this.className=\"td1\" onclick=window.location=\"Product.asp\"> 零件</td></tr></table></div>");
</script> </td>
</tr>
</table>
</body>
</html>
帮你把你的程序改了改,你的“菊花开了“。页面上的其他小问题自己改吧
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="Include/Cn_style.css" rel="stylesheet" type="text/css">
<script language="JavaScript" src="include/Cn_menu.js"></script>
<style type="text/css">.nav {font-size:12px;}.nav1 {font-size:12px;}.nav2 {font-size:13px; cursor:hand}.submenu {position:absolute;background-color:#444444;width:100;padding:1px}
.menu_over {FONT-FAMILY: Verdana; FONT-SIZE: 12px; background-color:#333333;text-align:center;cursor:hand }.menubc_over {FONT-FAMILY: Verdana; FONT-SIZE: 12px;color:#ffffff; background-color:#333333;text-align:center; cursor:hand}.td1 {FONT-FAMILY: "宋体"; FONT-SIZE: 12px; color:#ffffff; text-align:center}</style>
</head><body bgcolor="#F1F1F1" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="300" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#000000">
<script language="JavaScript">
var cm=null;
document.onclick=new Function("showmenu(null)");
function getpos(el,sprop)
{
var ipos=0;
while (el!=null)
{
ipos+=el["offset"+sprop];
el=el.offsetParent;
}
return ipos;
}function showmenu(el,m)
{
new Function("showmenu(null)");
if(m)
{
el.bgcolor="#FFFFFF";
m.style.display="";
m.style.left=getpos(el,"Left");
m.style.top=getpos(el,"Top")+25;
}
if ((m!=cm) && (cm))
cm.style.display="none";
cm=m;
}
function show_submenu(el,m)
{
//alert(m)
new Function("showmenu(null)");
if(m)
{
el.bgcolor="#FF34FF";
m.style.display="";
m.style.left=getpos(el,"Left")+50;
m.style.top=getpos(el,"Top")+25;
}
//if ((m!=cm) && (cm)) cm.style.display="none";
cm=m;
}
document.writeln("<table width=100% height=25 border=0 cellspacing=0 cellpadding=0 ><tr><td align=center><table width=100% height=25 border=0 cellspacing=0 cellpadding=0 ><tr align=center valign=middle><td class=\"nav1\" id=\"td1\" onmouseover=this.className=\"menu_over\";showmenu(td1,Child1); onmouseout=this.className=\"nav1\" onclick=window.location=\"index.asp\"><font color=#FFFFFF >礼花弹类</font></td><td class=\"nav1\" id=\"td6\" onmouseover=this.className=\"menu_over\";showmenu(td6,Child2); onmouseout=this.className=\"nav1\" onclick=window.location=\"index.asp\"><font color=#FFFFFF >球壳、发射筒、引线、零件</font></td></tr></table></td></tr></table>");
document.writeln("<div id=\"Child1\" class=\"submenu\" style=\"display:none;width:100\"><table width=100 bgcolor=#000000 ><tr><td class=\"td1\" id=\"td2\" onmouseover=this.className=\"menubc_over\";show_submenu(td2,Child2); onmouseout=this.className=\"td1\" > 菊花</td></tr><tr><td class=\"td1\" id=\"td11\" onmouseover=this.className=\"menubc_over\"; showmenu(td11,Child2); onmouseout=this.className=\"td1\" onclick=window.location=\"Product.asp\"> 牡丹</td></tr><tr><td class=\"td1\" id=\"td12\" onmouseover=this.className=\"menubc_over\"; showmenu(null); onmouseout=this.className=\"td1\" onclick=window.location=\"Product.asp\"> 单色波</td></tr></table></div>");
document.writeln("<div id=\"Child2\" class=\"submenu\" style=\"display:none;width:100\"><table width=100 bgcolor=#000000 ><tr><td class=\"td1\" id=\"td3\" onmouseover=this.className=\"menubc_over\"; showmenu(null); onmouseout=this.className=\"td1\" onclick=window.location=\"Product.asp\"> 单.混.边色菊花</td></tr><tr><td class=\"td1\" id=\"td4\" onmouseover=this.className=\"menubc_over\"; showmenu(null); onmouseout=this.className=\"td1\" onclick=window.location=\"Product.asp\"> 带芯、带花菊</td></tr><tr><td class=\"td1\" id=\"td5\" onmouseover=this.className=\"menubc_over\"; showmenu(null); onmouseout=this.className=\"td1\" onclick=window.location=\"Product.asp\"> 变色菊</td></tr></table></div>");
document.writeln("<div id=\"Child6\" class=\"submenu\" style=\"display:none;width:100\"><table width=100 bgcolor=#000000 ><tr><td class=\"td1\" id=\"td7\" onmouseover=this.className=\"menubc_over\"; showmenu(null); onmouseout=this.className=\"td1\" onclick=window.location=\"Product.asp\"> 球壳</td></tr><tr><td class=\"td1\" id=\"td8\" onmouseover=this.className=\"menubc_over\"; showmenu(null); onmouseout=this.className=\"td1\" onclick=window.location=\"Product.asp\"> 发射筒</td></tr><tr><td class=\"td1\" id=\"td9\" onmouseover=this.className=\"menubc_over\"; showmenu(null); onmouseout=this.className=\"td1\" onclick=window.location=\"Product.asp\"> 引线</td></tr><tr><td class=\"td1\" id=\"td10\" onmouseover=this.className=\"menubc_over\"; showmenu(null); onmouseout=this.className=\"td1\" onclick=window.location=\"Product.asp\"> 零件</td></tr></table></div>");
</script> </td>
</tr>
</table>
</body>
</html>
帮你把你的程序改了改,你的“菊花开了“。页面上的其他小问题自己改吧
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货