최신글 링크 타겟 설정 다시 질문이여 정보
최신글 링크 타겟 설정 다시 질문이여본문
안녕하세요.
또 문의사항이 있어서요..
또 문의사항이 있어서요..
메인 경로는
http://seootelecom.co.kr/betaweb/index_latest.php
이며,
제목에서와 같이 메인 화면에 아이프레임으로 최신글을 삽입했습니다.
헌데 more버튼은 타겟지정이 가능한데
글목록을 클릭하면 그자리에서 보여지네요.
혹시 타겟 지정가능할까요?
http://seootelecom.co.kr/betaweb/index_latest.php
이며,
제목에서와 같이 메인 화면에 아이프레임으로 최신글을 삽입했습니다.
헌데 more버튼은 타겟지정이 가능한데
글목록을 클릭하면 그자리에서 보여지네요.
혹시 타겟 지정가능할까요?
게시물을 클릭하면 more 버튼에서 처럼
http://seootelecom.co.kr/betaweb/cyber1_1.php로 링크를 걸어주고 싶은데 그렇게 하려면 어떻게 해야하죠?
http://seootelecom.co.kr/betaweb/cyber1_1.php로 링크를 걸어주고 싶은데 그렇게 하려면 어떻게 해야하죠?
다시한번 답변 부탁드릴께요.
고맙습니다.
최신글 해당 소스도 첨부합니다.
-------------원본소스--------
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table width=480 cellpadding=0 cellspacing=0>
<colgroup width=14>
<colgroup>
<colgroup width=37>
<colgroup width=14>
<tr>
<td width="386"> <img src="<?=$latest_skin_path?>/img/title.gif"></td>
<td width="32"><a href="http://seootelecom.co.kr/betaweb/cyber2_1.php" target="_top" onfocus=this.blur();><img src="<?=$latest_skin_path?>/img/more.gif" border="0"></a></td>
</tr>
<tr>
<td colspan="2" background="<?=$latest_skin_path?>/img/bar1.gif" height=10></td>
</tr>
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td colspan=2 align=right>
<table width="95%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="<?=$latest_skin_path?>/img/arrow1.gif" width=20 height=20>
<?
echo $list[$i][icon_reply] . " ";
echo "<a href='{$list[$i][href]}'>";
if ($list[$i][is_notice])
echo "<font style='font-family:돋움; text-decoration: none; font-size:9pt; color:#2C88B9;'><strong>{$list[$i][subject]}</strong></font>";
else
echo "<font style='font-family:돋움; font-size:9pt; text-decoration: none; color:#6A6A6A;'>{$list[$i][subject]}</font>";
echo "</a>";
if ($list[$i][comment_cnt])
echo " <a href=\"{$list[$i][comment_href]}\"><span style='font-family:돋움; font-size:8pt; color:#9A9A9A;'>{$list[$i][comment_cnt]}</span></a>";
// if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
// if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }
echo " " . $list[$i][icon_new];
echo " " . $list[$i][icon_file];
echo " " . $list[$i][icon_link];
echo " " . $list[$i][icon_hot];
echo " " . $list[$i][icon_secret];
?></td>
</tr>
<tr>
<td background="<?=$latest_skin_path?>/img/line_bg.gif" width="95" height="1"></td>
</tr>
</table> </td>
</tr>
<? } ?>
<? if (count($list) == 0) { ?><tr><td colspan=2 align=center height=50><font color=#6A6A6A>게시물이 없습니다.</a></td></tr><? } ?>
</table>
댓글 전체
<?
echo $list[$i][icon_reply] . " ";
echo "<a href='{$list[$i][href]}'>";
if ($list[$i][is_notice])
echo "<font style='font-family:돋움; text-decoration: none; font-size:9pt; color:#2C88B9;'><strong>{$list[$i][subject]}</strong></font>";
else
echo "<font style='font-family:돋움; font-size:9pt; text-decoration: none; color:#6A6A6A;'>{$list[$i][subject]}</font>";
echo "</a>";
부분중 echo "<a href='{$list[$i][href]}'>"; 를 echo "<a href='http://seootelecom.co.kr/betaweb/cyber2_1.php' target='_top' onfocus=this.blur();>"; 로 수정...
echo $list[$i][icon_reply] . " ";
echo "<a href='{$list[$i][href]}'>";
if ($list[$i][is_notice])
echo "<font style='font-family:돋움; text-decoration: none; font-size:9pt; color:#2C88B9;'><strong>{$list[$i][subject]}</strong></font>";
else
echo "<font style='font-family:돋움; font-size:9pt; text-decoration: none; color:#6A6A6A;'>{$list[$i][subject]}</font>";
echo "</a>";
부분중 echo "<a href='{$list[$i][href]}'>"; 를 echo "<a href='http://seootelecom.co.kr/betaweb/cyber2_1.php' target='_top' onfocus=this.blur();>"; 로 수정...
echo "<a href='{$list[$i][href]}'>"; 를 echo "<a href='{$list[$i][href]}' target='_top'>"; 으로 변경하고
it_news게시판은 현재 head와 tail이 정의되지 않았으므로, http://seootelecom.co.kr/betaweb/cyber1_1.php 처럼 보이게 하려면 게시판설정에서 head와 tail을 맞춰주면 되지 싶습니다.
it_news게시판은 현재 head와 tail이 정의되지 않았으므로, http://seootelecom.co.kr/betaweb/cyber1_1.php 처럼 보이게 하려면 게시판설정에서 head와 tail을 맞춰주면 되지 싶습니다.
두분 모두 답변 고맙습니다.^^