JavaScript Reference/Event Handlers Reference/onTimeError
Содержание
"onTimeError" Example
<source lang="javascript">
<html xmlns:t = "urn:schemas-microsoft-com:time"> <head></head> <body ontimeerror="alert("An HTML+TIME error has ocurred")">
<?import namespace=t urn="urn:schemas-microsoft-com:time" implementation="#default#time2"/> <t:excl id=t1 onend="alert("The animation ended")" onbegin="alert("Beginning animation!")" begin="indefinite" dur="5" repeatCount="3"> <t:animatemotion id=a1 targetElement="myDiv" to="250,0" autoReverse="true" begin="1" dur="2"> </t:animatemotion> </t:excl>
<button onclick=t1.beginElement();>Start animation</button> <button onclick=t1.endElement();>Stop animation</button>
</body> </html>
</source>
"onTimeError" is applied to
<source lang="javascript">
+----------------+--------------------------------------------------------------+ | Applied_To |<a> <acronym> | | |<address> <area> | | | |
| |<button> | | || | |
| |<dir>| | |
|| | |
- | | | <fieldset> | | | <form> | | |<hn>
|| | <iframe> | | |<img> <input type="button"> | | |<inputtype="checkbox"> <input type="file"> | | |<input type="hidden"> <input type="image"> | | |<input type="password"> <input type="radio"> | | |<input type="reset"> <inputtype="submit"> | | |<input type="text"> | | | <legend> |
| |- <listing> | | |<marquee> <menu> | | |
<option> | | |
| | || | | selection | | | | | || | | | | |<tbody> | | |
<textarea> | | |<tfoot> | | |<thead> | | | | | | | | |<xmp> | +----------------+--------------------------------------------------------------+ </source>
"onTimeError" Properties
<source lang="javascript"> +----------------+--------------------------------------------------------------+ | Properties |srcElement type | +----------------+--------------------------------------------------------------+
</source>
"onTimeError" Syntax and Note
<source lang="javascript"> Note:
This event fires when a specific time error occurs.
</source>