RE: [PHP] Opening a Window with JavaScript

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 ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-17-2003
Brenton Dobell
 
Posts: n/a
Default RE: [PHP] Opening a Window with JavaScript

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


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:40 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0