Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 209
  • Last Modified:

complicated problem for content display pervent

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
mattibutt
Asked:
mattibutt
  • 2
  • 2
1 Solution
 
manavsiCommented:
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
 
mattibuttAuthor Commented:
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
 
manavsiCommented:
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
 
mattibuttAuthor Commented:
thanks buddy
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now