Click to See Complete Forum and Search --> : play game while another page loads


inarts
08-28-2003, 01:14 PM
I have a huge presentation which takes over a minute to load. And every time users access it, they always end up closing the window thinking that it is frozen. My question is, is it possible to play a javascript game simultaneously while my page is loading? this way, the users know that the page is still loading and the game will keep them busy while waiting...
If it is possible, how do i do it?
Btw, I also use frontpage for the web site...

AdamGundry
08-28-2003, 04:03 PM
You could pop the JS game up in another window when the presentation starts to load, then close the window again when it is fully loaded. To open the new window, use something like this:

gameWindow = window.open('game.html', '', 'height=300,width=300');

You can then close it with:

gameWindow.close();

Adam