RE: [PHP-DB] Another question
| From: | Duane Lakoduk | Date: | Mon, 15 Dec 2003 13:47:00 +0000 |
| Subject: | RE: [PHP-DB] Another question | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-32046@lists.php.net to get a copy of this message | ||
In I.E. 5.5 and newer.
> -----Original Message-----
> From: Mike U. Petrov [mailto:_mike@bk.ru]
> Sent: Monday, December 15, 2003 7:32 AM
> To: DLAKODUK@mn.rr.com; 'Constantin Brinzoi'; php-db@lists.php.net
> Subject: RE: [PHP-DB] Another question
>
>
> I've tried to use this function, but it doesn't work on IE 5.0
> On Opera 7.21 it works.
> So on what browser you've tested it?
>
> Mike U. Petrov
>
>
> -----Original Message-----
> From: Duane Lakoduk [mailto:dlakoduk@mn.rr.com]
> Sent: Monday, December 15, 2003 4:18 PM
> To: 'Constantin Brinzoi'; php-db@lists.php.net
> Subject: RE: [PHP-DB] Another question
>
>
>
> You can avoid the prompt when using javascript to close the
> window if you
> use this:
>
> function closeit(){
> window.opener = top;
> window.close();
> }
>
> Now, window will close without prompting.
>
> hth,
>
> Duane
> > -----Original Message-----
> > From: Constantin Brinzoi [mailto:aurel@irecson.ro]
> > Sent: Monday, December 15, 2003 6:15 AM
> > To: php-db@lists.php.net
> > Subject: [PHP-DB] Another question
> >
> >
> > Is there a php function that closes a browser window?
> >
> > I know there is a javascript function (window.close), but I
> > can't use it
> > because it complains that the window is not opened by javascript
> > (window.open).
> >
> > I looked over the function reference but I didn't find
> anything about
> > this problem.
> >
> > TIA
> > Constantin Brinzoi
> >
> >
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>