Results 1 to 5 of 5

Thread: Pre loading HTML?

  1. #1
    Join Date
    Aug 2007
    The Netherlands

    Post Pre loading HTML?

    Hi there,

    I've got a question.
    My website (www.tijnes.tk) is very slow at loading.
    Thats because everything is a picture.

    But some people are allready clicking on something when the page isn't fully loaded.
    I want something, some code, some message or something.
    That there appears the message loading...
    And the message has got to disappear when the loading is done.

    I'm using freewebs.com, so i can't use any php, just HTML codes.
    Could anyone of you guys help me with this 'pre-loading-message-thing'.

    Thanks so much!

  2. #2
    Join Date
    Mar 2006
    Newcastle NSW Australia
    Rather than annoy people with that, optimising your graphics will dramatically improve load times. For example, your splash page logo is 145k - that can easily be reduced to around 30k using graphics software. Similarly, your page background image is 296k - and this compresses easily to around 40k.

  3. #3
    Join Date
    Aug 2007
    The Netherlands
    Yes, I know I should reduce the images, but it'll also reduce quality, and there are so many pictures, and in the fututre there will be even more.
    So, I want a pre loading message to appear, cause that will be easier an d faster and it will help the problem untill I got some time to make a new website.

  4. #4
    Join Date
    Jul 2007
    You COULD set it up such that it loads everything into a hidden buffer frame and, when it's finished loading, you have it transfer to the main frame via JavaScript.

    edit: Centauri's right, though, you should be optimizing your images better. You won't hardly notice the difference in how it looks.
    Last edited by Ferret; 08-12-2007 at 08:25 PM.
    "...art can lead you to God...if it's not doing that, it's leading you the other way. It's certainly not leading you nowhere."
    Bob Dylan

  5. #5
    Join Date
    Mar 2005
    Sydney, Australia
    80k is a huge web page that many people will not wait to see download. You should try to ensure that your average page size (including all images) is less than half of that.

    You do not need high quality images for the web as the screen resolution is usually very low for displaying images in the first place. You only need high resolution images if you expect everyone will print the page.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center