Home arrow HTML arrow Page 2 - Completing a Tree with Active Client Pages
HTML

Completing a Tree with Active Client Pages


Welcome to the second part of a two-part series on building a tree with Active Client Pages. In this part, we will use the example of a museum's web site to take a close look at the code for a session. We'll see how the tree facilitates project development.

Author Info:
By: Chrysanthus Forcha
Rating: 5 stars5 stars5 stars5 stars5 stars / 2
August 20, 2009
TABLE OF CONTENTS:
  1. · Completing a Tree with Active Client Pages
  2. · The Code
  3. · Description of the First Page's Code
  4. · The JavaScript

print this article
SEARCH DEVARTICLES

TOOLS YOU CAN USE

advertisement
Completing a Tree with Active Client Pages - The Code
(Page 2 of 4 )

The Master Page

To save time and space, I will describe only what goes on in the master page. The master page is the treeACP.htm HTML file. What goes on in the other pages is similar. If you understand Perl you will not have any problem understanding the code of the other files, each of which sends a page string to the browser. This is the skeleton of the master page:


<html>

<head>

</head>

<body>


<!- - visible HTML first page elements - - >

 

<script type="text/javascript">

//content of furniture window

var furnitureStr = "";


function ajaxFurn()

{

//statements to download the furniture window of general description

}


ajaxFurn();



//content of shoes window

var shoesStr = "";


function ajaxShoes()

{

//statements to download the shoes window of general description

}


ajaxShoes();



//content of bags window

var bagsStr = "";


function ajaxBags()

{

//statements to download the bags window of general description

}


ajaxBags();



function furnitureFn()

{//to open furniture window of general description

}


function shoesFn()

{//to open Shoes window of general description

}


function bagsFn()

{//to open bags window of general description

}

</script>


</body>

</html>



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 9 - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials