Child windows

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Pravin

    Child windows

    Hi!
    i am a problem........ . On load of index page i am opening few child
    windows for some purpose now i want if i close the parent window all
    child should be cloed automatically.
    suggestions and sample codes are welcome!!! :))

    thanks and regards
  • Ranbir Kaur

    #2
    Re: Child windows

    Hi Pravin,

    In article <3b5e77f7.04092 80029.71ad92af@ posting.google. com>, Pravin
    wrote:
    [color=blue]
    > i am a problem........ .[/color]

    I think you rather have one...
    [color=blue]
    > On load of index page i am opening few child
    > windows for some purpose now i want if i close the parent window all
    > child should be cloed automatically.
    > suggestions and sample codes are welcome!!! :))[/color]

    You can use <body onunload="close children()"> where the function
    closechildren would have the appropriate close commands.

    Instead of opening lots of child windows (which is annoying) check if
    you can use layers, they don't need to be closed.

    Ranbir


    Comment

    Working...