Dynamic HTML is really just HTML with a few new elements plus access to those elements via a scripting language. The new elements give you more precise control over how your page looks and the new object model lets you manipulate those elements programmatically using scripts.Dynamic HTML is really just HTML with a few new elements plus access to those elements via a scripting language. The new elements give you more precise control over how your page looks and the new object model lets you manipulate those elements programmatically using scripts. Originally, HTML was designed to use free-flowing layouts. You had little control over how your text and images were displayed on the page. This was in anticipation of pages being viewed on a variety of platforms and machines with different screen sizes and available system fonts. Later, the <table> and <font> tags were added to allow a little more control over content layout and style. But these still had their limitations. JavaScript was introduced to allowed for some manipulation of certain page elements, such as images and form inputs, through programming but was also somewhat limited. Now, DHTML has added elements that give you precise control over the look of your page. These elements are: - Style Sheets let you define different styles for text presentation, such as color, margin size and fonts.
- Content Positioning let's you determine exactly where elements of your page appear within the browser window. Elements can even overlap, be hidden or be moved dynamically.
- Downloadable Fonts ensure that the font you choose for text will be used even if that font is not available on the client's machine.
The Document Object Model (DOM) defines both the properties of various page elements and the methods used to change them. Using scripts, you can dynamically alter the content of your page. For example, changes can be made based on the particular browser being used or in response to a user action. Browser CompatibilityBoth Netscape and Microsoft offer browsers that support DHTML but they differ in both accepted HTML syntax and scripting code. | DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware. |
More DHTML Articles More By MikeHall developerWorks - FREE Tools! | Achieving true agility is a never-ending effort. We will showcase how you can become agile incrementally, a few practices at the time.Which practices should any agile team strive to adopt? What additional practices should you consider based on your needs to scale? Adopting practices are however made much easier with the right tool support. What about if your tools adapt to your practices? We will take a look at how the Jazz technology can be leveraged to make your process change the behavior of your tools. FREE! Go There Now!
| | | | Download the Rational Application Developer (RAD) v7.5 open beta code and start developing applications for the JEE5 standard which features EJB3.0, JPA, JSF 1.2, JSP 2.1 and Servlet 2.5 standards. When you use this beta you will see how you can increase developer productivity for already existing applications with improved support for refactoring, as well as adding new features to existing applications. In addition, the beta provides tooling for JD Edwards, Oracle, SAP, Siebel and PeopleSoft to improve the developer productivity with these enterprise systems. FREE! Go There Now!
| | | | Analysts, architects, and developers who have existing COBOL or PL/I skills and want to extend those skills to deploy new workloads on the mainframe can use the IBM Enterprise Modernization Sandbox for System z to find hands-on walkthroughs of common real world scenarios. The scenarios provide examples of how to rapidly design, create, assemble, test, and deploy high-quality Web, Web services, portal, and SOA applications for IBM CICS, IBM IMS, and IBM WebSphere Application Server. FREE! Go There Now!
| | | | Learn how to implement a build management system that uses and extends your existing automation technologies. This tutorial shows, step-by-step, how to install and configure IBM Rational Build Forge to manage builds for Jakarta Tomcat from source code. FREE! Go There Now!
| | | | Rational Modeling Extension for Microsoft .NET enhances usability for code generation supporting a more intelligent refactoring. The latest enhancements enable organizations with Java and .NET systems and software development maintain architectural integrity across heterogeneous platforms. FREE! Go There Now!
| | | | Join this Rational Talks to You teleconference on December 4 at 1:00 pm ET to discuss how Rational Method Composer can help meet your compliance objectives. Get your questions answered! FREE! Go There Now!
| | | | Discover how Rational tools and best practices for testing can make your job easier. The new Rational Testing eKits provide you with valuable resources – including demos, webcasts, tutorials, and articles – that help you address your specific testing needs across the software lifecycle. Five new eKits are available covering the topics of Requirements and Test Management, Functional Testing, Performance Testing, Code Quality and Embedded Systems, and SOA and Web Services Testing. FREE! Go There Now!
| | | | Get a free trial download of the latest version of IBM Rational Method Composer V7.2 which helps you deliver customized yet consistent process guidance to your project teams and IT organization, and includes the latest version of IBM Rational Unified Process (RUP), which has provided process guidance to teams since 1996. FREE! Go There Now!
| | | | In this webcast, you'll get an introduction to the eXtreme Transaction Processing (XTP) features of WebSphere Extended Deployment and the common architectural traits required by XTP applications. See how WebSphere Extended Deployment's ObjectGrid feature provides a state-of-the-art infrastructure for hosting XTP applications. FREE! Go There Now!
| | | | IBM Lotus Notes 8 provides a wide range of developers the ability to provide customized, integrated user interfaces via composite applications and via custom sidebar and toolbar plug-ins. This webcast provides you with tips and techniques to use with out-of-the-box capabilities of Lotus Notes 8, and survey how you can share useful components within your own company and within a larger community. FREE! Go There Now!
| | | | All FREE IBM® developerWorks Tools! | |
| | | | | | | DHTML ARTICLES |
- Text-Justify, Volume, and Other Style Sheet ... - Ruby-Position, Size, and Other Style Sheet P... - Padding, Pages, and More Style Sheet Propert... - Marks, Orphans, and More Style Sheet Propert... - Layouts, Margins, and Other Style Sheet Prop... - Floats, Fonts, and Other Style Sheet Propert... - Color, Filters, and Other Style Sheet Proper... - Borders and More with Style Sheets - Learning Style Sheet Properties - Style Sheet Property Reference - Completing a Noisy Image Application - An Object-Based Approach to Building Noisy I... - A Basic Method for Building Noisy Images - Adding More Features to Sliders with the Scr... - Using Sliders with the Scriptaculous Framewo...
|
| | |  | | | |