Re: Creating a Window without JavaScript that is on top
| From: | Mike Rondeau | Date: | Thu, 23 Mar 2006 05:26:26 +0000 |
| Subject: | Re: Creating a Window without JavaScript that is on top | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-232435@lists.php.net to get a copy of this message | ||
I'd like to echo that statement!
Mike
----- Original Message -----
From: Todd Cary
To: php-general@lists.php.net
Sent: Wednesday, March 22, 2006 5:49 PM
Subject: Re: [PHP] Creating a Window without JavaScript that is on top
Thank you! Very helpful indeed!
Todd
Jay Blanchard wrote:
> You do know that JavaScript can open a PHP page right? Here is an
> example....
>
> /*
> * description: pop up a window with a specific file
> * call: <a href="javascript:popUp('<name of file to open like
> foo.php>')"><link name></a>
> */
> function popUp(url){
> pop = window.open(url,'window
> name','width=300,height=200,toolbar=no,location=no,menubar=no,scrollbars
> =no,resizable=no');
> pop.moveTo(50,50);
> }
>
> Whatever foo.php is will be displayed in the pop-up window. There are
> several ways to pass variables back and forth using JavaScript....but
> this is not the list for that :)