|
|
![]() ÆË¾÷â¿¡¼ üũ¹Ú½º¿¡ üũ¸¦ Çϸé ÇϷ絿¾È âÀ» ¿Áö ¾Ê°í ´ÙÀ½³¯ ÆË¾÷âÀÌ ¶ß°Ô ÇÏ´Â ¼Ò½º´Â¿ä. ÀÏ´Ü ±× Á¢¼ÓÇßÀ»¶§ ÆË¾÷âÀÌ ¶°¾ß Çϴϱî ÀÏ´Ü Á¢¼ÓÇÑ ÆäÀÌÁö¿¡ ¾Æ·¡ÀÇ ¼Ò½º¸¦ ³Ö¾îÁÖ¼¼¿ä. <head>¿Í </head> »çÀÌ¿¡ µé¾î°¥ ³»¿ëÀÔ´Ï´Ù. <script language="javascript"> // À̺κкÎÅÍ ¼öÁ¤ÇÒ ÇÊ¿ä ¾ø½À´Ï´Ù. function getCookie(name) { var Found = false var start, end var i = 0 while(i <= document.cookie.length) { start = i end = start + name.length if(document.cookie.substring(start, end) == name) { Found = true break } i++ } if(Found == true) { start = end + 1 end = document.cookie.indexOf(";", start) if(end < start) end = document.cookie.length return document.cookie.substring(start, end) } return "" } // À̺κР±îÁö´Â ¼öÁ¤ÇÒ ÇÊ¿ä ¾ø½À´Ï´Ù. function openPopup() { var noticeCookie=getCookie("CookieName"); // ÄíŰ³×ÀÓ ÁöÁ¤ if (noticeCookie != "no") window.open('oncepopup2.html','pop','width=350,height=400,top=50,left=150'); // window.open('ÆË¾÷â À¥ÆäÀÌÁöÁÖ¼Ò','À©µµ¿ì¸í','width=ÆË¾÷âÀÇ °¡·ÎÅ©±â,height=ÆË¾÷âÀÇ ¼¼·ÎÅ©±â,top=50,left=150'); } openPopup(); // ÀÚµ¿À¸·Î ÆË¾÷ ¶ç¿ì±â </SCRIPT> ÀÌÁ¨ ÆË¾÷â¿¡ ³ª¿Ã ¹®¼¿¡ ³Ö¾îÁÖ¼¼¿ä. <head>¿Í </head>»çÀÌ¿¡.. <script language="JavaScript"> function setCookie( name, value, expiredays ) { var todayDate = new Date(); todayDate.setDate( todayDate.getDate() + expiredays ); document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";" } function closeWin() { { if ( document.cnjform.notice.checked ) // Æû³×ÀÓ cnjform Àº µ¿ÀÏÇØ¾ß ÇÕ´Ï´Ù. setCookie("CookieName", "no" , 1); // À§¿¡¼ ÁöÁ¤ÇÑ ÄíŰ³×ÀÓ°ú ÀÏÄ¡ ÇØ¾ß ÇÕ´Ï´Ù. } top.close(); } </script> <body>¿Í </body> »çÀÌ¿¡ ³Ö¾îÁÖ¼¼¿ä. ÆË¾÷â¿¡ ¶ã ³»¿ëÀ» ´Ù Àû¾îÁÖ½Ã°í ±× Ã¼Å©¹Ú½º¿Í ¿À´ÃÀº ÀÌâÀ» ¿Áö ¾ÊÀ½ÀÌ ³ª¿Ã ÀÚ¸®¿¡ ³Ö¾îÁÖ¼¼¿ä. <form name="cnjform"> <p align="center"><span style="font-size:9pt;"><input type="checkbox" name="notice" onclick="closeWin()"> ¿À´Ã ÇÏ·íµ¿¾È ÆäÀÌÁö¸¦ ¿Áö ¾Ê½À´Ï´Ù.</span> </form> |
![]() ![]() ![]() ![]() ![]() | ![]() |