DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 4 of 4
  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

    > >

    >




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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links