求帮助,至今还无人能正确解决此问题,急求高手帮忙
利用dreamweaver在asp页面中制作鼠标经过弹出菜单。出现错误提示:“在“applybehavior”进行编辑之后不能恢复选定内容。请以较少的步骤进行编辑,并且不要删除选定对象,支伤将不被添加到您的文档.”
有人说去掉 language="JavaScript1.2 中的1.2我去了,也不管用
请教高手指教一下。怎样才能解决,就用这个方法,
在线等!!!
[最优解释]
不要直接在DW中编辑
给你写个简单的:
<!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>无标题文档</title>
<script src="lgwjs/jquery.js"></script>
<style>
.xx{
position:absolute;
left:0;
top:0;
display:none;
background:#E8E8E8;}
</style>
</head>
<body>
<table width="980" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#CCCCCC" style="cursor:pointer">
<tr>
<td height="35" align="center" id="tm1" onmouseover="cmenu('1')"> <b>关于我们</b>
<div id="menu1" class="xx">
<table width="120" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="25" align="center">企业文化</td>
</tr>
<tr>
<td height="25" align="center">服务理念</td>
</tr>
<tr>
<td height="25" align="center">团队实力</td>
</tr>
</table>
</div></td>
<td align="center" id="tm2" onmouseover="cmenu('2')"> <b>新闻资讯</b><div id="menu2" class="xx">
<table width="120" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="25" align="center">企业文化</td>
</tr>
<tr>
<td height="25" align="center">服务理念</td>
</tr>
<tr>
<td height="25" align="center">团队实力</td>
</tr>
</table>
</div>
</td>
<td align="center" id="tm3" onmouseover="cmenu('3')"> <b>产品展示</b><div id="menu3"class="xx">
<table width="120" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="25" align="center">企业文化</td>
</tr>
<tr>
<td height="25" align="center">服务理念</td>
</tr>
<tr>
<td height="25" align="center">团队实力</td>
</tr>
</table>
</div></td>
<td align="center" > <b>人才招聘</b></td>
<td align="center"> <b>留言咨询</b></td>
<td align="center"> <b>联系我们</b></td>
</tr>
</table>
<script>
function cmenu(d)
{
var dx=$("#tm"+d).offset();
dxtop=dx.top;
dxleft=dx.left;
$("#menu"+d).css({top:dxtop+34,left:dxleft+30});
$("#menu"+d).fadeIn(1000);
}
</script>
</body>
</html>