toughGirl
MIS
- Mar 26, 2001
- 68
i have this script and it doesn't work. Can someone tell me how to write the code to close the window if it's not in focus?
var newWindow = null
function makeNewWin(){
newWindow = window.open(" "popup", "height=300, width=200"
if (!newWindow.focus){
self.close()
}
}
You can go to and press on the [instructions] link at the bottom.
thanks tG
--{-{@
var newWindow = null
function makeNewWin(){
newWindow = window.open(" "popup", "height=300, width=200"
if (!newWindow.focus){
self.close()
}
}
You can go to and press on the [instructions] link at the bottom.
thanks tG
--{-{@