야후 번역기
2012. 1. 2. 13:28ㆍ50. 잡동짬뽕짬짜면
<script language="JavaScript">
function resizeWindow() {
/*
var windowWidth = document.body.clientWidth;
var windowHeight = document.body.clientHeight;
var iframeWidth = frameId.document.body.scrollWidth;
var iframeHeight = frameId.document.body.scrollHeight;
frameId.style.setExpression('width' , windowWidth-10);
frameId.style.setExpression('height', windowHeight-6);
*/
window.resizeTo(680, 609);
alert(1);
}
</script>
function resizeWindow() {
/*
var windowWidth = document.body.clientWidth;
var windowHeight = document.body.clientHeight;
var iframeWidth = frameId.document.body.scrollWidth;
var iframeHeight = frameId.document.body.scrollHeight;
frameId.style.setExpression('width' , windowWidth-10);
frameId.style.setExpression('height', windowHeight-6);
*/
window.resizeTo(680, 609);
alert(1);
}
</script>
<body style="margin:0" onLoad="resizeWindow()">
<div style="position:absolute; top:-266px; left:0px;">
<iframe src="http://honyaku.yahoo.co.jp" width="680" height="609" scrolling="no" frameborder="0"></iframe>
</div>
</body>