JavaScript Pop-Up - Custom Width/Height

I didn’t see any on this particular topic, so I figure I’ll post the obligatory javascript pop-up window script that is used on kirupa.com:

<SCRIPT LANGUAGE="JavaScript"> 
<!-- Begin 
function LaunchV3(page, width, height) { 
OpenWin = this.open(page, "interestingName", "toolbar=no,menubar=no,location=no,scrollbars=no,resizable=yes,width="+width+", height=" + height+""); 
} 
// End --> 
</SCRIPT>

Paste the above somewhere in your document, and to launch a page, use the following in a hyperlink:

javascript:LaunchV3('http://www.yahoo.com',700,670)

Notice that you pass the width and height of your new window as part of the arguments for the LaunchV3 script.

:sailor: