[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: window.open



Try adding a second, empty <SCRIPT></SCRIPT> tag just after the closing 
form tag. 

> <html>
> <head>
> <title>junk</title>
> </head>
> 
> <body>
> <script language=javascript>
> <!--
> function doit() {
> window.open("expand-figures.html", "new_window2", "width=420,height=350")
> }
> //  -->
> </script>
> 
> <form name="myform">
>         <input type="button"
>              name="this_button"
>              value="Click Me"
>              onClick="doit()">
> 
> </form>
> 
> </body>
> </html>