Home arrow HTML arrow Page 3 - 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 - Description of the First Page's Code
(Page 3 of 4 )

You have the HEAD element and the BODY element. The HEAD element is empty. The BODY element has all that we use. Let us look at what is in the BODY element.

The BODY Element

The body element has the visible HTML elements and the script.

Visible HTML Elements

This is the code for what you see in the master page:

[

This window contains the general descriptions of the categories of items in the Museum.<br />

General descriptions of the categories is here. - - - <br /><br />

<button type="button" onclick="furnitureFn()">See Categories of Furniture used.</button><br />

<button type="button" onclick="shoesFn()">See Categories of Shoes used.</button><br />

<button type="button" onclick="bagsFn()">See categories of Bags used.</button><br />

]

Normally you are supposed to have a lot of text here, but I have given just two sentences for simplicity. In between the two sentences is a line break element. After the second sentence we have two line break elements. Then you have three buttons, each ending with a line break element.

When you click the first button, the furnitureFn() function is called. This function opens the window that has a general description for the furniture. When you click the second button, the shoesFn() function is called. This function opens the window that has a general description for the shoes. When you click the third button, the bagsFn() function is called. This function opens the window that has a general description for the bags.


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