Top Window

G

Graham Mattingley

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
 
D

David Lionetti

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.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,079
Messages
2,570,574
Members
47,207
Latest member
HelenaCani

Latest Threads

Top