...

View Full Version : Loading a window with parameters



cptn_future
10-24-2003, 01:24 AM
Hi All...
Does anyone know how to load a window with certain height, and length, on a specific location within the main browser?

Thanx

justame
10-24-2003, 03:26 AM
cpt...
you mean something just a like® this???


<SCRIPT LANGUAGE="JavaScript">
//<--!
function launch()
{
window.open
("whatever.html","new_window","width=510,height=500,left=0,top=0,location=0,menubar=0,resizable=1,scrollbars=1,status=0,titlebar=1, toolbar=0");}
//-->
</SCRIPT>



n' then you just a 'pop'® it by going...



<a href="javascript:launch();">Click here</a>


aka just a djust® the width/height/left/top numbers to just a suit® yourself...


ps...no space between the java n' script in the <a href part...



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum