Page 1 of 1

Preloaded content and page transition

Posted: Wed Mar 17, 2010 4:58 am
by andrei.mita
Hello people,

First, I don't even know if my topic is in the right place but I'll give it a shot. I am developing a quiz based game where you need to answer 30 questions, one at a time. At any given step, except first and last question, the game works like this:
  • Screen 1: Question is shown with possible answers. You select one and submit it.
    Screen 2: A message is displayed based on the correctness of your answer then after x seconds you are being redirected to screen 1
What I don't know is how to preload some images and make the transition from one page to another with some sort of fade-in/fade-out effect. I have no clue for what to search on google. I have done some small works with jQuery but I don't know If I can make it work for two different pages. I don't even know if I made myself clear enough. Is there any solution out there based on php and maybe a javascript library?

Thank you.

Re: Preloaded content and page transition

Posted: Wed Mar 17, 2010 11:21 am
by Benjamin
A simple solution would be to simply use Javascript to preload the images:

http://www.google.com/search?q=javascri ... oad+images