SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Guru afridy's Avatar
    Join Date
    Mar 2007
    Posts
    966
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Page Loading issue

    Hai all,

    I just want to track the page load in Percentage.
    i.e. when a user types www.mysite.com, i want to display the percentage of loading, until the page load is completed.

    i.e. Loading (65%) Please Wait....

    Thanks

  2. #2
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    17,145
    Mentioned
    190 Post(s)
    Tagged
    2 Thread(s)

    loading

    I am confused as to what you want. You want javascript in the page to show how much of the same page has loaded before it's loaded?

  3. #3
    SitePoint Wizard siteguru's Avatar
    Join Date
    Oct 2002
    Location
    Scotland
    Posts
    3,629
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    I'm not sure there is a reliable way to do this.

    One cop-out workaround is to load an animated GIF in a DIV and hide all other content until the time duration of that GIF animation is complete (use setTimeout() function) then hide that DIV and show all remaining content.
    Ian Anderson
    www.siteguru.co.uk


Bookmarks

Posting Permissions

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