HTML
  Home arrow HTML arrow Page 3 - 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 - Summary of FAQ Page Features


    (Page 3 of 5 )

    Here, I give you a summary of the design features of each of the pages of our project. I give you the user requirements and a summary of the technical features.

    User Requirements

    • When the web page is loaded, you see the questions and no answer.

    • When you click a question, the answer appears just below the question that you have clicked.

    • When you click another question, the previous answer and its space goes away and the answer to the question you have just clicked appears below the new question you have clicked.

    • When the answer of a question is displayed, if you click the question, the answer and its space should go away.

    • When the mouse pointer goes over a question, it should be an arrowhead.

    • When the mouse pointer goes over the text of the answer, it should be an I-bar.

    • After a question has been clicked, its text color should change to indicate that the user has read the answer and the question. 

    Summary of Technical Features

    We need some HTML structure (element) to hold each question and its answer. We want an answer to be indented to the right relative to its question. The element I have chosen that will automatically satisfy these two requirements is the DL (definition lists) element.

    The DL element consists of the DT element and the DD element. The DT element is an inline element and the DD element is a block-level element. The question will be the content of the DT element and its answer will be the content of the DD element. So the answer will naturally be indented.

    The initial and default value for the display property of the DD element will be set to "none." In this way it will not be displayed by default and it will not occupy space. When its question is clicked, JavaScript will change it to "block," so it will appear just below its question.

    Each question will have a CSS hover selector such that, when the moue pointer goes over it, its text color will change and the mouse pointer will be an arrowhead. A similar CSS hover statement will be written such that, when the mouse pointer goes over the text of an answer, the mouse pointer will become an I-bar.

    When a question is clicked, JavaScript changes its color permanently, to indicate that the user has seen the answer.

    More HTML Articles
    More By Chrysanthus Forcha


     

    HTML ARTICLES

    - 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
    - Downloading Long HTML Pages with ACP







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