页面里放置一个绝对定位的 iframe 来加载相应的图片
解决方案 »
- jquery easyui 多屋拖放问题
- 判断当前浏览器首页地址的问题
- 关于给表格加一行
- 自己写了一个按shift多选复选框的例子,对数据列表很有用哦
- Extjs4如何实现页面内容下载
- 如何解决ONMOUSEMOVE占有CPU资源过高问题?
- 谁能把<form 提交到一个iframe中,而不是frameset中。
- 怎么获得当前页面上的所有的元素,类似于document.all.elements[..]。但是我知道这不行!
- 请教!一个简单问题!
- js中,如何释放内存
- 什么意思??var f = function(element) { element = $(element); } 其中后面的$那部分是什么意思????
- 如何让浏览者"只能"打开而不能"保存"?请教了
function viewPic(str){
document.all("lab2").innerHTML="<img src='d:/img/beachball.jpg'>";
}
</script><label id=lab1 onmouseover=viewPic("on") style="cursor:hand">浏览图片</label><table border="0" width="30%" id="table1">
<tr>
<td><label id=lab2></label></td>
</tr>
</table>
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>新建网页 1</title>
<script language="javascript">
function viewPic(str)
{
document.all("lab2").innerHTML="<img src='d:/img/beachball.jpg'>";
}
function f()
{
document.all("lab2").innerHTML="";
}
</script>
</head><body>
<label id=lab1 onmouseover=viewPic() onmouseout=f() style="cursor:hand">浏览图片</label><table border="0" width="30%" id="table1">
<tr>
<td><label id=lab2></label>
</td>
</tr>
</table></body></html>
cellpadding='0' cellspacing='0' bordercolordark='#FFFFFF' bordercolorlight='#999999'>
<TR>
<TD align='center' height=24 bgcolor='#6793F9' width='5%'><font color='white'>选择</font></TD>
<TD align='center' height=24 bgcolor='#6793F9' width='6%'><font color='white'>姓名</font></TD>
<TD align='center' height=24 bgcolor='#6793F9' width='10%'><font color='white'>证书名称</font></TD>
<TD align='center' height=24 bgcolor='#6793F9' width='6%'><font color='white'>证书类型</font></TD>
<TD align='center' height=24 bgcolor='#6793F9' width='16%'><font color='white'>备注</font></TD>
<TD align='center' height=24 bgcolor='#6793F9' width='10%'><font color='white'>查看证书</font></TD>
<TD align='center' height=24 bgcolor='#6793F9' width='10%'><font color='white'>修改</font></TD>
</TR>
<logic:iterate id="certList" name="certList" scope="request">
<tr bgcolor=''>
<td align='left' height=20 width='5%'>
<input name="CHK" type="checkbox" value='<bean:write name="certList" property="numid" />' >
</td>
<td align='center' height=20 width='6%'> <bean:write name="certList" property="userid" /></td>
<td align='center' height=20 width='10%'> <bean:write name="certList" property="zsname" /></td>
<td align='center' height=20 width='6%'> <bean:write name="certList" property="zstype" /></td>
<td align='center' height=20 width='16%'> <bean:write name="certList" property="memo" /></td>
<td align='center' height=20 width='10%'> <a href='#' onclick='showViewWindows(<bean:write name="certList" property="numid" />,"600","500")'>查看证书</a></td>
<td align='center' height=20 width='7%'> <a href='#' onclick='showUpdateWindows(<bean:write name="certList" property="numid" />,"800","350")'>修改</a></td>
</tr>
</logic:iterate>
</TABLE>鼠标移动到查看证书上面,就可以看见图片,移开就消失