Notice
Recent Posts
Recent Comments
위드파트너
해상도와 상관없이 레이어(layer) 고정해서 광고하기 - 제공: 아이빌드 본문
<script language=JavaScript>
<!--
var isstereo = false;
//-->
</script>
<!--
var isstereo = false;
//-->
</script>
<head></head> 사이에 위의 소스를 넣습니다.
<body leftmargin="0" marginwidth="0" topmargin="1" marginheight="1">
<!--고정레이어 시작-->
<script>
// 좌측 여백광고
if(!isstereo){
document.write();
if ( document.body.clientWidth > 850 ) {document.writeln("<div id="leftspace" style="position: absolute; right: expression(((document.body.clientWidth+790)/2)-2); top:211px;z-index:1"><a href=이동할주소target=_blank><img src='배너경로' width=가로 height=세로 border=0></a></div>");
}
}
{
// 우측 여백광고
document.write('<div id="rightspace" style="position:absolute;left:expression((document.body.clientWidth/2 + 390)); top: 299;z-index:0;"><a href=이동할주소 target=_blank><img src="배너경로" width=가로 height=세로 border=0></a></div>');
}
</script>
<!-- 여기까지 -->
<!--고정레이어 시작-->
<script>
// 좌측 여백광고
if(!isstereo){
document.write();
if ( document.body.clientWidth > 850 ) {document.writeln("<div id="leftspace" style="position: absolute; right: expression(((document.body.clientWidth+790)/2)-2); top:211px;z-index:1"><a href=이동할주소target=_blank><img src='배너경로' width=가로 height=세로 border=0></a></div>");
}
}
{
// 우측 여백광고
document.write('<div id="rightspace" style="position:absolute;left:expression((document.body.clientWidth/2 + 390)); top: 299;z-index:0;"><a href=이동할주소 target=_blank><img src="배너경로" width=가로 height=세로 border=0></a></div>');
}
</script>
<!-- 여기까지 -->
<body>태그의 margin이 1 이상 주어져야 정상 작동합니다.
'마케팅이야기 > 소스·자료실' 카테고리의 다른 글
링크 점선 생기는 것, 스타일시트 한줄로 없애기 (0) | 2007.02.27 |
---|---|
특정 시간대에 배너/iframe 다르게 불러오기 - 제공: 아이빌드 (0) | 2007.02.01 |
플라잉 배너소스(좌→우) - 제공: 아이빌드 (0) | 2007.01.30 |
플래시 랜덤배너 소스 - 제공: 아이빌드 (0) | 2007.01.30 |
800개 이상의 이모티콘 패키지 (0) | 2007.01.30 |