JavaScript
  Home arrow JavaScript arrow Page 2 - Wrapping Up Chrys`s Approach to Active Cli...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
JAVASCRIPT

Wrapping Up Chrys`s Approach to Active Client Pages
By: Chrysanthus Forcha
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2009-09-18

    Table of Contents:
  • Wrapping Up Chrys`s Approach to Active Client Pages
  • Technical Description of the Simple Example
  • A Note on HTML Documents
  • Summary of the Window Phase of Chrys’s Approach to ACP

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Wrapping Up Chrys`s Approach to Active Client Pages - Technical Description of the Simple Example


    (Page 2 of 4 )

    Each window or document which would produce another window or document, has a button for that purpose. So there is a corresponding function for that purpose in any page. The window at the first level that can produce one of two windows has two buttons for that, and two corresponding functions.

    For simplicity, each window or document downloads the content of its next page, which may be a window or a document. The window at level one, which has to produce two windows, downloads the contents of the two pages.

    The store is simple. It includes only the following variable and assigned value (it contains just the following statement):

    var storeVarMaster = "It worked!";

    The third level has one window and two documents. The parent of the one window is different from the parent of the two documents. This one window has a button which, when clicked, would display the value of the above variable. That is, the alert box would display “It worked!”

    To achieve this, there is a Backward Propagation Code in each window in the chain (see fig12.1) from the master page to the window at level 3 (the master page is the first window). This code is used to retrieve the value of the variable in the master page.

    The second document at the third level is produced by the first document in that level, which is produced by the window of page2-2. This second document has a button that, when clicked, will display the value of a JavaScript variable of page2-2. This variable in the window of page2_2 and its assignment is:

    var storeVar2_2 = "I am 2_2";


    So the alert() box will show "I am 2_2".

    To save time and space, I will not explain the details of the complete code. The complete code, made up of files, is simple and self-explanatory. You can download all the files in one zip file from:

    windowPhaseSimpleExample.ZIP

    More JavaScript Articles
    More By Chrysanthus Forcha


     

    JAVASCRIPT ARTICLES

    - Using jQuery to Preload Images with CSS and ...
    - Using Client-Side Scripting to Preload Image...
    - Removing Non-Semantic Markup when Preloading...
    - Using the Display CSS Property to Preload Im...
    - Preloading Images with CSS and JavaScript
    - Scaling and Moving Web Page Elements with th...
    - Fading, Hiding and Sliding HTML Elements wit...
    - Toggling CSS Properties with the GX JavaScri...
    - Cancel, Queue and Pause Animations with the ...
    - Producing Elastic Effects with the GX JavaSc...
    - Moving Divs Diagonally with the GX JavaScrip...
    - Moving Elements Vertically and Horizontally ...
    - Making Bouncing Effects in Parallel with the...
    - Creating Bouncing Effects with the GX JavaSc...
    - Manipulating Background Colors with the GX J...







    © 2003-2010 by Developer Shed. All rights reserved. DS Cluster 4 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek