2012-09-18 11:35:00
局部控制
<a href=“link1.htm” onfocus=“this.blur()">link1</a>
<a href=“link1.htm” onfocus=“this.close()">link1</a>
<a href=“link1.htm” hidefocus=“true”>link1</a>
<a href=“link1.htm” hidefocus=“hidefocus”>link1</a>
全局控制
CSS实现
a{blr:expression(this.onFocus=this.close());} /* 只支持IE,过多使用效率低 /
a{blr:expression(this.onFocus=this.blur());} / 只支持IE,过多使用效率低 /
a:focus { -moz-outline-style: none; } / IE不支持 */
评论 (0)