유용한 자료
< 자료공유 < 유용한 자료
기타자료실

etc | 투명 아이프레임

페이지 정보

작성자 madalla 작성일13-02-27 22:44 조회1,654회 댓글0건

본문

공지의 body 태그에 style="background-color:transparent" 를 넣어준다.

(body style="background-color:transparent" leftmargin='0' topmargin='0' marginwidth='0' marginheight='0'>
 
그리고 공지를 불러오는 아이프레임 태그에 allowTransparency=false를 넣어준다.

(iframe allowTransparency=false src='주소' width='100%' height='100' frameborder='no' scrolling='no'>
 
 
동영상이 플래시라면 아래처럼 레이어와 wmode="transparent" 명령어로 가능하지만
일반 동영상의 경우는 불가능합니다.
 
<EMBED style="WIDTH: 700px; HEIGHT: 525px" src=http://www.poemnote.com/m.swf type=application/x-shockwave-flash wmode="transparent">
<DIV style="LEFT: -530px; POSITION: relative; TOP: -600px">
<DIV id=layer1 style="Z-INDEX: -1; LEFT: 600px; WIDTH: 400px; POSITION: absolute; TOP: 130px; HEIGHT: 100px">
  • 페이스북으로 보내기
  • 트위터로 보내기
  • 구글플러스로 보내기