PDA

View Full Version : Open new browser window and keep it on top


erubinoff
06-26-2002, 03:37 PM
I am opening a link in a new browser window which works fine. What I want to do is keep that new window on top of the window is was launched from. Is there a way to open a new window instance and force it on top until closed?

whackaxe
06-26-2002, 03:50 PM
yup there is exept that if you do then it will stay on top of all the winodws. put this in the opened window

window.onblur = focus()

this means that whenever the winodw is blurred (or deselected if you like) then ic comes back into focus. yo ucan see this in action on dave clarks site at http://www.daveclarkconsulting.com. im sure dave would like to add a personal note to that technique :D

adios
06-27-2002, 01:35 AM
<script type="text/javascript" language="javascript">

onblur = function() {
setTimeout('self.focus()',100);
}

</script>