iframe 배경 투명하게 처리하는 경우 표준에 걸리지 않게 스크립트로 처리하는 방법

<script type="text/javascript">
onload = function() {
 var theframes = document.getElementsByTagName('iframe');
 for(var i = 0; i < theframes.length; i++)
 {
  theframes[i].setAttribute("allowTransparency", "ture");
 }
}
</script>

allowTransparency="true" 속성이 비표준이므로 대신 스크립트로 처리 
Posted by 오후네시반
,