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:[EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 3:48 AM
To: Curt Zirzow; [EMAIL PROTECTED]
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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 16, 2003 2:15 PM
Subject: Re: [PHP] Opening a Window with JavaScript


> Todd Cary <[EMAIL PROTECTED]> 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



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to