For a long time has been for the work of the pages of the tedious and messy and distressed, do b/s many times the pain is doing in the performance layer of this piece, business logic and Data layer processing is much easier. Why? Because can not reuse, a large number of CSS and JavaScript and HTML staggered together, and then mixed with some program code, maintenance only painful feeling, often do not want to move, do not want to change. At the same time want the client's operations as beautiful
One. Two ways to use HTC:
Association behavior (Attach Behavior): IE 5.0 above support , HTC Technology appeared in the original intention. The main goal is to wrap the object's complex style changes in lieu of JavaScript + CSS.
Elemental behavior (Element Behavior): more than IE 5.5 support , advanced application of HTC Technology. The main purpose
Public: property elementBytes --------------------------------------------------------------------------------------Define an HTC attribute to expose it to documents containing the HTC.
FormatGet = "sgetfunction"Id = "spropertyid"Internalname = "sinternalname"Name = "sname"Persist = "bpersist"Put = "sputfunction"Value = "vvalue"/>
AttributeGetOptional. The string of the function called when the specified pr
. In addition, the creation and use of "behavior" is very simple and convenient. The required knowledge is just the CSS style sheet, HTML instructions, and JavaScript scripting language that we used to use. As long as you have some knowledge about this, have had practical programming experience, and learn and master the use of "behavior", there is no problem at all. We will take a "behavior" component that changes the font effect as an example to illustrate how to write and use a "behavior" and
code of the page. In addition, the creation and use of "behavior" is very simple and convenient. The required knowledge is just the CSS style sheet, HTML instructions, and JavaScript scripting language that we used to use. As long as you have some knowledge about this, have had practical programming experience, and learn and master the use of "behavior", there is no problem at all. We will take a "behavior" component that changes the font effect as an example to illustrate how to write and use
simplify the HTML code of the page. In addition, the creation and use of "behavior" is very simple and convenient. The required knowledge is just the CSS style sheet, HTML instructions, and javascript scripting language that we used to use. As long as you have some knowledge about this, have had practical programming experience, and learn and master the use of "behavior", there is no problem at all. We will take a "behavior" component that changes the font effect a
Htc
Ondocumentready Events--------------------------------------------------------------------------------------Occurs when the document that contains the behavior is completely parsed.
FormatEVENT = OndocumentreadyONEVENT = Seventhandlerfor = ElementID = SID/>
PropertyEVENTmust be selected. Specify a dynamicHTML (DHTML)event, or anything inHtcThe references listed in theHtmlComponent(HTC)A string that spec
** Event **
Ondocumentready eventBytes --------------------------------------------------------------------------------------This occurs when the document containing the action is completely parsed.
FormatEvent = ondocumentreadyOnevent = seventhandlerFor = ElementId = Sid/>
AttributeEventRequired. Specifies a dynamic HTML (DHTML) event, or any string of events specified by the HTML component (HtC) listed in the HT
HTC is an acronym for HTML component and is a client component supported by IE5 and subsequent versions of browsers. As far as I understand it, HTC is a set of scripts that encapsulate client behavior on a DHTML basis, each HTC with *.HTC file storage, and one HTC is a clien
Patent Infringement litigation between Apple and HTC is getting more and more interesting. Even Google is unable to sit down and transfer Nine patents that have not yet been hot to its partner HTC. HTC has brought its speed to the extreme. Today, it began to use the Nine patents bought from Google last week (September 1) to initiate an infringement lawsuit agains
Anonymous IE6/7 does not support CSS3 properties, IE8 also does not support CSS3 well. How to let IE 6/7/8 support Border-radius (rounded), Box-shadow (shadow), Text-shadow and so on these attributes? Here's a way to implement these properties through an HTC script first download the IE-CSS3.HTC script and then add it to the CSS:It is used by downloading it and putting it in your server directoryWrite the f
There are many ways to use the htc component to create a windows tab on the webpage. Here we will introduce a simple method-using the htc component.
The advantage of using htc is that it can be freely called and is a bit batch-processed. For example, if you want to use this tab on many webpages, you only need to create an ht
Security researchers said several HTC Android phones, including Evo 3D, Evo 4g, and Thunderbolt, contain security vulnerabilities, other applications that can automatically connect to the Internet may read personal data, including text messages, local information, emails, and phone numbers.
Three security researchers, including Artem Russakovskii, Justin Case, and Trevor Eckhart, found HTC was in a recent
The following describes how to create an HTC instance by creating an HTC instance with the mouse sliding over and highlighted.1. Create the HTC file architecture. A standard HTC file contains a SCRIPT block and a pair of optional COMPONENT tags. The code is as follows:Copy code 2. Write an executable script.In th
There are many ways to simulate a windows style tab on the webpage. Here we will introduce a simple method-using htc components.The advantage of using htc is that it can be freely called and is a bit batch-processed. For example, if you want to use this tab on many webpages, you only need to create an htc, then they are called separately on different web pages wi
HTC is one of the imported handsets in the Chinese market, and HTC has a certain market share in the Chinese market, and a growing number of people are opting to use HTC handsets in addition to the HTC Mobile smartphone, so there is also software for HTC Mobile data recovery
css|htc| Package
The following is a demonstration of the creation of HTC by creating a mouse over the highlighted HTC. 1, the creation of HTC file architecture. A standard HTC file contains a SCRIPT block and a pair of optional COMPONENT tags.
2, write an executable script.
When HTC makes a form, we tend to use CSS to redefine the style of form elements such as input boxes, buttons, and so on to look more beautiful. Many of the different elements in the form, such as the input box, the Submit button, and the Radio box, use a tag--input, which means that we can't define a style by just defining the input tag in the CSS. The general practice is to define several classes, and when writing a form, different elements are used
There are two methods to reference the HTC component in an HTML file. The method mentioned here is applicable to using the labeled behavior reference in a CSS file. When using this method to reference the HTC component, the path of the HTC file to be specified in the CSS file does not depend on the path of the HTML file to reference the file, but on the path of t
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.