 |
|
|  |
| 이미지 사이즈에 의해 자동으로 조절되는 윈도우 사이즈 |
|
|
 홈페이지 |
22년 전 |
<SCRIPT LANGUAGE="JavaScript">
var isNav4, isIE4;
if (parseInt(navigator.appVersion.charAt(0)) >= 4) {
isNav4 = (navigator.appName == "Netscape") ? 1 : 0;
isIE4 = (navigator.appName.indexOf("Microsoft") != -1) ? 1 : 0;
}
function fitWindowSize() {
if (isNav4) {
window.innerWidth = document.layers[0].document.images[0].width;
window.innerHeight = document.layers[0].document.images[0].height;
}
if (isIE4) {
window.resizeTo(500, 500);
width = 500 - (document.body.clientWidth - document.images[0].width);
height = 500 - (document.body.clientHeight - document.images[0].height);
window.resizeTo(width, height);
}
}
</script>
</HEAD>
<BODY onLoad="fitWindowSize()">
<div style="position:absolute; left:0px; top:0px">
<img src="이미지주소">
</div>
|
|
추천 : 440 |
추천
목록
|
|
|  |
|