묻고답하기

팝업이 쿠키를 지우면 띄워지고
컴퓨터 껐다키면  안띄워집니다..

원하는 크기로 팝업띄우는걸 했거든요

자바스크립트 소스는 아래와 같습니다.

-----------------------------------------





<script language="JavaScript">
<!--
function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
  toolbar_str = toolbar ? 'yes' : 'no';

  menubar_str = menubar ? 'yes' : 'no';

  statusbar_str = statusbar ? 'yes' : 'no';

  scrollbar_str = scrollbar ? 'yes' : 'no';

  resizable_str = resizable ? 'yes' : 'no';



  cookie_str = document.cookie;
  cookie_str.toString();


  pos_start  = cookie_str.indexOf(name);

  pos_start  = cookie_str.indexOf('=', pos_start);

  pos_end    = cookie_str.indexOf(';', pos_start);
  
  if (pos_end <= 0) pos_end = cookie_str.length;

  cookie_val = cookie_str.substring(pos_start + 1, pos_end);



  if (cookie_val  == "done")

    return;



  window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);

}

// --></script>


-------------------------------------------

<A href="javascript:na_open_window('win3', 'http://www.internetspeed.co.kr/hana/hana_s.htm', 0, 0, 665, 350, 0, 0, 0, 0, 1)"onfocus="blur();"><img src="images/rig_06.png" alt="" width=90 height=21 border="0"></a>