问题描述
<logic:notEmptyname="csvcList"><logic:iterateid="csvc"name="csvcList"indexId="csvcIndex">logic:equalname="csvc"property="csvcpcfg"value="Y"><td><ahref="<%=request.getContextPath()%>/mncl.do?fanu=CSVCC&main=ueCsvtCu.do?act=query~csvtcstp=<bean:writename="csvc"property="csvccstp"/>"target="_top"onmouseover="ShowHid(this)"onmouseout="HidShow(this)"title="咨询类型:<bean:writename="csvc"property="cstpname"/>
主持单位:<bean:writename="csvc"property="meacname"/>
咨询日期:<bean:writename="csvc"property="mtdtname"/>
进行状态:<bean:writename="csvc"property="pcfgname"/>
咨询介绍:<bean:writename="csvc"property="csvcinmt"/>"><imgsrc="<%=request.getContextPath()%>/por/images/man_<bean:writename="csvcIndex"/>.jpg"name="Image<bean:writename="csvcIndex"/>"border="0"id="Image<bean:writename="csvcIndex"/>"/></a></td></logic:equal>logic:equalname="csvc"property="csvcpcfg"value="H"><td><ahref="<%=request.getContextPath()%>/mncl.do?fanu=CSVCC&main=ueCsvtCu.do?act=query~csvtcstp=<bean:writename="csvc"property="csvccstp"/>"target="_top"onmouseover="ShowHid(this)"onmouseout="HidShow(this)"title="咨询类型:<bean:writename="csvc"property="cstpname"/>
主持单位:<bean:writename="csvc"property="meacname"/>
咨询日期:<bean:writename="csvc"property="mtdtname"/>
进行状态:<bean:writename="csvc"property="pcfgname"/>
咨询介绍:<bean:writename="csvc"property="csvcinmt"/>"><imgsrc="<%=request.getContextPath()%>/por/images/man_<bean:writename="csvcIndex"/>.jpg"name="Image<bean:writename="csvcIndex"/>"border="0"id="Image<bean:writename="csvcIndex"/>"/></a></td></logic:equal><logic:equalname="csvc"property="csvcpcfg"value="N"><td><ahref="javascript:alert('咨询尚未进行');"onmouseover="ShowHid(this)"onmouseout="HidShow(this)"title="咨询类型:<bean:writename="csvc"property="cstpname"/>
主持单位:<bean:writename="csvc"property="meacname"/>
咨询日期:<bean:writename="csvc"property="mtdtname"/>
进行状态:<bean:writename="csvc"property="pcfgname"/>
咨询介绍:<bean:writename="csvc"property="csvcinmt"/>"><imgsrc="<%=request.getContextPath()%>/por/images/man_<bean:writename="csvcIndex"/>.jpg"name="Image<bean:writename="csvcIndex"/>"border="0"id="Image<bean:writename="csvcIndex"/>"/></a></td></logic:equal></logic:iterate></logic:notEmpty>里面的所有的内容是我从数据库里查出来的,ie6sp1显示不出来,ie7或者ie6sp2可以显示出来,顺便说下我的系统是2003!
解决方案
解决方案二:
ShowHid(this)和HidShow(this)这两个方法是怎么定义的?里面是不是有javascript的错误我记着只需要定义title属性即可显示,另外一个可能会出现错误的地方是你在title属性的value中出现了"(如"csvc"),不太确定这个会不会出现错误
解决方案三:
<logic:notEmptyname="csvcList"><logic:iterateid="csvc"name="csvcList"indexId="csvcIndex"><logic:equalname="csvc"property="csvcpcfg"value="Y"><td><ahref="<%=request.getContextPath()%>/mncl.do?fanu=CSVCC&main=ueCsvtCu.do?act=query~csvtcstp=<bean:writename="csvc"property="csvccstp"/>"target="_top"title="咨询类型:<bean:writename="csvc"property="cstpname"/>
主持单位:<bean:writename="csvc"property="meacname"/>
咨询日期:<bean:writename="csvc"property="mtdtname"/>
进行状态:<bean:writename="csvc"property="pcfgname"/>
咨询介绍:<bean:writename="csvc"property="csvcinmt"/>"onmouseout="MM_swapImgRestore()"onmouseover="MM_swapImage('Image<bean:writename="csvcIndex"/>','','<%=request.getContextPath()%>/por/images/manover_<bean:writename="csvcIndex"/>.jpg',1)"><imgsrc="<%=request.getContextPath()%>/por/images/man_<bean:writename="csvcIndex"/>.jpg"name="Image<bean:writename="csvcIndex"/>"border="0"id="Image<bean:writename="csvcIndex"/>"/></a></td></logic:equal><logic:equalname="csvc"property="csvcpcfg"value="H"><td><ahref="<%=request.getContextPath()%>/mncl.do?fanu=CSVCC&main=ueCsvtCu.do?act=query~csvtcstp=<bean:writename="csvc"property="csvccstp"/>"target="_top"title="咨询类型:<bean:writename="csvc"property="cstpname"/>
主持单位:<bean:writename="csvc"property="meacname"/>
咨询日期:<bean:writename="csvc"property="mtdtname"/>
进行状态:<bean:writename="csvc"property="pcfgname"/>
咨询介绍:<bean:writename="csvc"property="csvcinmt"/>"onmouseout="MM_swapImgRestore()"onmouseover="MM_swapImage('Image<bean:writename="csvcIndex"/>','','<%=request.getContextPath()%>/por/images/manover_<bean:writename="csvcIndex"/>.jpg',1)"><imgsrc="<%=request.getContextPath()%>/por/images/man_<bean:writename="csvcIndex"/>.jpg"name="Image<bean:writename="csvcIndex"/>"border="0"id="Image<bean:writename="csvcIndex"/>"/></a></td></logic:equal><logic:equalname="csvc"property="csvcpcfg"value="N"><td><ahref="javascript:alert('咨询尚未进行');"title="咨询类型:<bean:writename="csvc"property="cstpname"/>
主持单位:<bean:writename="csvc"property="meacname"/>
咨询日期:<bean:writename="csvc"property="mtdtname"/>
进行状态:<bean:writename="csvc"property="pcfgname"/>
咨询介绍:<bean:writename="csvc"property="csvcinmt"/>"onmouseout="MM_swapImgRestore()"onmouseover="MM_swapImage('Image<bean:writename="csvcIndex"/>','','<%=request.getContextPath()%>/por/images/manover_<bean:writename="csvcIndex"/>.jpg',1)"><imgsrc="<%=request.getContextPath()%>/por/images/man_<bean:writename="csvcIndex"/>.jpg"name="Image<bean:writename="csvcIndex"/>"border="0"id="Image<bean:writename="csvcIndex"/>"/></a></td></logic:equal></logic:iterate>是这段代码,onmouseoverandonmouseout是切换图片的功能,但是在有的浏览器里能显示,在有的浏览器能显示!
解决方案四:
不知,帮顶
解决方案五:
加上title属性即可<ahref="http://www.yyy.com"target="_blank"accesskey="b"title="我">提示语为“我”</a>