¾Æ·¡´Â º» ¿¹Á¦ÀÇ ÀÚ¹Ù½ºÅ©¸³Æ® ¿ø¹®ÀÔ´Ï´Ù.
¾Æ·¡ 3000À̶õ ºÎºÐÀ» ¼öÁ¤Çϼż ¼Óµµ¸¦ Á¶ÀýÇÒ¼ö ÀÖ½À´Ï´Ù. ÇöÀç ¿Ã·ÁÁø À̹ÌÁö´Â ÇØÇÇCGI ÇØÇǸô¼Ö·ç¼ÇÀÇ µ¥¸ðº£³ÊÀÔ´Ï´Ù.
<html> <head> <title>ÇØÇÇCGI</title>
<script> 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 setCookie( name, value, expiredays ){ var todayDate = new Date(); todayDate.setDate( todayDate.getDate() + expiredays ); document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";" } </script> </head> <body>
<div id=noticelayer style='position:absolute;left:-500px; top:200px;z-index:500' > <table width=352 height=400> <td style="border:1px #777777 solid" bgcolor=white> <table width=100% height=100%> <tr><td align=center><img src="http://demo.happycgi.com/jini/popup.jpg"></td></tr> <tr><td valign=bottom align=center><font style="font-size:11px;">ÇØÇǸôµ¥¸ðº£³ÊÀÔ´Ï´Ù</font><a href="javascript:document.all.noticelayer.style.visibility='hidden';setCookie( 'nlayer', 'done' , 1);"><font style="font-size:11px;">¿À´ÃÇÏ·ç ¾Èº¸ÀÓ</font></a></td></tr> </table> </td> </table> </div>
<SCRIPT LANGUAGE="JavaScript"> moveX = -500; var timerID; var leftmargin = 200; //¿ÞÂÊ¿©¹é function showLayerPopup() { clearTimeout(timerID); timerID = setTimeout("showLayerPopup()",25); if (moveX < -10) { moveX = moveX*0.93; document.all.noticelayer.style.pixelLeft = moveX+ leftmargin; } else { clearTimeout(timerID); timerID = setInterval('hideLayerPopup()',3000); //µé¾î°¥ ½Ã°£ ÁöÁ¤ 3000=3ÃÊ } } function hideLayerPopup() { clearTimeout(timerID); timerID = setTimeout("hideLayerPopup()",25); if (moveX > -440) { moveX = moveX-10; document.all.noticelayer.style.pixelLeft = moveX+30; } else clearInterval(timerID); } if ( getCookie( "nlayer" ) != "done" ) timerID = setInterval('showLayerPopup()',400); </SCRIPT>
</body> </html>
|