Re: [PHP] Pop up window in PHP code

2007-02-04 Thread Richard Lynch
PHP neither supports nor fails to support JS. PHP just spits out something for the browser. Use "View Source" in the browser and see what you've done. Fix the PHP until you get what you want in the "View Source" to make the JS work. On Sat, February 3, 2007 2:44 pm, Chris Carter wrote: > > I am

Re: [PHP] Pop up window in PHP code

2007-02-03 Thread Myron Turner
Chris Carter wrote: I am trying to open a Java script pop up widow from within the php code. Not able to get it done, the error I think is in the use of "" '' .. I mean double and/or single quote. Do not know how to place those. Please advice. The code is below: echo " $shopname $category $su

Re: [PHP] Pop up window in PHP code

2007-02-03 Thread wwww
Sorry, if already posted, just did not get any confirmation, wanted to make sure the e-mail has been sent. Try this: function poptastic(url) { newwindow=window.open(url,'name','height=490,width=900,left=150,top=175'); if (window.focus) {newwindow.focus()} } click here"; ?> Ed

Re: [PHP] Pop up window in PHP code

2007-02-03 Thread wwww
Try this: function poptastic(url) { newwindow=window.open(url,'name','height=490,width=900,left=150,top=175'); if (window.focus) {newwindow.focus()} } click here"; ?> Ed > I am trying to open a Java script pop up widow from within the php code. Not > able to get it done, the

Re: [PHP] Pop up window in PHP code

2007-02-03 Thread Paul Novitski
At 2/3/2007 12:44 PM, Chris Carter wrote: I am trying to open a Java script pop up widow from within the php code. Not able to get it done, the error I think is in the use of "" '' .. I mean double and/or single quote. Do not know how to place those. Please advice. The code is below: echo " $sh