Hi every one
I'm having a problem with netscape 7
I have an application which requires some clean up when the user closes a browser window.
This is de code

<body onunload="window.open'http://localhost/sdg/logout.php');">

it works in IE
It doesn't work in netscape 7

thanks in advance
I really aprreciate it.

    You got it right except for the syntax error:

    <body onunload="window.openCOLOR=red;">

    You missed the opening paren (

    Thanks,

    Sean.

      Originally posted by NeuX
      You got it right except for the syntax error:

      <body onunload="window.openCOLOR=red;">

      You missed the opening paren (

      Thanks,

      Sean.

      Hi sean Thanks, I missed the open paren when I type in the syntax, however it is right in my script.

      Thanks

        Hmmm, I pasted your code (plus paren) into a document I have, and ran it with Mozilla 1.4a and it worked just fine. Must be some differences.

        Sean.

          In your Preferences (Advanced -> Scripts & Plugins) panel, do you allow scripts to "Open unrequested windows" or not?

            Netscape 7.x doesn't have that option in preferences advanced (scripts and plugins) 🙁

              There's also a "suppress popups" preference in there under Privacy and Security (at least going by my version of Mozilla)

                julioc, I had that same problem before. I searched the web for a while to find a solution, but to no avail. The short version of the answers I received is Netscape(6.x and up) doesn't support the onunload function.

                  Write a Reply...