pop_141219.html 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=euc-kr" />
  5. <title>협력업체 대금 신청 안내</title>
  6. <script language="javascript" src="/js/jquery/jquery-1.11.0.js"></script>
  7. <script language="javascript">
  8. jQuery(document).ready(function()
  9. {
  10. $("img[id='btn_close']").click(function(){
  11. if($("input[id='chk_today']").is(":checked"))
  12. {
  13. setCookie("pop_141219", "no", 1);
  14. }
  15. window.close();
  16. });
  17. });
  18. /**
  19. * Cookie 저장
  20. */
  21. function setCookie(name, value, expiredays)
  22. {
  23. var todayDate = new Date();
  24. todayDate.setDate(todayDate.getDate() + expiredays);
  25. document.cookie = name + "=" + escape(value) + "; path=/; expires="+ todayDate.toGMTString() + ";"
  26. }
  27. </script>
  28. </head>
  29. <body style="padding:0px; margin:0px;">
  30. <table border="0" cellspacing="0" cellpadding="0">
  31. <tr>
  32. <td><img src="./img/pop_notice_01.jpg" alt="협력업체 대금 신청 안내" width="541" height="423" /></td>
  33. </tr>
  34. <tr>
  35. <td>
  36. <table width="100%" border="0" cellpadding="0" cellspacing="0">
  37. <tr style="background-color:#46659b; line-height:27px;">
  38. <td align="left" style="padding-left:10px">
  39. <table border="0" cellpadding="0" cellspacing="0">
  40. <tr>
  41. <td style="color:#FFFFFF; font-size:11px; font-family:dotum;padding-top:4px"> 오늘은 그만보기</td>
  42. <td valign="middle"><input type="checkbox" id="chk_today"/></td>
  43. </tr>
  44. </table>
  45. </td>
  46. <td width="30"><img src="./img/pop_close.gif" alt="닫기" border="0" id="btn_close" style="cursor:pointer;"/></td>
  47. </tr>
  48. </table>
  49. </td>
  50. </tr>
  51. </table>
  52. </body>
  53. </html>