[thelist] Setting Focus to a window

Mark Howells mark at mountain.ch
Mon Mar 11 15:46:00 CST 2002

>> is there a way of having a small pop up window on top of the main
>> parent
>> window - but having the small pop up window always on top but being
>> able to
>> interact with the parent window below

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

An evil solution, which many users will get around by quitting the
browser and then finding another website, especially when they're
"multi-task" browsing in more than one window. It's a good idea to place
these windows in such a way that it's clear how to close them, and so
that they don't totally obscure the main window behind them.

Mark Howells

More information about the thelist mailing list