This is a discussion on RE: [PHP] Opening a Window with JavaScript within the PHP General forums, part of the PHP Programming Forums category; I also know with the javascript open window, you can force the print window to popup, what do you have ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I also know with the javascript open window, you can force the print window
to popup, what do you have to add to this link below?? Thanks -----Original Message----- From: Aaron Gould [mailto:webdevel@partscanada.com] Sent: Thursday, July 17, 2003 3:48 AM To: Curt Zirzow; php-general@lists.php.net Subject: Re: [php] Opening a Window with JavaScript Try this (note the "return false;" addition at the end): <a href="legal.php" onClick="MM_openBrWindow('this.href', '', 'toolbar=no, status=yes, scrollbars=no, resizable=no, width=790, height=600'); return false;"> -- Aaron Gould Web Developer Parts Canada ----- Original Message ----- From: "Curt Zirzow" <curt@zirzow.dyndns.org> To: <php-general@lists.php.net> Sent: Wednesday, July 16, 2003 2:15 PM Subject: Re: [php] Opening a Window with JavaScript > Todd Cary <todd@aristesoftware.com> wrote: > > [...] > > However, if I use an anchor, the form is submitted. Is there a way to > > prevent this? Here is the code I tried: > > > > <a href="#" onClick="MM_openBrWindow('legal.php', '', 'toolbar=no, > > status=yes, scrollbars=no, resizable=no, width=790, height=600')";"> > > I believe you can put something like (not tested): > <a href="javascript:MM_openBrWindow('legal.php', '', 'toolbar=no, > status=yes, scrollbars=no, resizable=no, width=790, height=600')";"> > > > > > Todd > > -- > > Curt > -- > > > -- > 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 |