portal_quot_popup.html 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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=utf-8" />
  5. <title>NOTICE</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("portal_quot_popup", "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. function getNotiDetail() {
  28. /*
  29. var win_id = "_searchNotice";
  30. var link = "http://partner.sgcenc.co.kr/supplier/portal/center/SuppNotiDetailPopup.screen?pop_win_id=_searchNotice&seq=70&layerYn=Y";
  31. //fLayerPop(win_id, link, 810,400, '', '', 'auto');
  32. window.open(link,win_id,'width=810,height=520,toolbar=no,location=no,status=no,directories=no,menubar=no,scrollbars=no,resizable=no,left=150,top=100');
  33. */
  34. var win_id = "_searchNotice";
  35. var url = "/html/portal_quot_popup.html";
  36. window.open(url,win_id,'width=720,height=870,toolbar=no,location=no,status=no,directories=no,menubar=no,scrollbars=yes,resizable=no,left=150,top=100');
  37. //window.open(url, "_blank", "portal_quot_popup", "300", "550");
  38. }
  39. </script>
  40. </head>
  41. <body style="padding:0px; margin:0px;">
  42. <table border="0" cellspacing="0" cellpadding="0">
  43. <tr>
  44. <td>
  45. <img src="./img/pop_notice_04.jpg" alt="out best supplier" width="720" height="840"/>
  46. <!-- <a onClick="getNotiDetail()" style="cursor: pointer;">
  47. <img src="./img/pop_notice_02.jpg" alt="out best supplier" width="350" height="270"/>
  48. </a> -->
  49. </td>
  50. </tr>
  51. <tr>
  52. <td>
  53. <table width="100%" border="0" cellpadding="0" cellspacing="0">
  54. <!-- <tr>
  55. <a onClick="getNotiDetail()" style="cursor: pointer;">자세히 보기</a>
  56. </tr> -->
  57. <tr style="background-color:#46659b; line-height:27px;">
  58. <td align="left" style="padding-left:10px">
  59. <table border="0" cellpadding="0" cellspacing="0">
  60. <tr>
  61. <td style="color:#FFFFFF; font-size:11px; font-family:dotum;padding-top:4px">오늘은 그만보기</td>
  62. <td valign="middle"><input type="checkbox" id="chk_today"/></td>
  63. </tr>
  64. </table>
  65. </td>
  66. <td width="30"><img src="./img/pop_close.gif" alt="" border="0" id="btn_close" style="cursor:pointer;"/></td>
  67. </tr>
  68. </table>
  69. </td>
  70. </tr>
  71. </table>
  72. </body>
  73. </html>