Run animation before loading

L

Lloyd

I have an animation on my web page I would like to load
and run before the rest of the page loads. How do I do
this??
 
J

Jim Buyens

-----Original Message-----
I have an animation on my web page I would like to load
and run before the rest of the page loads. How do I do
this??

This is problematic, because you can't rely on the
presence of page elements your animation needs in order
to run. They may not have been loaded yet.

You may have some success placing the script that starts
the animation at a point within the <body> section that
follows any page elements the animation needs to run.

Don't be surprised, though, if your animation is the last
thing to start, no matter what you do. Animation files
tend to be large, and the rest of the page may arrive
before the browser gets all the files for the animation.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top