SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: window control

  1. #1
    SitePoint Addict Mower's Avatar
    Join Date
    Feb 2004
    Location
    Aussie Aussie Aussie
    Posts
    307
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    window control

    HI all, i'm a javascript noob most of my time is spent in php. I'm working on a project that at one point has a new window opened using this code

    Code:
     callWindow = window.open('callWindow.php','callWindow','width=400,height=500,dependent=true');
    Yep easy just the way i like it

    Now my problem is i can't control the window once the page has been refreshed.

    Is there a way to take back control?


    "Will I ever find my way to GURU?"

  2. #2
    SitePoint Wizard
    Join Date
    Mar 2001
    Posts
    3,537
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    When you load a new document in the window, the window object is reset to it's default state and any variables you defined, like callWindow, no longer exist

  3. #3
    SitePoint Addict Mower's Avatar
    Join Date
    Feb 2004
    Location
    Aussie Aussie Aussie
    Posts
    307
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I know it was a long shot.... I'll just stick to php and use a timer and ajax to contorl it


    "Will I ever find my way to GURU?"


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
  •