[Javascript] Q on wondow.focus()

Walter Torres walter at torres.ws
Wed Mar 27 22:28:11 CST 2002


I would like to have a way to force a window forward, top most, whenever a
user clicks off the window I popped up.

I did this in the new window...

    <body onblur='window.focus()'>

and...

    <body onblur='self.focus()'>


All this did was make the button on the START bar (that represents the
window) flash. The window did not come forward.

Any ideas?

And I can't use modalDialog or modelessDialog, unless you know of a way for
these window types to accept reply data from a submit process.

Walter




More information about the Javascript mailing list