472,102 Members | 2,142 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,102 software developers and data experts.

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 2044
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
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.