3 回答
TA贡献1804条经验 获得超2个赞
< a target = "main" href = "#" >点我试试</ a > < iframe name = "main" src = "" /> |
原本<a>被点击后, 会显示的内容, 将显示到<iframe>这个页内框架中!
TA贡献1836条经验 获得超5个赞
<table border="0" align="center" cellpadding="0" cellspacing="5">
<tr>
<td>
<c:choose>
<%String backurl=(String)request.getAttribute("BackURL");
if(backurl.length()>3){
String ext=backurl.substring(backurl.length()-3);
if(ext.equalsIgnoreCase("jsp")){ %>
<a href="javascript:location.href='${BackURL}'" target="main"> <img
src="<%=refpath%>/images/btn_fanhui.png" width="69"
height="23" border="0" align="middle"> </a>
<%}else{%>
<a href="javascript:location.href='${BackURL}'"> <img
src="<%=refpath%>/images/btn_fanhui.png" width="69"
height="23" border="0" align="middle"> </a>
<%}
} %>
</c:choose>
</td>
</tr>
</table>
添加回答
举报