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

removeBehavior Method

Internet Development Index

Detaches a behavior from the element.

Syntax

bSuccess = object.removeBehavior(iID)

Parameters

iID Required. Integer爐hat specifies the identifier returned from a previous addBehavior call.

Return Value

Returns one of the following possible values:

trueThe behavior was successfully removed.
falseThe behavior was not removed.

Remarks

This method applies only to attached behaviors, which are the original Dynamic HTML (DHTML) behaviors introduced in Microsoft® Internet Explorer 5. Element behaviors are a new feature in Internet Explorer 5.5 and cannot be added or removed from an element.

Example

This example uses the removeBehavior method to show how a behavior that implements a mouseover highlighting effect can be dynamically removed from all li elements on a page.

<SCRIPT LANGUAGE="JScript">
var collBehaviorID = new Array();
var collLI = new Array ();
var countLI = 0;
:
function detachBehavior()
{
for (i=0; i < countLI; i++)
collLI[i].removeBehavior (collBehaviorID [i]);
}
</SCRIPT>
:
Click <A HREF="javascript:detachBehavior()">here</A>
to remove highlighting effect.
:
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.

Standards Information

There is no public standard that applies to this method.

Applies To

A, ACRONYM, ADDRESS, APPLET, AREA, B, BASE, BASEFONT, BGSOUND, BIG, BLOCKQUOTE, BODY, BR, BUTTON, CAPTION, CENTER, CITE, CODE, COL, COLGROUP, COMMENT, CUSTOM, 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, STYLE, SUB, SUP, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TITLE, TR, TT, U, UL, VAR, WBR, XML, XMP

See Also

addBehavior, Introduction to DHTML Behaviors, Using DHTML Behaviors, About Element Behaviors, Implementing DHTML Behaviors in Script
视频| 灵山县| 陇川县| 吉林市| 恩平市| 洱源县| 曲阜市| 抚松县| 上林县| 偏关县| 芜湖县| 山阳县| 邵武市| 昌黎县| 珲春市| 平阴县| 常山县| 克什克腾旗| 渭南市| 玉龙| 乡城县| 东兴市| 青川县| 涟源市| 郓城县| 星子县| 游戏| 巴楚县| 普兰店市| 肥乡县| 花垣县| 秦皇岛市| 托克逊县| 宜章县| 邯郸县| 正阳县| 黄陵县| 鹰潭市| 宜都市| 锡林浩特市| 丁青县|