30 users online (0 members and 30 guests)  


  Results 1 to 3 of 3

Related

  1. how can i do (loading...)    Forum: Javascript Forum
    Replies: 1
  2. Screen Size detect and CSS    Forum: CSS Forum
    Replies: 1
  3. How detect are page is transferred 100% or not?    Forum: Javascript Forum
    Replies: 5
  4. Replies: 1
  1. #1
    gbdarren's Avatar
    New User

    Status
    Offline
    Join Date
    Sep 2002
    Posts
    1

    Post How to detect if a frame has completed loading?

    How to detect if a frame has completed loading?

    We've got a frameset. We want one frame to detect that the other frame has loaded. The contents in each frame come from a different server. Is that possible?

    I know you can detect if a Image is loaded, but what about a frame/document/window?

    Thanks in advance...

  2. #2
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel
    Welcome to the forums gbdarren

    Wow you picked a good one for a first post, hopefully one of our members can get you the help you desire

    Dave
    AHFBWEB Less customers per server, more power for you!

    Business Class Shared Hosting

  3. #3
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Woah! Nice post, lol.

    urmmm....never tried it, but lets have a look at -

    I think this works, kinda, for Navigator, but you will need to experiment with it -

    PHP Code:
          secondWindow.captureEvents(Event.LOAD); 
    where secondLoader is the fram you are trying to detect.

    For Internet Explorer, its

    PHP Code:
    loader.onload functionToCall 
    These are a bit vague, if you really want to see some examples of it being done really well, check out this tutorial by the people that make Hiermenus -

    http://webreference.com/dhtml/column21/hier3Start.html
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?



Tags for this Thread