File: /lib/pageparts.php
Line: 70-73
<?php
function popup($page,$size="550x300"){
$s = split("x",$size);
return "window.open('$page','".preg_replace("([^[:alnum:]])","",$page)."','scrollbars=yes,resizable=yes,width={$s[0]},height={$s[1]}').focus()";
}
Change the 550x300 to the size you want. Of course this will only be used if a size has not been specified by what ever created the link.

OK, I hate to gravedig here, BUT...this post best illustrates my question.
I made this change in pageparts.php and it does work....BUT...you imply that a size can be set by whatever creates the link. But DAMNED if I can get a popup window to size different.
Here is what I am doing...moving "Preferences" to the top of the page near YOM and so on...but I can't size the popup box different.
return sprintf("<a href='prefs.php' target='_blank' onClick=\"".popup("prefs.php").";return false;\" class='motd'><b>".translate_inline("Preferences")."</b></a> | <a href='prefs.php' target='_blank' onClick=\"".popup("prefs.php").";return false;\" class='motd'><b>".translate_inline("Preferences")."</b></a> | <a href='mail.php' target='_blank' onClick=\"".popup("mail.php").";return false;\" class='hotmotd'>".translate_inline("Mail: %s new, %s old", 'common')."</a>",$row['notseen'],$row['seencount']);
Now, what I WANT...is for this part, just the Preferences....to specify a size.
How do I do that using .popup("prefs.php" - etc.?
I know that a module notepad.php does it using window.open
But I can't figure how to code it in this context
Like i said, you have implied it is possible to set a size for one specific popup. So how is it done?