最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

homePage Behavior

Internet Development Index

Contains information about a user's homepage.

Syntax

XML <Prefix: CustomTag ID=sID STYLE="behavior:url('#default#homePage')" />
HTML <ELEMENT STYLE="behavior:url('#default#homePage')" ID=sID>
Scriptingobject.style.behavior = "url('#default#homePage')"
object.addBehavior ("#default#homePage")

Possible Values

PrefixPrefix that associates the CustomTag with an XML namespace. This prefix is set using the XMLNS attribute of the HTML tag.
CustomTagUser-defined tag.
sIDString that specifies a unique identifier for the object.

Members Table

MethodDescription
isHomePage Determines whether the specified URL refers to the client's home page.
navigateHomePage Navigates the browser to a user's home page.
setHomePage Sets a user's home page to the specified value.

Remarks

The members listed in the preceding table might not be accessible through scripting until the window.onload event fires. Waiting for this event to fire ensures that the page is completely loaded, that all behaviors have been applied to corresponding elements on the page, and that all the behavior's properties, methods, and events are available for scripting. To prevent a scripting error—which would indicate that the object does not support a particular member—do not use any of the behavior-defined members before the window.onload event fires.

The homePage behavior is available as of Microsoft® Internet Explorer 5, in the Microsoft Win32® and Unix platforms.

Example

This example uses the homePage behavior to set the user's home page to the specified URL.

<HTML XMLNS:IE>
<HEAD>
<STYLE>
@media all {
IE\:homePage {behavior:url(#default#homepage)}
}
</STYLE>
<SCRIPT>
function fnVerify(){
sQueryHome = oHomePage.isHomePage(oHomeHref.value);
alert(sQueryHome);
event.returnValue = false;
}
function fnGo(){
oHomePage.navigateHomePage();
event.returnValue=false;
}
function fnSet(){
oHomePage.setHomePage(oHomeHref.value);
event.returnValue = false;
}
</SCRIPT>
</HEAD>
<BODY>
<IE:homePage ID="oHomePage" />
<INPUT TYPE=text ID=oHomeHref VALUE="http://www.microsoft.com">
<INPUT TYPE=button VALUE="Verify" onclick="fnVerify()">
<INPUT TYPE=button VALUE="Set" onclick="fnSet()">
<INPUT TYPE=button VALUE="Navigate" onclick="fnGo()">
</BODY>
</HTML>
This feature requires Microsoft® Internet Explorer 5 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

Applies To

A, ACRONYM, ADDRESS, APPLET, AREA, B, BASE, BASEFONT, BDO, BGSOUND, BIG, BLOCKQUOTE, BODY, BR, BUTTON, CAPTION, CENTER, CITE, CODE, COL, COLGROUP, COMMENT, DD, DEL, DFN, DIR, DIV, DL, DT, EM, EMBED, FIELDSET, FONT, FORM, FRAME, FRAMESET, HEAD, hn, HR, HTML, 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, LINK, LISTING, MAP, MARQUEE, MENU, nextID, NOBR, NOFRAMES, NOSCRIPT, OBJECT, OL, OPTION, P, PLAINTEXT, PRE, Q, RT, RUBY, S, SAMP, SCRIPT, SELECT, SMALL, SPAN, STRIKE, STRONG, SUB, SUP, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TITLE, TR, TT, U, UL, VAR, WBR, XML, XMP

See Also

Introduction to DHTML Behaviors
湖北省| 恩施市| 中卫市| 库伦旗| 长丰县| 女性| 兴国县| 潞西市| 丹寨县| 拜城县| 泾源县| 温州市| 饶河县| 承德县| 南开区| 呼玛县| 曲沃县| 花莲市| 贺兰县| 昌邑市| 宁南县| 平和县| 陵川县| 湘西| 凤冈县| 信阳市| 和平区| 贺州市| 翁牛特旗| 谷城县| 股票| 周口市| 策勒县| 化隆| 武夷山市| 梓潼县| 木里| 伊金霍洛旗| 重庆市| 澎湖县| 耒阳市|