Loading Bars?

A

Adamus01

hey,

my current website tends to take quite a while to load, so you usually sit
around watching bits and pieces loading as you go.

i was wondering how to create a loading bar, which loads a large portion of
the content before even entering the site. this way, once it has fully
loaded, the site is viewable almost instantly.

i've seen these bars on many sites, and i was wondering if/how it is
possible in FrontPage?

thanks
 
T

Trevor L.

I use two divisions, one of which is displayed immediately, and the other
when the onload condition is met

The first is empty except for Loading ... Please Wait
The second is the full content.

It sort of works, but not quite - the second comes up before loading is
fully complete.

But it may be worth your trial. Loading ... Please Wait could be replaced by
a scrolling bar, but since one doesn't know how long the page will take to
load, it would be guess work how big to make it.
 
M

Mark Fitzpatrick

In addition to Trevor's comments, it's very possible that a lot of the sites
that you see with a loading bar are actually flash-based. It's a common
feature in Flash sites to have a progress bar since some flash animations
can be rather large. With flash, the animation knows exactly how big the
file is, and also how much data it is loading currently. The same can't be
said for a normal web page using HTML and JavaScript. All you can do is
guess and hope then wait for the page to finally load.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
 

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