Forum Moderators: open
<BODY onBlur=self.focus()>
in the body tag of the pop up window. I also did it with quotes around self.focus() as some javascript sites have suggested.
I have a page with numerous buttons that each open javascript windows when clicked. Once one is opened, the rest open in the same window, and I want that window to stay on top. When the main page is clicked, the popup gets buried.
Any help is appreciated.
Here's part of the script I'm using to open the popups:
<script type="text/javascript">
<!--
function myPopup1() {
window.open( "http://www.example.com/1a.htm", "myWindow",
"status = 0, height = 375, width = 500, resizable = 0, top = 200, left = 150" )
}
function myPopup2() {
window.open( "http://www.example.com/1b.htm", "myWindow",
"status = 0, height = 375, width = 500, resizable = 0, top = 200, left = 150" )
}