우측하단 메신저형식의 레이어광고

<html>

<head>
<title>제목없음</title>
<script language="JavaScript">
<!--
function always_posLayer()
{
var name;
var layer;
var i;
var j;

j = 0;
document.layers = new Array(Math.max(1, always_posLayer.arguments.length/2));
for (i = 0; i < always_posLayer.arguments.length; i += 2) {
name = always_posLayer.arguments[i];
if (name == '')
return;
if (navigator.appName.indexOf('Netscape', 0) != -1) {
layer = document.layers[name];
layer.pos_left = layer.left;
layer.pos_top = layer.top;
} else {
layer = document.all[name];
layer.pos_left = layer.style.pixelLeft;
layer.pos_top = layer.style.pixelTop;
}
layer.pos = always_posLayer.arguments[i+1];
if (layer)
document.layers[j++] = layer;
}

document.interval = setInterval('float_layers()', 200);
}

function ThisW()
{
return (navigator.appName.indexOf('Netscape', 0) != -1) ? innerWidth : document.body.clientWidth;
}

function ThisH()
{
return (navigator.appName.indexOf('Netscape', 0) != -1) ? innerHeight : document.body.clientHeight;
}

function float_layers()
{
if (document.layers) {
var i;
var layer;
for (i = 0; i < document.layers.length; i++) {
layer = document.layers[i];
if (navigator.appName.indexOf('Netscape', 0) != -1) {
if (layer.pos == 1)
layer.left = layer.pos_left + window.pageXOffset;
else if (layer.pos == 2 || layer.pos == 5)
layer.left = window.pageXOffset;
else if (layer.pos == 3 || layer.pos == 6)
layer.left = window.pageXOffset + (ThisW() - layer.clip.width)/2;
else
layer.left = window.pageXOffset + ThisW() - layer.clip.width - 16;
if (layer.pos == 1)
layer.top = layer.pos_top + window.pageYOffset;
else if (layer.pos == 2 || layer.pos == 3 || layer.pos == 4)
layer.top = window.pageYOffset;
else
layer.top = window.pageYOffset + ThisH() - layer.clip.height;
} else {
if (layer.pos == 1)
layer.style.pixelLeft = layer.pos_left + document.body.scrollLeft;
else if (layer.pos == 2 || layer.pos == 5)
layer.style.pixelLeft = document.body.scrollLeft;
else if (layer.pos == 3 || layer.pos == 6)
layer.style.pixelLeft = document.body.scrollLeft + (ThisW() - layer.style.pixelWidth)/2;
else
layer.style.pixelLeft = document.body.scrollLeft + ThisW() - layer.style.pixelWidth;
if (layer.pos == 1)
layer.style.pixelTop = layer.pos_top + document.body.scrollTop;
else if (layer.pos == 2 || layer.pos == 3 || layer.pos == 4)
layer.style.pixelTop = document.body.scrollTop;
else
layer.style.pixelTop = document.body.scrollTop + ThisH() - layer.style.pixelHeight;
}
}
}
}

// -->
</script>

</head>

<body OnLoad="always_posLayer('popflash',6);">//0은 위치조정0~7까지
<!-- 레이어 시작 -->
<div id="popflash" style="width:200px; height:135px; position:absolute; left:0px; top:0px; z-index:1;">
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
WIDTH="190" HEIGHT="135" hspace="0" vspace="0" ALIGN="">
<PARAM NAME=movie VALUE="http://www.z24.co.kr/images/ban_z24.swf">
<PARAM NAME=quality VALUE="high" />
<param name="menu" value="false" />
<PARAM NAME=wmode VALUE=transparent>
<PARAM NAME=bgcolor VALUE=#FFFFFF>
<EMBED src="http://www.z24.co.kr/images/ban_z24.swf" WIDTH="190" HEIGHT="135" hspace="0" vspace="0" ALIGN="" quality="high" wmode="transparent" bgcolor="#FFFFFF"
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" menu="false"></EMBED>
</OBJECT>
</div>
<!--레이어 끝-->
<Script Language="javascript">
<!--

function getCookie( name )
{
var nameOfCookie = name + "=";
var x = 0;
while ( x <= document.cookie.length )
{
var y = (x+nameOfCookie.length);
if ( document.cookie.substring( x, y ) == nameOfCookie ) {
if ( (endOfCookie=document.cookie.indexOf( ";", y )) == -1 )
endOfCookie = document.cookie.length;
return unescape( document.cookie.substring( y, endOfCookie ) );
}
x = document.cookie.indexOf( " ", x ) + 1;
if ( x == 0 )
break;
}
return "";
}

