Solved

complicated problem for content display pervent

Posted on 2009-05-14
4
201 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

932 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now