Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: RE: FLASH: OT: "preloading" html
From: Eric Dunham
Date: Thu, 23 Mar 2000 06:15:58 GMT

Yes, I suppose you could, but it wouldn't really be worth it because of the
minimal time that text content takes to download.
One of the things that you could do to actually preload an entire site is to
have a framed page, where one of the frames has an width/height of zero, and
the src for that frame is preload.html.
What you would want to do is have all of your preloading code like my_image
= new Image() my_image.src = "whatever.gif" inside a function in your
preload page.
Then what you would do is call that function when your index page finished
loading. Did that make any sense?

Basically, you would have your main index page with interesting stuff, etc.
You wouldn't want your viewers to experience any lag while viewing that
page, so you wouldn't start preloading yet. When your index page is all done
you would use the body onLoad event handler to call your preloading function
from the invisible frame. Theoretically, for a first time visitor on a 56k
connection, if your site had enough interesting things to look at, read,
whatever on the very first page, a user could easily take at least 3 minutes
reading over everything on the front page and deciding where to go. And
while it might not be a whole lot of information, you could easily preload
anywhere from 700k to a full megabyte worth of information. And then you
broaden the realm to include stimulating but still compact Flash animations
on the first page (or even an intro that lasts a minute or two), and what
you have done is loaded your entire site into the user's cache seamlessly.
They experience no lag, because you don't start behind the scenes until
enough of the show is aready underway, and by the time they're ready for
more, they've already got it.
Then again, maybe I just like the idea of preloading way too much :)

HTH,
Eric Dunham

<snip>
spot on, but could you preload an HTML page? the actual HTML page, as you
would say an image.jpg.


Do that in the first HTML page, along with all image resources, and then
jump to the next HTML, the one you just preloaded in the first??
</snip>


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The World�s Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California

-Register before Feb 25 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: ie 5.0 w/sound, jedm

Replies
  RE: FLASH: OT: "preloading" html, Tim Allan

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]