Solved

complicated problem for content display pervent

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article will explain how to display the first page of your Microsoft Word documents (e.g. .doc, .docx, etc...) as images in a web page programatically. I have scoured the web on a way to do this unsuccessfully. The goal is to produce something …
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
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 count occurrences of each item in an array.

707 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

16 Experts available now in Live!

Get 1:1 Help Now