add this to the <head> section;
<script language="JavaScript">
function popupcontent(urll)
{
window.open(urll,'popup','toolbar=no,location=no,directories=no,status=n
o,menubar=no,resizable=no,copyhistory=no,scrollbars=yes,width=400,height
=250');
}
//-->
</SCRIPT>
then use the following to open a window however ya want it to appear;
<a
href=\"javascript:popupcontent('announcements.php?action=view&thisone=$i
d')\"><b>$title</b></a>
works nicely :)
-----Original Message-----
From: Erik Price [mailto:[EMAIL PROTECTED]]
Sent: 19 April 2002 1:39 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] how to popup a new browser window from php
On Friday, April 19, 2002, at 12:48 AM, Jason Wong wrote:
> On Friday 19 April 2002 07:14, Wo Chang wrote:
>> Dear All,
>>
>> One simple question:
>>
>> Is there any easy way to popup a new browser from PHP
>> without using any Javascript?
>
> No.
What about target="_blank" ? I didn't think this was JavaScript, but
achieves the same effect. Or is it JavaScript?
Erik
----
Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]
--
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