HBCMS更多的中文手册参考: 模板Smarty语法 Big5繁體顯示 宏博cms自助建站系统(PHP+MYSQL完全免费,欢迎试用)
 

ontimeerror Event

DHTML中文手册

Fires whenever a time-specific error occurs, usually as a result of setting a property to an invalid value.

dhtml语法

Inline HTML<ELEMENT ontimeerror = "handler" ... > All platforms
Named script <SCRIPT FOR = object EVENT = ontimeerror> Internet Explorer only

Event Information

BubblesNo
CancelsNo
To invoke Set a time property, such as dur, to an invalid value.
Default action Calls the associated event handler.

Available Properties

Available Properties

remarks

the ontimeerror event can only be set on the body. use the for attribute of the script element to attach the ontimeerror event handler to the BODY.

<SCRIPT FOR="BODY" event="ontimeerror">
alert("An HTML+TIME error has occurred.");
</SCRIPT>

是否符合公共标准

This event is a Microsoft extension to Synchronized Multimedia Integration Language (SMIL) Non-Microsoft link.

Applies To

A, ACRONYM, ADDRESS, AREA, B, BIG, BLOCKQUOTE, BUTTON, CAPTION, CENTER, CITE, CODE, DD, DEL, DIR, DIV, DL, DT, EM, FIELDSET, FONT, FORM, 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, KBD, LEGEND, LI, LISTING, MARQUEE, MENU, OL, OPTION, P, PLAINTEXT, PRE, Q, S, SAMP, selection, SMALL, SPAN, STRIKE, STRONG, SUB, SUP, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TR, TT, U, UL, VAR, XMP

更多语法参考

Introduction to HTML+TIME
欢迎您学习DHTML