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

<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>
|
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

+
제목 글쓴이 날짜 조회
19년 전 조회 1,699
19년 전 조회 6,056
19년 전 조회 2,878
19년 전 조회 6,042
19년 전 조회 6,837
19년 전 조회 3,730
19년 전 조회 2,212
19년 전 조회 2,104
19년 전 조회 6,901
19년 전 조회 2,400
19년 전 조회 3,954
19년 전 조회 5,342
19년 전 조회 2,685
19년 전 조회 1,742
19년 전 조회 1,579
19년 전 조회 1,523
19년 전 조회 1,797
19년 전 조회 1,794
19년 전 조회 1,787
19년 전 조회 1,721
19년 전 조회 2,513
19년 전 조회 2,314
19년 전 조회 3,473
19년 전 조회 2,600
19년 전 조회 2,574
19년 전 조회 3,420
19년 전 조회 4,635
19년 전 조회 2,967
19년 전 조회 2,807
19년 전 조회 3,355
19년 전 조회 6,286
19년 전 조회 2,190
19년 전 조회 1,996
19년 전 조회 1,946
19년 전 조회 2,007
19년 전 조회 3,193
19년 전 조회 2,267
19년 전 조회 1,954
19년 전 조회 1,634
19년 전 조회 2,083
19년 전 조회 3,367
19년 전 조회 3,237
19년 전 조회 1,910
19년 전 조회 1,486
19년 전 조회 3,184
19년 전 조회 2,056
19년 전 조회 1,623
19년 전 조회 2,841
19년 전 조회 1,973
19년 전 조회 1,845
19년 전 조회 1,821
19년 전 조회 1,786
19년 전 조회 2,208
19년 전 조회 2,631
19년 전 조회 1,789
19년 전 조회 1,527
19년 전 조회 1,535
19년 전 조회 1,462
19년 전 조회 3,228
19년 전 조회 2,918
19년 전 조회 1,674
19년 전 조회 3,409
19년 전 조회 1,836
19년 전 조회 1,486
19년 전 조회 1,952
19년 전 조회 2,095
19년 전 조회 1,630
19년 전 조회 2,337
19년 전 조회 1,992
19년 전 조회 1,601
19년 전 조회 1,783
19년 전 조회 2,036
19년 전 조회 1,785
19년 전 조회 1,589
19년 전 조회 1,655
19년 전 조회 3,123
19년 전 조회 1,992
19년 전 조회 1,863
19년 전 조회 4,364
19년 전 조회 4,995
19년 전 조회 3,157
19년 전 조회 2,888
19년 전 조회 3,491
19년 전 조회 2,037
19년 전 조회 2,388
19년 전 조회 2,685
19년 전 조회 2,759
19년 전 조회 2,346
19년 전 조회 1,609
19년 전 조회 3,376
19년 전 조회 1,974
19년 전 조회 2,386
19년 전 조회 2,447
19년 전 조회 2,872
19년 전 조회 5,201
19년 전 조회 2,482
19년 전 조회 3,325
19년 전 조회 4,264
19년 전 조회 2,503
19년 전 조회 2,457
🐛 버그신고