Top Window

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

    Top Window

    Hello Group,

    Is there anyway for me to use Javascript to make sure a window in on top all
    of the time. This is not for pop-up ads, I have written a pop datepicker,
    but when I click outside of the new window the calander is lost ??

    any ideas ?

    Kind Regards

    Graham Mattingley


  • David Lionetti

    #2
    Re: Top Window

    For a popup date picker, you could try using the "ShowModalDialo g" function
    instead of the "open" function. The modal dialog will stay on top until the
    user closes it (or you close it by capturing an event and closing the dialog
    through the "close" function. The only draw back is that this window will
    not allow focus to go to any other window in that IE instance until it is
    closed. You can also return the value of the date picked easily by using
    the ShowModalDialog function without having to use the "opener" handle.


    "Graham Mattingley" <graham@technoc om.com> wrote in message
    news:bi0p4f$brb $1$8302bc10@new s.demon.co.uk.. .[color=blue]
    > Hello Group,
    >
    > Is there anyway for me to use Javascript to make sure a window in on top[/color]
    all[color=blue]
    > of the time. This is not for pop-up ads, I have written a pop datepicker,
    > but when I click outside of the new window the calander is lost ??
    >
    > any ideas ?
    >
    > Kind Regards
    >
    > Graham Mattingley
    >
    >[/color]


    Comment

    Working...