Re: Creating a Window without JavaScript that is on top

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

 



I'd like to echo that statement!

Mike


  ----- Original Message ----- 
  From: Todd Cary 
  To: php-general@xxxxxxxxxxxxx 
  Sent: Wednesday, March 22, 2006 5:49 PM
  Subject: Re:  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 :)

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux