JavaScript

차단된 팝업 허용 알림
  • 조회수 5,146
  • 작성일 2009-04-20
  •  
if ( notice_getCookie( "Notice" ) != "done" ) {
  gzPopup = window.open('http://www.adma.kr/pop/cons.htm','','width=400,height=400,left=0,top=0');
  popupWin = true;
  if(gzPopup != null) gzPopup.focus();
  if(popupWin && gzPopup == null) alert('차단된 팝업창을 허용해 주십시오.');
}