Home arrow HTML arrow Page 3 - How Browsers Respond to Active Client Pages
HTML

How Browsers Respond to Active Client Pages


In this article I will show you how browsers respond to Active Client Pages. In particular, we will focus on the question of whether different browsers respond to all the features of Active Client Pages as they should. Recall that browsers do not implement all the features in the HTML, JavaScript and DOM specifications. So we need to ask this question.

Author Info:
By: Chrysanthus Forcha
Rating: 3 stars3 stars3 stars3 stars3 stars / 2
September 01, 2009
TABLE OF CONTENTS:
  1. · How Browsers Respond to Active Client Pages
  2. · Summary of the Script Approach to ACP
  3. · Simple Example of ACP using Chrys's Approach
  4. · Technical Description of the Simple Example

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
How Browsers Respond to Active Client Pages - Simple Example of ACP using Chrys's Approach
(Page 3 of 4 )

Description

Let us look at a simple example here. The session begins with a master window. This master window has the possibility of producing only one window. The second window can produce two windows. One of these two windows can produce another window, while the other one can produce documents. The second document produced can produce a window. The following tree illustrates this:


Fig. 1.1 An ACP Tree


From the diagram, at level 0 you have the master window. At level 1 you have a window produced by the mater window. At level 2 you have two windows. At level 3 you have one window and two documents. At level 4 you have one window.

The window at level 0 (the master level) has a button. When this button is clicked, the window for level 1 will open. The window at level 1 can produce either one of two windows. It has two buttons; one will produce one of the windows. These are alternate windows. One of them is identified as page2_1, while the other is identified as page2_2.

Note that the two documents (Doc1 and Doc2) indicated are produced in sequence. The same window has to produce one before it produces the other. The windows are represented by small discs, and the documents (HTML) are represented by small circles. This is my way of representing the windows and documents. The use of a tree for ACP pages is just one of my additions to ACP. Note: Apart from the master page (first window), any other window or document is produced at the client's browser.

The window for page2_1 has a button, which, when clicked, would produce a window at level 3. This window of level 3 has a button that, when clicked, will display a value for a JavaScript variable residing in the master page, in an alert box.

The second document produced, at level 3, can produce a window. This document has a button that, when clicked, would produce a window at the fourth level. This document actually has two buttons; the other one will display the value of a JavaScript variable in the window of page2_2. The window at the fourth level also has a button; when you click this button, the value of a JavaScript variable in Doc1 is displayed.


blog comments powered by Disqus
HTML ARTICLES

- HTML5 Boilerplate: Working with jQuery and M...
- HTML5 Boilerplate Introduction
- New API Platform for HTML5
- BBC Adopts HTML 5, Mozilla Addresses Issues
- Advanced Sticky Footers in HTML and CSS
- HTML and CSS Sticky Footers
- Strategy Analytics Predicts HTML5 Phones to ...
- HTML5 Guidelines for Web Developers
- Learning HTML5 Game Programming
- More Engaging CSS3 and HTML Background Effec...
- Engaging HTML and CSS3 Background Effects
- More Web Columns with CSS3 and HTML
- Columns with CSS3 and HTML
- Creating Inline-Block HTML Elements with CSS
- Drag and Drop in HTML5: Parsing Local Files

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 11 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials