[查看演示] 源码如下 ---------------------------------------------------------- <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>图片上链接的虚线框-www.51windows.Net</title>
<style>body,td,div,a,input{font:menu}</style>
</head>
<body>
<p>图片上链接的虚线框(onfocus=blur(); )</p>
<p><a href="http://www.51windows.com" onFocus=blur()><img src="jsimg/logo.gif"
onfocus=this.blur(); border="0"></a><br>
<p>IE5.0以上(hideFocus=true)<br>
<p><a href="#" hideFocus=true ><img src="jsimg/logo.gif" hideFocus=true border="0"></a><br>
<br><br>
或
<p><style><br>
a{myhyli:expression(this.onfocus=this.blur);cursor:move}<br>
</style><br>
<a href=####><img src=http://www.blueidea.com/bbs/images/bbtitle.gif border=0></img></a></p>
</body>
</html>
<div style="position: absolute; top: 10; right: 10; width: 148; height: 18;cursor:hand">
<input type="button" name="Button" value="查看源代码" onClick= 'window.location = "view-source:" + window.location.href'></div> |