测试时请将../images/back/db-0.png本地存大的图片:)
解决方案 »
- extjs Ext.ux.ManagedIframePanel 引发的问题
- Extjs tbar中显示问题
- window.open中断执行时提示错误
- 怎么解决这个问题
- 哪位大虾来帮帮忙啊!
- 回家过年,散分,顺便讨论Javascript字符串连接效率问题
- javascript中能设置整个页面的全局变量吗?
- 如何去掉index.aspx?id=xxxx中?后的字符串
- window.close()在什么情况下不起作用?
- 怎样调用javascript函数控制onunload和onbeforeunload事件
- 如何确定客户端指定目录下面是否存在某个文件
- 从WORD中粘贴一篇文章到 HTML在线编辑器中时候,编辑器如何知道文章是从WORD粘贴过来的??
function tests(){
alert(event.srcElement.outerHTML);
}
document.body.attachEvent("onclick",tests);
</script><style type="text/css">
#idDiv{left:140px; height:400;
width:400;
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/back/db-0.png',sizingMethod='scale');
background-image:none;
}
</style>
<div id='idDiv'>
<table style='position:relative'>
<tr>
<td style='cursor:hand;color:red'><a href='http://www.sohu.com'>超链能用了</a></td>
</tr>
<tr>
<td style='cursor:hand;color:red' onclick='alert(11)'>click能用了</td>
</tr>
</table>
</div>