Grow your CSS skills. Land your dream job.

preloading a webpage

  • # April 3, 2009 at 2:30 am

    can anyone help me in preloading a webpage(and show an ajax loading gif)

    thanks

    nidhin

    # April 22, 2009 at 9:00 pm

    Are you wanting to preload the webpage for the same reason you might want to preload an image? To make it load faster. If so, could you just load the page in a iframe and not display the iframe on screen?

    # April 27, 2009 at 10:47 am

    One trick is placing an absolute positioned div right after the body opening tag, give it a with and height of 100%. Put something fancy in it, some loader gif image, and make it dissapear when the entire document was loaded using javascript.

    It’s kinda simple and maybe old, so you should have a look at other solutions as well

    mee
    # October 26, 2009 at 12:40 pm

    Hi all

    I’m a new to jquery and have some trobles to integrate a preloader or least an wait handel so the page will wait for 5s. until it goes of with the full content. I found some nice preloader but it doesen’t work with my jquery imagefader i used.
    Can anyone help me to do a wait for 5s. until a <div> is showing?
    Thanks

    mee
    # October 27, 2009 at 3:05 am

    I did now a wait with a timeout:
    setTimeout (function()

    That woked pretty well.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".