Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5

Thread: Window Object

  1. #1
    New to the CF scene
    Join Date
    Jun 2004
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Window Object

    Hello all
    If I have a window has a "newWindow". can I somehow set the focus on that window using window object.

    Kyle

  • #2
    Regular Coder
    Join Date
    Aug 2002
    Location
    USA
    Posts
    625
    Thanks
    0
    Thanked 0 Times in 0 Posts
    newWindow/window/self/this/focus()/depends...


    -james
    "God so loved the world that he gave his only begotten son, so that whosoever believed in him would not perish, but have everlasting life. For God did not send his son into the world to condemn the world, but so that through him the world might be saved. "

  • #3
    New to the CF scene
    Join Date
    Jun 2004
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    you mean somthing like "window("newWindow").focus();"?? it won't work, you will get an error says Object not found....

  • #4
    Regular Coder
    Join Date
    Dec 2003
    Location
    America
    Posts
    544
    Thanks
    0
    Thanked 0 Times in 0 Posts

    hippity hop hop

    I would suggest you read some of my posts.
    LovesWar

  • #5
    Banned
    Join Date
    Sep 2003
    Posts
    3,620
    Thanks
    0
    Thanked 0 Times in 0 Posts
    As jamescover said. There are numerous ways....
    Post your code so that someone can see how you are opening this window. Elsewise we can not provide a more specific answer than has already been provided, to such a general question.

    Or, you could try searching these forums or Google for focus()

    .....Willy

    BTW: newWindow.focus(); onload="self.focus()"; ect....


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •