HTML
  Home arrow HTML arrow Page 2 - Fast FAQ Session with ACP
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? 
HTML

Fast FAQ Session with ACP
By: Chrysanthus Forcha
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2009-06-08

    Table of Contents:
  • Fast FAQ Session with ACP
  • Our Project
  • Summary of FAQ Page Features
  • The Code
  • The Second Page

  • 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


    Fast FAQ Session with ACP - Our Project


    (Page 2 of 5 )

    For our project, we shall break a long page into a series of pages. The first one will be downloaded in the normal way. While the user is reading the first page, the next page will be downloaded as a string by the first page. Before the user has read or done anything on the first page, the second page will be downloaded as a string.

    Whenever he needs further FAQ information, he will click a button, and the second page will be converted from the string into a web page at the client browser. As soon as the second page is loaded (opened), downloading of the third page as a string begins. So as you open a page, it starts downloading the next page. This process continues until you reach the last page. Ajax is used for the downloading.

    Why is Speed Increased?

    Since the first page is short, it will not take as long to download as it would if it were the normal long page. That gives you your difference in speed. The rest of the pages are downloaded in advance, and the user does not have to wait -- or suffer from their download times.

    Some Questions and the Answers

    From what I have said so far, you may pose this question: will the first pages have the questions and the rest of the pages have answers, since we split the long normal pages into smaller pages?

    If you have a long ordinary web page, you will notice that the questions are at the top of the page and the answers are on the rest of the page, toward the bottom. In some cases, the space the questions occupy is longer than one screen. If in our project the first few pages have the questions and the rest of the pages have the answers, it would not be proper.

    Fortunately, there is a solution. All the pages of our project will have only questions. When you click a question, its answer will appear under it. So the answers for the questions are on every page, where each question is collapsed (hidden) into its answer.

    The problem now is, how do we create such a page? Well, I wrote an article some time ago titled More Convenient FAQ Web Pages. There I explain how to create such a page. I will only summarize the design features of the page here.

    More HTML Articles
    More By Chrysanthus Forcha


     

    HTML ARTICLES

    - Hello HTML 5, Goodbye Gears
    - Comparing Browser Response to Active Client ...
    - Testing Browser Response to Active Client Pa...
    - Active Client Pages: Completing the Code for...
    - ACP and Browsers: Setting up an Example
    - How Browsers Respond to Active Client Pages
    - Completing a Tree with Active Client Pages
    - HTML Form Verification and ACP
    - Building an ACP Tree
    - Completing an ACP 3D HTML Table Image Gallery
    - Building an ACP 3D HTML Table Image Gallery
    - A Multiple Page Image Gallery with Active Cl...
    - Building an Image Gallery with Active Client...
    - Concluding a Menu for All Browsers
    - A Vertical Menu for All Browsers







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