Click here to get back home

Loading Website All At Once

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Loading Website All At Once vunet 06-06-2008
Posted by vunet on June 6, 2008, 5:24 pm
Please log in for more thread options
This may be a strange question from a non-technical person who asked
me to make his whole site and images load all at once. I.e. the
completely loaded site would show up immediately even with a big
background image. I explained that images are taking longer to load
because of the size than anything else but this person insists on the
request. Am I missing something here or there is actually a way to
load the whole website all at once other than hiding body with DOM
until page is loaded or setting buffer to true on a server side which
does not work for this request (but I tried)?
Thanks.

Posted by Rik Wasmus on June 6, 2008, 5:31 pm
Please log in for more thread options

> This may be a strange question from a non-technical person who asked
> me to make his whole site and images load all at once. I.e. the
> completely loaded site would show up immediately even with a big
> background image. I explained that images are taking longer to load
> because of the size than anything else but this person insists on the
> request. Am I missing something here or there is actually a way to
> load the whole website all at once other than hiding body with DOM
> until page is loaded or setting buffer to true on a server side which
> does not work for this request (but I tried)?

You might try to preload all the images with javascript, with a script tag
before the body. Strange request though, and if it takes long to load a
lot of people will bail. AFAIK, browsers should execute (non deferred)
javascript before loading any HTML further. It will result in a total
empty page until everything has loaded though.
--
Rik Wasmus
...spamrun finished

Posted by dorayme on June 6, 2008, 5:38 pm
Please log in for more thread options
In article

> This may be a strange question from a non-technical person who asked
> me to make his whole site and images load all at once. I.e. the
> completely loaded site would show up immediately even with a big
> background image. I explained that images are taking longer to load
> because of

...

This is how to do it:

Deliver a page that has the images load but are hidden. On this page,
have a nice distraction like

<http://dorayme.890m.com/jokes/pope_rabbi_debate.html>

with a link at the bottom to go to the real page. The images will have
been cached by then.

--
dorayme

Posted by Ed Mullen on June 6, 2008, 11:21 pm
Please log in for more thread options
dorayme wrote:
> In article
>
>> This may be a strange question from a non-technical person who asked
>> me to make his whole site and images load all at once. I.e. the
>> completely loaded site would show up immediately even with a big
>> background image. I explained that images are taking longer to load
>> because of
>
> ...
>
> This is how to do it:
>
> Deliver a page that has the images load but are hidden. On this page,
> have a nice distraction like
>
> <http://dorayme.890m.com/jokes/pope_rabbi_debate.html>
>
> with a link at the bottom to go to the real page. The images will have
> been cached by then.
>

Umm. dorayme? What link at the bottom? The Rabbi debate was cute but
... uh ... no link to another page. Hence, diminished value to your
tutorial posting. Or did I miss something? BTW, either way, with a
fast connection it's got to be a totally HUMONGOUS page before I have to
wait very long to see it. I think the OP's "client" hasn't a clue what
he's talking about nor what is realistic to achieve, nor what is
desirable to achieve.

If I were on a slow connect and clicked into that page and saw nothing
happening for, oh, maybe, 5 seconds? I'd be gone. Much better to see
partial text and graphics loading so as to tell me: "Oh, ok. Maybe
they've got a low-bandwidth host. Or maybe all the crap they're loading
is way too huge for a Web site. But! At least I know something is
coming if I'm willing to wait!"

Nah. I'd probably still click through and say: "What a bunch of dolts
who built that Web site!"

--
Ed Mullen
http://edmullen.net
The good old days: When sex was dirty & Michael Jackson was black

Posted by dorayme on June 7, 2008, 12:54 am
Please log in for more thread options

> dorayme wrote:
> > In article
> >
> >> This may be a strange question from a non-technical person who asked
> >> me to make his whole site and images load all at once. I.e. the
> >> completely loaded site would show up immediately even with a big
> >> background image. I explained that images are taking longer to load
> >> because of
> >
> > ...
> >
> > This is how to do it:
> >
> > Deliver a page that has the images load but are hidden. On this page,
> > have a nice distraction like
> >
> > <http://dorayme.890m.com/jokes/pope_rabbi_debate.html>
> >
> > with a link at the bottom to go to the real page. The images will have
> > been cached by then.
> >
>
> Umm. dorayme? What link at the bottom? The Rabbi debate was cute but
> ... uh ... no link to another page. Hence, diminished value to your
> tutorial posting. Or did I miss something?

Yes, I think you missed that I was conveying an idea which might spur
useful ideas in the OP. For example it might spur him to make the
opening page one that engages the reader with stuff relevant to his
website which quietly also loads stuff which becomes visible on further
pages quickly because now cached. I proceeded without dotting all the
"i"s and crossing all the "t"s.

I was *not* giving an example of the complete page he should write as a
decoy while the images load. I was giving the idea that on such a page
he could have something to amuse or engage the reader while the sneaky
business was going on behind the scene (in a negatively margined area or
in an invisibly displayed element*. What he could have is a story about
rabbis and popes. Or whatever he liked. I saw an opportunity to let you
read this joke again.

Best to meet ideas half way. Not to greet an idea with the demand that
it should be everything to everyone and perfect in every respect.

Perhaps you also missed, because I never said anything about it, that I
am suspicious of the need to be loading things that take a lot of time
without reserving such to pages where the user knows he is wanting such
a thing and is prepared to wait for it. The website maker should get
into the habit of giving people tastes of things and them being able to
get more if they want. Not to be lumbering folk with a lots of stuff
just like that! It is not a lesson that all have absorbed.

----------------------
* I am working right now on a special design for an invisible element
that gives a creepy *feeling* to the viewer, something he cannot quite
see but knows is there (like a ghost). It makes me shudder to think of
it, wait till you sense it when I publish. (Boji, if you want an
advanced *shuddering sense* of this, send $US5 and I will give you a
draft)

--
dorayme

Similar ThreadsPosted
Print CSS Not Loading September 20, 2007, 12:41 pm
How to make a Loading Page March 14, 2005, 11:35 am
Problems loading fonts May 13, 2006, 9:44 am
loading a new page by metaTag August 12, 2006, 8:28 am
Loading HTML docnt into a page October 12, 2005, 12:48 pm
Help! Slow Loading Issue-information management March 4, 2007, 11:22 pm
Single loading .swf file - code or frame? July 26, 2007, 10:26 am
Loading picture before the using java applet / progress bar or waiting message ? October 8, 2004, 12:05 am
... storage for remote loading or as a door or signpost to another home page November 14, 2007, 6:05 pm
Is this website ok May 13, 2006, 1:04 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap