Guest_imported
New member
- Jan 1, 1970
- 0
I have been designated the responsibility to design a website for my high school's band. For some reason, the sysadmin who designed the main page for the school added a hidden serverside script to all subsidiary pages on the server, and it adds a pop up for my school district..I'm relatively new to JS, (vb is my forte), and I need help getting rid of the pop up...
here is what I have in the head in the <script type="Javascript> tag
function closeWindow() {
If (top.window != self.window) {
otherWindow = top.window
otherWindow.close() }
}
then in my body tag is <body onBlur="closeWindow()">
It doesn't work...obviously...suggestions?
here is what I have in the head in the <script type="Javascript> tag
function closeWindow() {
If (top.window != self.window) {
otherWindow = top.window
otherWindow.close() }
}
then in my body tag is <body onBlur="closeWindow()">
It doesn't work...obviously...suggestions?