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">&nbsp;';
 ?><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:[EMAIL PROTECTED]]
Sent: Tuesday, January 30, 2001 4:15 AM
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to