SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Jul 2007
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Focusing child window as long as its open

    Hi

    I have a window in which I have a text field followed by a button . when I click on that it will open another window(a child window or so...). and he type some value in the child window and when it close the value enterd int the child window should display in the textbox in the parent window.

    Also , The user should not be able to do anything on parent window as long as child window is open. If one wants to go to parent window , he should close the child window or click on the button in child window... and when close the focus should go to parent window.

    Any idea of how to do this.. I am working on Ruby on rails.

    Please help....

  2. #2
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    16,433
    Mentioned
    160 Post(s)
    Tagged
    1 Thread(s)

    window focus

    Hi unnikrishnanes, welcome to the forums,
    Quote Originally Posted by unnikrishnanes
    The user should not be able to do anything on parent window as long as child window is open
    AFAIK you can not hi-jack the user's OS to control what window they're on. Why not have the child window close when it loses focus?


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
  •