테스트 사이트 - 개발 중인 베타 버전입니다

상세설명부분에요.

· 15년 전 · 3 · 2
<html>

<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">

<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_end = cookie_str.indexOf('=', pos_start);

cookie_name = cookie_str.substring(pos_start, pos_end);

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_name == name && 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></head>

<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
<table width="650" cellpadding="0" cellspacing="0" height="1442">
<tr>
<td background="http://chamnara.kr/cart/data/cheditor/1005/chamnara.gif" width="650" height="1442" valign="top">
<table width="650" height="741" cellpadding="0" cellspacing="0">
<tr>
<td width="640" height="453">&nbsp;</td>
</tr>
<tr>
<td width="640" height="280">
<table width="650" cellpadding="0" cellspacing="0">
<tr>
<td width="155">
<p align="center"><a href="javascript:na_open_window('win', '/chamnara01.php', 0, 0, 578, 816, 0, 0, 0, 0, 0);" target="_self"><img src="/images/01.gif" width="153" height="209" border="0"></a></p>
</td>
<td width="155">
<p align="center"><a href="javascript:na_open_window('win', '/chamnara02.php', 0, 0, 578, 816, 0, 0, 0, 0, 0);" target="_self"><img src="/images/02.gif" width="153" height="209" border="0"></a></p>
</td>
<td width="155">
<p align="center"><a href="javascript:na_open_window('win', '/chamnara03.php', 0, 0, 578, 816, 0, 0, 0, 0, 0);" target="_self"><img src="/images/03.gif" width="153" height="209" border="0"></a></p>
</td>
<td width="155">
<p align="center"><a href="javascript:na_open_window('win', '/chamnara04.php', 0, 0, 578, 816, 0, 0, 0, 0, 0);" target="_self"><img src="/images/04.gif" width="153" height="209" border="0"></a></p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>

</html>

위와 같이 소스를 넣어주면

<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_end = cookie_str.indexOf('=', pos_start);

cookie_name = cookie_str.substring(pos_start, pos_end);

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_name == name && 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>

이부분이 자동으로 삭제되어서 클릭을 할 수 없는데.
어떻게 해야할까요. ㅠㅠ

댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기

댓글 2개

DHTML 에 JAVASCRIPT 코드를 넣으시면 코드가 망실됩니다.

item.php 의 소스에 코드를 직접 넣어주시기 바랍니다.
감사합니다^^
잘되는군요. ^0^

게시글 목록

번호 제목
14427
14424
14423
14417
14416
14415
14409
14403
14392
14380
14379
14377
14376
14374
14371
14368
14366
14361
14360
14359