http://oxtag.com/html/ex/popup_size.html

<html>
<head>
<title>♡ 카멜롯™의 소스천국 태그피아 ♡</title>
<script language=javascript>
adjx = 10;
adjy = 30+12;
ratio = .2;
lamescape=4.75;
function resizer(location,xres,yres) {
/*if (document.all) FlashLayer.style.visibility = 'hidden';
else document.layers['FlashLayer'].visibility = 'hidden';
*/
if (document.all) TagLine.style.visibility = 'hidden';
else document.layers['TagLine'].visibility = 'hidden';

if (navigator.appVersion.indexOf("Mac")!=-1 || (document.layers && parseFloat(navigator.appVersion)<lamescape)) {
lleft=(screen.availWidth/2)-(xres/2);
ttop=(screen.availHeight/2)-(yres/2);
if (document.all) {
xres-=0;
yres-=0;
}
ww=window.open(location,'','left='+lleft+',top='+ttop+',width='+(xres)+',height='+(yres+17)+',menubar=no,toolbar=no,location=no,directories=no,resizable=no,scrollbars=yes,status=no');
return;
} else if (document.layers) yres+=7;
xres = xres+adjx;
yres = yres+adjy;
location = location;
xnew = xresnow+((xres-xresnow)*ratio);
ynew = yresnow+((yres-yresnow)*ratio);
setTimeout("resizeIt('"+location+"','"+xres+"','"+yres+"','"+xnew+"','"+ynew+"')",1000);
}
function resizeIt(location,xres,yres,xnew,ynew){
x = xresnow;
y = yresnow;
ow=0;
oh=0;
if (document.layers) {ow=-window.outerWidth+window.innerWidth+2;oh=-window.outerHeight+window.innerHeight;}
resizeTo(x+ow,y+oh);
moveTo(((screen.availWidth/2)-(xresnow/2)),((screen.availHeight/2)-(yresnow/2)));
xresnow = xresnow+((xres-xresnow)*ratio)
yresnow = yresnow+((yres-yresnow)*ratio)
if (((xresnow-xres) <= .5)&&((xresnow-xres) >= -.5)) { xnew=Math.floor(xres); ynew=Math.floor(yres); resizeTo(xnew+ow,ynew+oh);}
if (xnew != xres) setTimeout("resizeIt('"+location+"','"+xres+"','"+yres+"','"+xnew+"','"+ynew+"')",10);
else window.location = (location);
}

xresnow=600;
yresnow=400;

</script>
</head>
<body>
<div id=TagLine>
<a href="#" onclick="resizer('../about/about_info.htm',600,400)">클릭</a>
</div>


<img src="/php/nalog/nalogd.php?counter=nlogcounter&url=" width=1 height=0>


</body>
</html>

Posted by 알 수 없는 사용자
,