#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2001
    Posts
    11
    Rep Power
    0

    quick javascript question


    i'm not the king of javascript so i'm having a bit of touble figuring out how to write this code:

    while (certain popup window exists) {
    don't do anything
    }

    when it is closed {
    do this
    }

    if anyone could help me out, that would be great .. thanks.
  2. #2
  3. No Profile Picture
    Seņor Member
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Aug 2000
    Posts
    1,157
    Rep Power
    37
    Call a function that exists in another window via the onUnload attribute of the body tag in the window you wish to close.
    Michael
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2001
    Posts
    11
    Rep Power
    0
    thank you .. done, and done.
  6. #4
  7. No Profile Picture
    Seņor Member
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Aug 2000
    Posts
    1,157
    Rep Power
    37
    done, and done?
    Michael
  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2001
    Posts
    11
    Rep Power
    0
    well .. done atleast ..
  10. #6
  11. No Profile Picture
    Seņor Member
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Aug 2000
    Posts
    1,157
    Rep Power
    37
    I'm afraid I still don't get it.
    Michael
  12. #7
  13. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2001
    Posts
    11
    Rep Power
    0
    done as in i did it, and it worked
  14. #8
  15. No Profile Picture
    Seņor Member
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Aug 2000
    Posts
    1,157
    Rep Power
    37
    OH! Great!
    Michael

IMN logo majestic logo threadwatch logo seochat tools logo