html中的hidefocus是什么意思
2013-04-18 18:52
411 查看
hideFocus即隐藏聚焦,具有使对象聚焦失效的功能,其功能相当于:
onFocus="this.blur()"
它的值是一个布尔值,如hideFocus=true。也可省略赋值直接写hideFocus。
你给的代码如果没有hideFocus,那么鼠标点击该超链接,则外面出现一个虚线框,即为聚焦。而使用了hideFocus则不会有虚线框。
hidefocus的属性有两个,一个为true,一个为flase;
在IE下,需要在标签 a 的结构中加入 hidefocus="true" 属性。即:
而在FF等浏览器中则相对比较容易,直接给标签 a 定义样式 outline:none; 就可以了,即:
a {
outline:none;
}
http://www.cnblogs.com/cuihongyu3503319/archive/2008/12/26/1363081.html
onFocus="this.blur()"
它的值是一个布尔值,如hideFocus=true。也可省略赋值直接写hideFocus。
你给的代码如果没有hideFocus,那么鼠标点击该超链接,则外面出现一个虚线框,即为聚焦。而使用了hideFocus则不会有虚线框。
hidefocus的属性有两个,一个为true,一个为flase;
在IE下,需要在标签 a 的结构中加入 hidefocus="true" 属性。即:
而在FF等浏览器中则相对比较容易,直接给标签 a 定义样式 outline:none; 就可以了,即:
a {
outline:none;
}
http://www.cnblogs.com/cuihongyu3503319/archive/2008/12/26/1363081.html
相关文章推荐
- html table tr td br 什么意思 缩写
- .html(arguments[0])其中的arguments[0] 什么意思
- HTML font: 12px/1.5 Arial; 是什么意思
- doctype html 什么意思
- html中 $('#wait_pls').show();什么意思
- html实体符号编码解析 < >  &;&#;&编码;&#编号;是什么意思什么编码
- HTML页面中rows="119,*,99"表示什么意思?
- java jsp html中渲染的概念是什么意思?
- html中的xmlns是什么意思?
- html最简单的按钮点击事件,onclick用法;以及this是什么意思?
- 在HTML中,cellpadding和cellspacing分别表示什么意思?还有border
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">是什么意思?
- <META http-equiv=Content-Type content="text/html; charset=gb2312">这句话什么意思?
- html中rel标签是什么意思
- schema在oracle里是什么意思(转:http://shanbei.info/schema-in-oracle-what-is-meant-in.html)
- html中的span是什么意思,有什么用
- $("#tb>tbody").find("tr:eq(1) td:eq(1)").html() ,这是什么意思?tr:eq(1)
- html table tr td br 什么意思 缩写
- HTML中tabIndex属性马克 tabIndex='-1'是什么意思
- F:HTML出现DESIGNTIMESP属性,请教DESIGNTIMESP是什么意思。。为何会出现!!!