HTML Component (HTML COMPONENTS) is IE5. 0 One of the major expansion, its also the most revolutionary, Microsoft's intention is to replace HTML ACTIVEX control components, and as ACTIVE controls, HTML component is from the continued closure of the object can be an arbitrary use of the development, use HTML components has many advantages, this article will reveal some of you are!
HTML components into a lot of new terms, ideas, objects, methods, and properties, I will give you a calendar application to accept these, the application displays the current month of the calendar date, week and highlight the current date.
==== HTML behavior and conduct === HTC
HTML component encapsulates HTML content, and can be inserted into another HTML document. Before the appearance of the HTML component in the HMTL document using a custom control the only way is to use Microsoft ACTIVEX controls, ACTIVEX controls One of the drawbacks is the use of a client before installing HTML controls, on the other hand will be downloaded to the main page clients, is the author of HTML for the DHTML control is more attractive because they can use their familiar language to develop their own controls and components, HTC provides a simple mechanism to implement DHTML behaviors in script. A HTC file and HTML files without any difference, and to ". Htc" for the suffix, which includes a series of HTC custom scripts and explain elements, these elements define the HTML component properties, methods, events, etc., all of HTC elements by the object ID attribute as an object used in the script, all the methods and properties can be dynamic action in the script.
You can use the HTC achieve the following acts:
* Set the properties and methods. Through the "PROPERTY" and "METHOD" element of the definition of
* Set a custom event. Through the "EVENT" element to achieve, with the element of "fire ()" method of release events,
By "createEventObject ()" method to set the event environment.
* Included in the visit of the HTML page HTC DHTML object model, using HTC's "element" object to return
An additional element of behavior, the use of the object, HTC can visit include the text block and its object model (properties, methods, events).
* Receipt of notice, using "ATTACH" element to achieve, the browser will not only inform the HTC standard DHTML events, and links
HTC to know two special events: oncontentready events and ondocumentready event.
HTC encapsulates the behavior of the definition of the concept of behavior the first time in IE5. 0 in, HTC's advanced behavioral elements package that behavior can not and marked separation in IE5. 0, in the script behavior can be separated from the elements , while in IE5. 5, the element can not separate their original behavior.
Recommand Link:
ts FILES
Youtube Video to H264 Freeware
Youtube FLV to Blackberry Guide
OJOsoft MP4 to MP3 Converter
AoreSoft DVD to iPhone Video Suite
Youtube Video To PDA Store
converter flv to 3gp
WAVE BlackBerry Studio
avi To iphone
For you Animation Tools
Hope DVD to FLV
ps3 FORMAT
Bliss CD WAVE AC3 to MPC Manager
Comments Reference Tools
Kaspersky Reminder: alert "Daohao Agent" Trojan