Web Design
Domain
Web Hosting
SEO
e-Commerce
Web Application
Downloads
Contact
Request A Quote
eRushabh Inc.  
home page About us mail us now. copyright information

dhtml scripting

DHTML behaviours allow a surprising degree of modularity in site designs, simplifying updates and alterations.

Fundamentally, DHTML behaviours represent the marriage of cascading style sheet (CSS) formatting and HTML Components functionality. By assigning DHTML behaviours to any element found on an HTML page, it offers incredible flexibility in content presentation.

DHTML behaviours are the result of an evolutionary process of Web design under Internet Explorer. Previously, if we wanted to add functionality to IE, we had to use ActiveX controls, which raised a number of troubling security and architecture issues. Microsoft developed the HTML Components standard (still awaiting World Wide Web Consortium adoption) as an XML replacement for ActiveX controls.

Think of HTML Components as encapsulated DHTML—we can implement them as reusable, self-contained files. HTML Components are usually coded using VBScript or JScript. More advanced behaviour-driven applications can be scripted using Windows Script Components (WSC) or any ActiveX-enabled programming language.

The importance of HTML Components
The obvious advantage of using HTML Components is that our code becomes clean and modular. As with JavaScript source files (.js), we can access and reuse our HTML Components code across multiple Web pages. Under HTML Components, we can alter a component by modifying a single file rather than making in-line changes throughout the Web site. Components encourage the separation of content from functionality.

DHTML behaviours provide numerous advanced programming tools, including extended browser methods, properties, and scripting access across domains. Behaviour functionality can be attached and detached dynamically from HTML elements using script. Moreover, Microsoft has made HTML Components an integral part of its .NET Web services strategy.