Re: Creating a new window
| From: | Jason Davidson | Date: | Mon, 20 Sep 2004 14:48:56 +0000 |
| Subject: | Re: Creating a new window | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-197292@lists.php.net to get a copy of this message | ||
this is javascript question isnt it.. but to end the thread quickly...
just dont put your js in the button.. just print it ..
print "<script>win-=open(...........);win.focus();</script>";
that wiill open a win when the browser parses it.
Jason
Todd Cary <todd@aristesoftware.com> wrote:
>
> I am using PHP to create a button on a window so that a new window is
> created when the button is clicked using javaScript. Is there a way to
> create a new window inline; that is create a window on top of the
> current window without having the surfer press a button?
>
> Here is my current onClick code:
>
> <input name="btnView" type="button" value="View"
>
> onClick="MM_openBrWindow('claim_pdf.php?session_id=1095690357&pdf_file=1000481.pdf','','toolbar=no,status=no,scrollbars=no,resizable=yes')";>
>
>
> </td>
>
> Todd
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>