javascript popup window that stays in front of parent window?

Discussion in 'Javascript' started by Simon Wigzell, Sep 14, 2003.

  1. I have a couple of utility windows - a calculator and a calendar that popup
    from my main window. I would like them to always stay in front of the parent
    window until they are shut down with there own close buttons. As it is, when
    you click back to the parent window, of course it comes in front of the
    child windows. Can I do this?
     
    Simon Wigzell, Sep 14, 2003
    #1
    1. Advertisements

  2. You can use the showModalDialog method!
    http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/ref
    erence/methods/showmodaldialog.asp



    "Simon Wigzell" <> wrote in message
    news:NC29b.950877$...
    > I have a couple of utility windows - a calculator and a calendar that

    popup
    > from my main window. I would like them to always stay in front of the

    parent
    > window until they are shut down with there own close buttons. As it is,

    when
    > you click back to the parent window, of course it comes in front of the
    > child windows. Can I do this?
    >
    >
     
    Egbert Beuker, Sep 14, 2003
    #2
    1. Advertisements

  3. *snip*

    Thanks, but that won't quiet do it! That method means you can't access the
    parent window until you have closed the popup window. Any way to just have
    it stay there in front even if you go back to work in the parent window?
     
    Simon Wigzell, Sep 14, 2003
    #3
  4. yes, then you should use the showModeLessDialog method!
    http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/ref
    erence/methods/showmodelessdialog.asp

    "Simon Wigzell" <> wrote in message
    news:vk39b.958011$...
    > *snip*
    >
    > Thanks, but that won't quiet do it! That method means you can't access the
    > parent window until you have closed the popup window. Any way to just have
    > it stay there in front even if you go back to work in the parent window?
    >
    >
     
    Egbert Beuker, Sep 14, 2003
    #4
  5. *snip*

    Perfect, thanks for your patience!
     
    Simon Wigzell, Sep 15, 2003
    #5
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Earl Teigrob
    Replies:
    4
    Views:
    1,443
    Vidar Petursson
    Jun 5, 2004
  2. Earl Teigrob
    Replies:
    1
    Views:
    6,199
    Earl Teigrob
    Jun 16, 2004
  3. chuckdfoster

    Send Info From PopUp Window To Parent Window

    chuckdfoster, Dec 6, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    875
    =?Utf-8?B?SmVk?=
    Dec 6, 2005
  4. =?Utf-8?B?Vk1J?=

    Closing popup window when closing parent window?

    =?Utf-8?B?Vk1J?=, Feb 14, 2007, in forum: ASP .Net
    Replies:
    3
    Views:
    916
    Thomas Hansen
    Feb 15, 2007
  5. Harsha
    Replies:
    0
    Views:
    787
    Harsha
    Nov 5, 2009
  6. janne
    Replies:
    0
    Views:
    290
    janne
    Aug 20, 2003
  7. Raffi
    Replies:
    4
    Views:
    481
    Dr John Stockton
    Aug 12, 2004
  8. Replies:
    5
    Views:
    296
Loading...