View

이미지로 오늘 하루 새창 안열기

수퍼곰탱이 2008. 4. 21. 15:00

<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()
 {
  setCookie("memo", "no" , 1); // 1일 간 쿠키적용
  self.close();
 }

 function go_url(url)
 {
  opener.location.href = url;
  self.close();
 }
//-->
</script>

이미지맵이나 이미지링크에
<a href="javascript:closeWin();">

Share Link
reply
«   2025/05   »
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31