N
nat.hourt
Hello.
First, I'm going to tell you what I'm trying ultimately to do, then
I'll tell you how I'm trying to do it.
I am trying to get an intro page to a site I am designing which will
play an animated GIF file once, then go on to another page. The way I'm
doing this is having the GIF play up outside of the JS while the JS
counts MS until it finishes. I want the JS to wait 2 seconds/2000 MS
for the GIF anim, then go to another page. Here is my JS:
setTimeout("2000", 'location.href="the_next_page.htm"')
I believe that should do it?
Note: I use Fx, but I want this to work correctly in IE too.
First, I'm going to tell you what I'm trying ultimately to do, then
I'll tell you how I'm trying to do it.
I am trying to get an intro page to a site I am designing which will
play an animated GIF file once, then go on to another page. The way I'm
doing this is having the GIF play up outside of the JS while the JS
counts MS until it finishes. I want the JS to wait 2 seconds/2000 MS
for the GIF anim, then go to another page. Here is my JS:
setTimeout("2000", 'location.href="the_next_page.htm"')
I believe that should do it?
Note: I use Fx, but I want this to work correctly in IE too.