DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: How do determine if a web page has finished loading

  1. #1
    bg Guest

    How do determine if a web page has finished loading


    Hi All,

    Wondering how to check to see if a web page has finished loading. I have
    a frameset and I want to check to see that one of the frames has finished
    loading before taking some action.

    thank you

    bg

  2. #2
    San Guest

    Re: How do determine if a web page has finished loading


    you can check this onload event body tag for the page, as this event is fired
    after the page is loaded completely.

    San
    "bg" <beegee66@yahoo.com> wrote:
    >
    >Hi All,
    >
    >Wondering how to check to see if a web page has finished loading. I have
    >a frameset and I want to check to see that one of the frames has finished
    >loading before taking some action.
    >
    >thank you
    >
    >bg



  3. #3
    James Guest

    Re: How do determine if a web page has finished loading


    Actually, I believe the onLoad is fired at the beginning of a load. I don't
    believe there's a clean way to detect a page has completed a load unless
    you do something like call a javascript unlocking function at the bottom
    of the page, and ensure you preload all your images.

    "San" <ksan2001@hotmail.com> wrote:
    >
    >you can check this onload event body tag for the page, as this event is

    fired
    >after the page is loaded completely.
    >
    >San
    >"bg" <beegee66@yahoo.com> wrote:
    >>
    >>Hi All,
    >>
    >>Wondering how to check to see if a web page has finished loading. I have
    >>a frameset and I want to check to see that one of the frames has finished
    >>loading before taking some action.
    >>
    >>thank you
    >>
    >>bg

    >



  4. #4
    Douglas J. Steele Guest

    Re: How do determine if a web page has finished loading

    No, I believe it fires at completion. I often put include an animated gif on
    my pages which simulates a progress bar. In the Onload event, I put code to
    change the style of the image to not visible, and it works fine for me.

    --

    Doug Steele, Microsoft Access MVP
    Beer, Wine and Database Programming. What could be better?
    Visit "Doug Steele's Beer and Programming Emporium"
    http://I.Am/DougSteele/


    "James" <dj_tzigane@yahoo.com> wrote in message
    news:3acbc7ed$1@news.devx.com...
    >
    > Actually, I believe the onLoad is fired at the beginning of a load. I

    don't
    > believe there's a clean way to detect a page has completed a load unless
    > you do something like call a javascript unlocking function at the bottom
    > of the page, and ensure you preload all your images.
    >
    > "San" <ksan2001@hotmail.com> wrote:
    > >
    > >you can check this onload event body tag for the page, as this event is

    > fired
    > >after the page is loaded completely.
    > >
    > >San
    > >"bg" <beegee66@yahoo.com> wrote:
    > >>
    > >>Hi All,
    > >>
    > >>Wondering how to check to see if a web page has finished loading. I have
    > >>a frameset and I want to check to see that one of the frames has

    finished
    > >>loading before taking some action.
    > >>
    > >>thank you
    > >>
    > >>bg

    > >

    >




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
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center