问题描述
<%@pagelanguage="java"import="java.util.*"pageEncoding="gbk"%><html><head><scriptsrc="javascript/leftmenu.js"type="text/javascript"></script><linkhref="CSS2/leftmenu.css"type="text/css"rel="stylesheet"/><styletype="text/css">.STYLE1{color:#CC6600}</style><scriptlanguage="javaScript"type="text/javascript"></script></head><bodyonload="open()"><divid="leftmenu"><divid="folder"onClick="open()"ondblclick="open()"><imgid="folderclose"src="images/midclosedfolder.gif"/><imgid="clsf"src="images/clsfld.gif"onmouseup="open()"/><ahref="#"onClick="open()">产品管理</a></div><divid="productType"style="display:none"><imgid="folderclose"src="images/lastnodeline.gif"><spanclass="STYLE1"><imgid="clsf"src="images/doctemp.gif">产品类型管理</span></div><divid="productFolder"style="display:none"><imgid="folderclose"src="images/lastnodeline.gif"><imgid="clsf"src="images/doctemp.gif"><spanclass="STYLE1"onclick="open()">文件管理</span></div><divid="worker"style="display:none"><imgid="folderclose"src="images/lastnodeline.gif"><imgid="clsf"src="images/doctemp.gif"><spanclass="STYLE1">员工管理</span></div></div></body></html>
解决方案
解决方案二:
<ahref="javascript:open();">产品管理</a>
解决方案三:
<ahref="#"onClick="open()">产品管理</a>改成<ahref="javascript:open();">产品管理</a>