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.
Next: Summary of FAQ Page Features >>
More HTML Articles
More By Chrysanthus Forcha