function closePopup()
{
window.open('http://dr114.z24.co.kr/event/','event_dr114');
popflash.style.display = "none";
setCookie( "dr114_z24", "done" , 1);


}



show_layer();




//5초후에 뜸
function show_layer(){
if(getCookie("dr114_z24") == ""){
popflash.style.display = "";
} else {
popflash.style.display = "none";
}
}


//한번클릭하면 오늘 열리지 않으면 링크
function setCookie( name, value, expiredays )
{
var todayDate = new Date();
todayDate.setDate( todayDate.getDate() + expiredays );
document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";"
}


-->
</Script>
</body>

</html><div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 16:57:14 JavaScript에서 이동 됨]</div>
|
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

태그 필터 (최대 3개) 전체 개발자 소스 기타 mysql 팁자료실 javascript php linux flash 정규표현식 jquery node.js mobile 웹서버 os 프로그램 강좌 썸네일 이미지관련 도로명주소 그누보드5 기획자 견적서 계약서 기획서 마케팅 제안서 seo 통계 서식 통계자료 퍼블리셔 html css 반응형 웹접근성 퍼블리싱 표준화 반응형웹 홈페이지기초 부트스트랩 angularjs 포럼 스크린리더 센스리더 개발자톡 개발자팁 퍼블리셔톡 퍼블리셔팁 기획자톡 기획자팁 프로그램강좌 퍼블리싱강좌
+
제목 글쓴이 날짜 조회
19년 전 조회 1,963
19년 전 조회 6,310
19년 전 조회 3,116
19년 전 조회 6,289
19년 전 조회 7,068
19년 전 조회 3,969
19년 전 조회 2,448
19년 전 조회 2,337
19년 전 조회 7,132
19년 전 조회 2,631
19년 전 조회 4,181
19년 전 조회 5,579
19년 전 조회 2,909
19년 전 조회 1,949
19년 전 조회 1,804
19년 전 조회 1,748
19년 전 조회 2,024
19년 전 조회 2,044
19년 전 조회 2,023
19년 전 조회 1,948
19년 전 조회 2,745
19년 전 조회 2,556
19년 전 조회 3,700
19년 전 조회 2,835
19년 전 조회 2,795
19년 전 조회 3,645
19년 전 조회 4,858
19년 전 조회 3,206
19년 전 조회 3,049
19년 전 조회 3,591
19년 전 조회 6,511
19년 전 조회 2,435
19년 전 조회 2,226
19년 전 조회 2,184
19년 전 조회 2,244
19년 전 조회 3,419
19년 전 조회 2,490
19년 전 조회 2,171
19년 전 조회 1,870
19년 전 조회 2,324
19년 전 조회 3,594
19년 전 조회 3,456
19년 전 조회 2,161
19년 전 조회 1,713
19년 전 조회 3,402
19년 전 조회 2,275
19년 전 조회 1,855
19년 전 조회 3,072
19년 전 조회 2,205
19년 전 조회 2,079
19년 전 조회 2,043
19년 전 조회 2,011
19년 전 조회 2,435
19년 전 조회 2,855
19년 전 조회 2,008
19년 전 조회 1,756
19년 전 조회 1,761
19년 전 조회 1,716
19년 전 조회 3,442
19년 전 조회 3,141
19년 전 조회 1,881
19년 전 조회 3,639
19년 전 조회 2,063
19년 전 조회 1,717
19년 전 조회 2,177
19년 전 조회 2,324
19년 전 조회 1,884
19년 전 조회 2,570
19년 전 조회 2,212
19년 전 조회 1,819
19년 전 조회 2,012
19년 전 조회 2,276
19년 전 조회 2,030
19년 전 조회 1,819
19년 전 조회 1,886
19년 전 조회 3,374
19년 전 조회 2,234
19년 전 조회 2,094
19년 전 조회 4,588
19년 전 조회 5,210
19년 전 조회 3,380
19년 전 조회 3,124
19년 전 조회 3,715
19년 전 조회 2,259
19년 전 조회 2,614
19년 전 조회 2,923
19년 전 조회 2,990
19년 전 조회 2,587
19년 전 조회 1,851
19년 전 조회 3,633
19년 전 조회 2,213
19년 전 조회 2,615
19년 전 조회 2,684
19년 전 조회 3,114
19년 전 조회 5,436
19년 전 조회 2,719
19년 전 조회 3,545
19년 전 조회 4,479
19년 전 조회 2,747
19년 전 조회 2,682