Re: how to popup a new browser window from php
| From: | Jason Wong | Date: | Fri, 19 Apr 2002 13:13:32 +0000 |
| Subject: | Re: how to popup a new browser window from php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-93686@lists.php.net to get a copy of this message | ||
On Friday 19 April 2002 20:48, Brian McGarvie wrote:
> add this to the <head> section;
>
> <script language="JavaScript">
> function popupcontent(urll)
>
> {
>
>
> window.open(urll,'popup','toolbar=no,location=no,directories=no,status=n
> o,menubar=no,resizable=no,copyhistory=no,scrollbars=yes,width=400,height
> =250');
>
> }
>
> //-->
> </SCRIPT>
>
> then use the following to open a window however ya want it to appear;
>
> <a
> href=\"javascript:popupcontent('announcements.php?action=view&thisone=$i
> d')\"><b>$title</b></a>
This looks suspiciously like javascript.
> works nicely :)
I'm sure it does. Now do it again *without* javascript :)
> >> Is there any easy way to popup a new browser from PHP
> >> without using any Javascript?
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
The mome rath isn't born that could outgrabe me.
-- Nicol Williamson
*/