首页上一页 1 下一页尾页 1 条记录 1/1页
程序运行错误
发表在PHP图书答疑
2016-03-04
是否精华
是
否
版块置顶:
是
否
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
</head>
<table width="761" height="20" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td width="67" align="center"><a href="index.php">首 页</a></td>
<td width="75" align="center"><a href="#" onMouseMove="Lmenu('新品')">新品上架</a></td>
<td width="75" align="center"><a href="#" onMouseMove="Lmenu('购物')">购物车</a></td>
<td width="74" align="center"><a href="#" onMouseMove="Lmenu('会员')">会员中心</a></td>
<td width="61" align="center"><a href="index.php" >在线帮助</a></td>
</table>
<div id="submenu" class="word_yellow"> </div>
<script language="javascript">
function Lmenu(value){
switch(value){
case "新品":
submenu.innerHTML="<a href='#'>商品展示</a>
<a href="#">销售排行榜</a><a href="#">商品查询</a>";
break;
case "购物":
submenu.innerHTML="<a href='#'>添加商品</a>
<a href="#">移出指定商品榜</a><a href="#">清空购物车</a>"
<a href="#">查询购物车</a><a href="#">填写订单信息</a>"
break;
case "会员":
submenu.innerHTML="<a href='#'>注册会员</a>
<a href="#">修改会员</a><a href="#">账户查询</a>";
break;
}
}
</script>
<body>
</body>
</html>
程序在这行: submenu.innerHTML="<a href='#'>商品展示</a> 就开始报错8669
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
</head>
<table width="761" height="20" border="0" cellpadding="0" cellspacing="0" >
<tr>
<td width="67" align="center"><a href="index.php">首 页</a></td>
<td width="75" align="center"><a href="#" onMouseMove="Lmenu('新品')">新品上架</a></td>
<td width="75" align="center"><a href="#" onMouseMove="Lmenu('购物')">购物车</a></td>
<td width="74" align="center"><a href="#" onMouseMove="Lmenu('会员')">会员中心</a></td>
<td width="61" align="center"><a href="index.php" >在线帮助</a></td>
</table>
<div id="submenu" class="word_yellow"> </div>
<script language="javascript">
function Lmenu(value){
switch(value){
case "新品":
submenu.innerHTML="<a href='#'>商品展示</a>
<a href="#">销售排行榜</a><a href="#">商品查询</a>";
break;
case "购物":
submenu.innerHTML="<a href='#'>添加商品</a>
<a href="#">移出指定商品榜</a><a href="#">清空购物车</a>"
<a href="#">查询购物车</a><a href="#">填写订单信息</a>"
break;
case "会员":
submenu.innerHTML="<a href='#'>注册会员</a>
<a href="#">修改会员</a><a href="#">账户查询</a>";
break;
}
}
</script>
<body>
</body>
</html>
程序在这行: submenu.innerHTML="<a href='#'>商品展示</a> 就开始报错8669