RobBroekhuis
Technical User
Hi all,
Newbie alert once again. I'm generating a popup window on the fly. The window generation works just fine. View source shows:
<html><head><style> body {background-color=#FFFFEE; font-family="Arial"; font-size=16Px}</style>
<body onBlur="window.close()">
<form onSubmit="window.close()"><p align=center><input type="submit" value="close"></form>
The close button works - the popup window closes. However, the onBlur doesn't work - when I pull up the calling window again, the popup just moves into the background, without closing. I took the <body onBlur= > tag straight from the JavaScript reference pages. Why doesn't it work?
Rob
![[flowerface] [flowerface] [flowerface]](/data/assets/smilies/flowerface.gif)
Newbie alert once again. I'm generating a popup window on the fly. The window generation works just fine. View source shows:
<html><head><style> body {background-color=#FFFFEE; font-family="Arial"; font-size=16Px}</style>
<body onBlur="window.close()">
<form onSubmit="window.close()"><p align=center><input type="submit" value="close"></form>
The close button works - the popup window closes. However, the onBlur doesn't work - when I pull up the calling window again, the popup just moves into the background, without closing. I took the <body onBlur= > tag straight from the JavaScript reference pages. Why doesn't it work?
Rob
![[flowerface] [flowerface] [flowerface]](/data/assets/smilies/flowerface.gif)