Skip to content

익스플로러 창크기에 맞게 플래시를 동적으로 커졌다 작아졌다 하는 스크립트

MintState November 17, 2008 at 3:14 PM Views 16568

익스플로러 창크기에 맞게 플래시를 동적으로 커졌다 작아졌다 하는 스크립트

<script language="Javascript">

function printScreenInfo() {
screenInfo.innerHTML = "<embed src=xxx.swf width='" + document.body.clientWidth + "' height='" + document.body.clientHeight + "'>";
}

window.onresize = printScreenInfo;
window.onload = printScreenInfo;
</script>

<body topmargin=0 leftmargin=0 scroll=no>
<div id=screenInfo>
</div> 
Share X Facebook LINE QR code

0 comments

Be the first to comment.