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

[PHP] Pop up window in PHP code

2007-02-03 Thread Chris Carter
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 tr td$shopname /td td$category /td td$subcategory

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 tr

Re: [PHP] Pop up window in PHP code

2007-02-03 Thread wwww
Try this: script function poptastic(url) { newwindow=window.open(url,'name','height=490,width=900,left=150,top=175'); if (window.focus) {newwindow.focus()} } /script ? $URL=index.php; print a href=\javascript:poptastic('.$URL.')\click here/a; ? Ed I am trying to open a Java

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: script function poptastic(url) { newwindow=window.open(url,'name','height=490,width=900,left=150,top=175'); if (window.focus) {newwindow.focus()} } /script ?

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 tr td$shopname /td

RE: [PHP] pop-up window in php???

2006-05-30 Thread Jef Sullivan
PROTECTED] Sent: Monday, May 29, 2006 12:59 PM To: [EMAIL PROTECTED] Cc: [php] PHP General List Subject: Re: [PHP] pop-up window in php??? [EMAIL PROTECTED] wrote: ok, maybe I didn't make my question too clear. I was mostly wondering if there is a way to do it in PHP rather than Javascript. I would

RE: [PHP] pop-up window in php???

2006-05-30 Thread Jay Blanchard
[snip] Toolbars? No, I'm not that clever. I was only referring to disabling links and form fields within the HTML page itself. The best I could do using this technique wouldn't exactly mimic a modal dialog, just approximate one. [/snip] Incredibly enough I just found this particular way of

[PHP] pop-up window in php???

2006-05-29 Thread siavash1979
Hi all, Is there anyway to have a pop-up window to ask are you sure? yes / no in php? I know you can do it in Javascript, but I'm not sure what's the best way to implement it in php. I want the page to do nothing if no is pressed. any help would be appreciated. thanks, Siavash -- PHP General

Re: [PHP] pop-up window in php???

2006-05-29 Thread Andrei
Not related to PHP, but u hava javascript confirm function or prompt (if you need input also). Andy [EMAIL PROTECTED] wrote: Hi all, Is there anyway to have a pop-up window to ask are you sure? yes / no in php? I know you can do it in Javascript, but I'm not sure what's the best

Re: [PHP] pop-up window in php???

2006-05-29 Thread siavash1979
ok, maybe I didn't make my question too clear. I was mostly wondering if there is a way to do it in PHP rather than Javascript. I would prefer only using php. and from the answers I got, I take it that there is no way of doing it in PHP. thanks, Siavash Quoting Andrei [EMAIL PROTECTED]:

Re: [PHP] pop-up window in php???

2006-05-29 Thread Adam Zey
[EMAIL PROTECTED] wrote: ok, maybe I didn't make my question too clear. I was mostly wondering if there is a way to do it in PHP rather than Javascript. I would prefer only using php. and from the answers I got, I take it that there is no way of doing it in PHP. thanks, Siavash Quoting

Re: [PHP] pop-up window in php???

2006-05-29 Thread Lester Caine
[EMAIL PROTECTED] wrote: ok, maybe I didn't make my question too clear. I was mostly wondering if there is a way to do it in PHP rather than Javascript. I would prefer only using php. and from the answers I got, I take it that there is no way of doing it in PHP. All that PHP can do is

Re: [PHP] pop-up window in php???

2006-05-29 Thread siavash1979
Quoting Lester Caine [EMAIL PROTECTED]: [EMAIL PROTECTED] wrote: ok, maybe I didn't make my question too clear. I was mostly wondering if there is a way to do it in PHP rather than Javascript. I would prefer only using php. and from the answers I got, I take it that there is no way

Re: [PHP] pop-up window in php???

2006-05-29 Thread Paul Novitski
At 11:03 AM 5/29/2006, [EMAIL PROTECTED] wrote: Is there anyway to have a pop-up window to ask are you sure? yes / no in php? I know you can do it in Javascript, but I'm not sure what's the best way to implement it in php. I want the page to do nothing if no is pressed. With all due respect

RE: [PHP] pop-up window in php???

2006-05-29 Thread Jay Blanchard
[snip] However, PHP can download a page with input fields disabled that includes a div styled to look like a dialog box with a couple of submit buttons labeled YES NO. Submitting YES will request the same page from PHP but without the dialog div and with user interface fields enabled; NO

RE: [PHP] pop-up window in php???

2006-05-29 Thread tedd
At 6:38 PM -0500 5/29/06, Jay Blanchard wrote: [snip] However, PHP can download a page with input fields disabled that includes a div styled to look like a dialog box with a couple of submit buttons labeled YES NO. Submitting YES will request the same page from PHP but without the dialog div

RE: [PHP] pop-up window in php???

2006-05-29 Thread Paul Novitski
At 04:38 PM 5/29/2006, Jay Blanchard wrote: [snip] However, PHP can download a page with input fields disabled that includes a div styled to look like a dialog box with a couple of submit buttons labeled YES NO. Submitting YES will request the same page from PHP but without the dialog div and

RE: [PHP] pop-up window in php???

2006-05-29 Thread Paul Novitski
At 05:04 PM 5/29/2006, tedd wrote: This really isn't any different than a page calling itself, or another page, where the result looks like a pop-up dialog box. That's right. Add the dialog form to the markup and position it absolutely to appear centered a bit down from the top of the

RE: [PHP] pop-up window in php???

2006-05-29 Thread Jay Blanchard
[snip] I'm not aware that PHP can ask a browser to open a second window without using JavaScript. What I'm suggesting would LOOK like a second window appearing on top of the primary window, then going away, when it would actually be a single page cleverly styled. [/snip] PHP could not open a

Re: [PHP] pop-up window in php???

2006-05-29 Thread Richard Lynch
On Mon, May 29, 2006 1:03 pm, [EMAIL PROTECTED] wrote: Is there anyway to have a pop-up window to ask are you sure? yes / no in php? I know you can do it in Javascript, but I'm not sure what's the best way to implement it in php. I want the page to do nothing if no is pressed. The only way

RE: [PHP] pop-up window in php???

2006-05-29 Thread Paul Novitski
At 06:25 PM 5/29/2006, Jay Blanchard wrote: [snip] I'm not aware that PHP can ask a browser to open a second window without using JavaScript. What I'm suggesting would LOOK like a second window appearing on top of the primary window, then going away, when it would actually be a single page

[PHP] Pop Up Window

2001-04-08 Thread Claudia
Is there a way to initiate a pop up window containing a form using PHP code? I am trying to use Javascript to popup a window which contains a form. The form is processed via a PHP script. (miniquote.scp.php3) The popup window displays OK. The form processes OK in IE 5.0 however using NS 4.7 I

Re: [PHP] Pop Up Window

2001-04-08 Thread Lindsay Adams
Weird. My netscape 4.7x does not do this under the same circumstances. (tried 4.7 4.75, 4.76, 4.77) On 4/8/01 1:33 PM, "Claudia" [EMAIL PROTECTED] wrote: Is there a way to initiate a pop up window containing a form using PHP code? I am trying to use Javascript to popup a window which