[PHP] Creating a new window
I am using PHP to create a button on a window so that a new window is created when the button is clicked using javaScript. Is there a way to create a new window inline; that is create a window on top of the current window without having the surfer press a button? Here is my current onClick code: input name=btnView type=button value=View onClick=MM_openBrWindow('claim_pdf.php?session_id=1095690357pdf_file=1000481.pdf','','toolbar=no,status=no,scrollbars=no,resizable=yes');nbsp; /td Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Creating a new window
this is javascript question isnt it.. but to end the thread quickly... just dont put your js in the button.. just print it .. print scriptwin-=open(...);win.focus();/script; that wiill open a win when the browser parses it. Jason Todd Cary [EMAIL PROTECTED] wrote: I am using PHP to create a button on a window so that a new window is created when the button is clicked using javaScript. Is there a way to create a new window inline; that is create a window on top of the current window without having the surfer press a button? Here is my current onClick code: input name=btnView type=button value=View onClick=MM_openBrWindow('claim_pdf.php?session_id=1095690357pdf_file=1000481.pdf','','toolbar=no,status=no,scrollbars=no,resizable=yes'); /td Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Creating a new window
JavaScript, not a PHP question., but chekc out onload() MT At 11:42 AM 9/20/2004, Todd Cary wrote: I am using PHP to create a button on a window so that a new window is created when the button is clicked using javaScript. Is there a way to create a new window inline; that is create a window on top of the current window without having the surfer press a button? Here is my current onClick code: input name=btnView type=button value=View onClick=MM_openBrWindow('claim_pdf.php?session_id=1095690357pdf_file=1000481.pdf','','toolbar=no,status=no,scrollbars=no,resizable=yes');nbsp; /td Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Creating a new window
Todd Cary wrote: I am using PHP to create a button on a window so that a new window is created when the button is clicked using javaScript. Is there a way to create a new window inline; that is create a window on top of the current window without having the surfer press a button? PHP cannot open new windows. It is server side. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php