hosted by liquidweb

Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Design and Content : Preload site before displaying

Forum Jump

Preload site before displaying

Reply Post New Thread In Web Design and Content Subscription
Send news tip View All Posts Thread Tools Search this Thread Display Modes
Old 09-12-2003, 05:35 PM
billt billt is offline
Junior Guru Wannabe
Join Date: Jul 2003
Posts: 62

Preload site before displaying

do you know if there is a way to delay the display of a html site until all the elements and images are loaded?I don't want to see the annoying display sclice by slice.

Sponsored Links
Old 09-12-2003, 06:09 PM
Rich2k Rich2k is offline
Web Hosting Master
Join Date: May 2002
Location: UK
Posts: 2,994
It is possible but not to mention annoying.

Easiest way is

<script language="javascript" type="text/javascript">
function showpage() {
 document.getElementById('loader').style.display = "none"; 
 document.getElementById('main').style.display = "block"; 
<body onload="showpage();">
<div style="height:100%; width:100%; display:block;" id="loader">
Some preloading content here
<div style="height:100%; width:100%; display:none;" id="main">
Main Content Here


Old 09-13-2003, 01:43 AM
chrisrhee chrisrhee is offline
Junior Guru Wannabe
Join Date: Aug 2003
Posts: 33
If your page seems to be "jumping around" while the images load, check to see if you have the "width" and "height" attributes in the image tags. Making a user wait for the entire page to load could be annoying if your site is a bit big in filesize.

Sponsored Links
Old 09-13-2003, 12:08 PM
switch switch is offline
Junior Guru Wannabe
Join Date: Jul 2001
Location: #!/usr/bin/Detroit
Posts: 85
Originally posted by Rich2k
It is possible but not to mention annoying.
Very much so. The problem you're going to run into, billt is the majority of users don't want to wait for your page to load before they can start doing someting on it. By preloading it, you WILL be driving users away. If your loading times are really that bad that you think you need a preloader, then I would take a good hard look at your image use and think about removing or fixing the ones you have.

Juvenall Wilson

Old 09-13-2003, 07:19 PM
ANMMark ANMMark is offline
Join Date: Apr 2002
Posts: 2,193
I agree. Preloaders for basic html pages, are very annoying.

If you're using Flash, people expect a little load time, and at least a nice preloader.

However, for a basic html site, this will only annoy them.

Mark - Owner/Lead Designer
Lead vocalist for Circle7: Circle7 on MTV


Related posts from
Title Type Date Posted
Russia's Pirate Party Offers to Host NASA Website During Government Shutdown Web Hosting News 2013-10-08 11:06:09
Liquid Web Updates Mobile Management Interface with Bill Payment Feature Web Hosting News 2013-05-23 14:56:25
Report: Netcraft Sees Valid SSL Certificates on Phishing Sites Web Hosting News 2012-08-23 20:00:40
Web Host Media Temple Wins Workplace Award, Launches Referral Program Web Hosting News 2012-08-17 08:50:02 Company Automattic Names First Official Chief Financial Officer Web Hosting News 2012-04-26 15:19:03

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Log in with your username and password

Forgot Password?
Web Hosting News:



Welcome to

Create your username to jump into the discussion! is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.

(4 digit year)

Already a member?