姜运涛
金牌会员
 
UID 64643
精华
0
积分 1450
帖子 1333
金钱 1449 喜悦币
威望 0
人脉 1
阅读权限 70
注册 2005-6-8 来自 大连
状态 离线
|
[推荐阅读] ERROR 1064
手册上的
QUOTE: HIDEFOCUS Attribute | hideFocus Property Internet Development Index
--------------------------------------------------------------------------------
Sets or retrieves the value indicating whether the object visibly indicates that it has focus.
Syntax
HTML <ELEMENT HIDEFOCUS ... >
Scripting object.hideFocus(v) [ = bHidden ]
Possible Values
bHidden Boolean that specifies or receives one of the following values.true Focus is not visibly indicated.
false Default. Focus is visibly indicated.
The property is read/write. The property has a default value of false.
Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.
Remarks
The focus of an object is visibly indicated by a focus rectangle—a dotted rectangle within the boundaries of the object.
This property does not control the ability of an object to receive focus; for that, use the tabIndex property.
Example
The following example shows how to use the HIDEFOCUS attribute to prevent a focus rectangle from appearing on a button.
HideExample
...
<BUTTON>
Button With Rectangle</BUTTON>
<BUTTON HIDEFOCUS="true">
Button Without Rectangle</BUTTON>
...
Show Me
Standards Information
There is no public standard that applies to this property.
Applies To
[ Object Name ]
Platform Version
Win32:
Windows CE:
Version data is listed when the mouse hovers over a link, or the link has focus.
A, ACRONYM, ADDRESS, APPLET, AREA, B, BDO, BIG, BLOCKQUOTE, BODY, BUTTON, CAPTION, CENTER, CITE, CUSTOM, DD, DFN, DIR, DIV, DL, DT, EM, EMBED, FIELDSET, FONT, FORM, FRAME, FRAMESET, hn, HR, I, IFRAME, IMG, INPUT type=button, INPUT type=checkbox, INPUT type=file, INPUT type=hidden, INPUT type=image, INPUT type=password, INPUT type=radio, INPUT type=reset, INPUT type=submit, INPUT type=text, INS, ISINDEX, KBD, LABEL, LEGEND, LI, LISTING, MARQUEE, MENU, OBJECT, OL, P, PLAINTEXT, PRE, Q, RT, RUBY, S, SAMP, SELECT, SMALL, SPAN, STRIKE, STRONG, SUB, SUP, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TR, TT, U, UL, VAR, XMP
Move the mouse pointer over an element in the Applies To list to display availability information for the listed platforms.
|
|