RE: [PHP] Resize the pop-up window
| From: | Maxim Maletsky | Date: | Tue, 30 Jan 2001 02:46:48 +0000 |
| Subject: | RE: [PHP] Resize the pop-up window | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-37222@lists.php.net to get a copy of this message | ||
Here's an example from some of my old code:
<snip>
<SCRIPT LANGUAGE="JavaScript">
<!--
function newWindow(file,window) {
msgWindow=open(file,window,'resizable=yes,scrollbars=1,width=900,height=550,
screenX=100,screenY=100,top=25,left=25');
if (msgWindow.opener == null) msgWindow.opener = self;
}
//--></SCRIPT>
<?
echo '<td><font face="Verdana" size="2"> ';
?><a CLASS="b"
href="javascript:newWindow('<?=$PHP_SELF.'?db=users&id='.$rec['id']?>','wind
ow<?=$rec['id']?>')"><?
echo
'<B>'.three_dots(trim($name),0,$sections[$db][3][0]).'</B></font></A></td>';
?>
</snip>
hey, this yes WILL HELP YOU ALL:
http://developer.irt.org/script/script.htm
Lots of good Javascript tips!
Cheers,
Maxim Maletsky
-----Original Message-----
From: david klein [mailto:davidklein101@hotmail.com]
Sent: Tuesday, January 30, 2001 4:15 AM
To: php-general@lists.php.net
Subject: [PHP] Resize the pop-up window
Hello, I know this question is out of PHP, but I'll very appreciate if some
guru here could help me out.
I have a link, which will pop up a new window, but the problem is: I don't
know how to resize the new popped-up window.
My code is like this:
<A HREF="www.intc.com" target="_blank"> intel connection </A>
Thank you very much in advance.
David
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net