Solved

complicated problem for content display pervent

Posted on 2009-05-14
4
202 Views
Last Modified: 2013-12-12
hi
i have a quiz which loads up once user accept the terms and condition but now i want to display a timer before showing the first question
as soon quiz is ready to load it show like counting 5 4 3 2 1 then load the stuff of the page which include questions and answer and another javascript time
0
Comment
Question by:mattibutt
  • 2
  • 2
4 Comments
 
LVL 4

Expert Comment

by:manavsi
ID: 24384903
well, i would recommend you to use a JS pre-loader which can change the text using the settimeout()...
since i see you use php framework, use a JS library like ExtJS, or jQuery etc. with xAjax to perform exactly the task you want.. :)

HTH
Manavsi
0
 
LVL 11

Author Comment

by:mattibutt
ID: 24384999
hi manavsi

i can use jquery but i dont know how i can accomplish this task i am stuck cant think how to begin
0
 
LVL 4

Accepted Solution

by:
manavsi earned 500 total points
ID: 24385054
well, if you might consider using a Progress bar with the text, u may like this... i think..
My first option: JS file is here...
http://www.caktux.ca/files/jquery.loader.js.txt
Demo:: http://www.caktux.ca/staging/poissonblanc/ 
Dont mind the language, see the progress loading of the page.. NO IMAGES PURE CSS...

Other resources:
http://www.developerfox.com/create-web-20-progress-bars-jquery-dhtml-js-css-photoshop/187
The lucid examples of jQuery Progress bar samples... if u dont want progress bar.. but only text.. i think u can thnk again... cant u???... :)

HTH
Manavsi
0
 
LVL 11

Author Closing Comment

by:mattibutt
ID: 31581366
thanks buddy
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question