469,342 Members | 5,554 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,342 developers. It's quick & easy.

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
Jul 20 '05 #1
1 1996
For a popup date picker, you could try using the "ShowModalDialog" 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" <gr****@technocom.com> wrote in message
news:bi*******************@news.demon.co.uk...
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

Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Carol Lyn | last post: by
6 posts views Thread by David Hayes | last post: by
19 posts views Thread by Darren | last post: by
14 posts views Thread by D. Alvarado | last post: by
26 posts views Thread by yb | last post: by
4 posts views Thread by alexandre.brisebois | last post: by
24 posts views Thread by Jeremy J Starcher | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.