최근글 클릭시 새창으로 띄우는 방법좀..

최신글을 새창으로 띄우게 하고 싶은데 어떤방법으로 하는지 몰라 질문드립니다.
새창으로 띄울때 사이즈를 줄여서 보여주고 싶은데 여러군데 찾아보니 스킨 올라와 있는것
쓰면 된다고 하는데 기존 스킨가지고 구현하고 싶습니다.

latest.skin 이곳에 삽입해야 할것은 같은데. 어떻게 해야하는지 소스좀 부탁드려요.



<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>

<table width=100% cellpadding=0 cellspacing=0>
<tr>
<td width=14><img src='<?=$latest_skin_path?>/img/latest_t01.gif'></td>
<td width='100%' background='<?=$latest_skin_path?>/img/bg_latest.gif'>  <strong><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><?=$board[bo_subject]?></a></strong></td>
<td width=37 background='<?=$latest_skin_path?>/img/bg_latest.gif'><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><img src='<?=$latest_skin_path?>/img/more.gif' border=0></a></td>
<td width=14><img src='<?=$latest_skin_path?>/img/latest_t02.gif'></td>
</tr>
</table>

<table width=100% cellpadding=0 cellspacing=0>
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td colspan=4 align=center>
<table width=95%>
<tr>
<td height=25><img src='<?=$latest_skin_path?>/img/latest_icon.gif' align=absmiddle>  
<?
echo $list[$i]['icon_reply'] . " ";
echo "<a href='{$list[$i]['href']}'>";
if ($list[$i]['is_notice'])
echo "<font style='font-family:돋움; font-size:9pt; color:#2C88B9;'><strong>{$list[$i]['subject']}</strong></font>";
else
echo "<font style='font-family:돋움; font-size:9pt; 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 bgcolor=#EBEBEB height=1></td></tr>
</table></td>
</tr>
<? } ?>

<? if (count($list) == 0) { ?><tr><td colspan=4 align=center height=50><font color=#6A6A6A>게시물이 없습니다.</a></td></tr><? } ?>

</table>
|

댓글 4개

<a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'>
==>
<a href="javascript:void(window.open('<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>','win1','width=500,height=450'))">


echo "<a href='{$list[$i]['href']}'>";
==>
echo "<a href=javascript:void(window.open('{$list[$i][href]}','win1','width=500,height=450'))>";
와 같이 수정하시면 될겁니다.
port님 감사합니다. 덕분에 아주 해결 잘되었습니다.
좋은팁이네요^^*
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
17년 전 조회 972
17년 전 조회 1,024
17년 전 조회 964
17년 전 조회 1,150
17년 전 조회 1,571
17년 전 조회 1,196
17년 전 조회 976
17년 전 조회 786
17년 전 조회 959
17년 전 조회 779
17년 전 조회 1,021
17년 전 조회 1,423
17년 전 조회 979
17년 전 조회 1,800
17년 전 조회 825
17년 전 조회 1,031
17년 전 조회 927
17년 전 조회 1,262
17년 전 조회 839
17년 전 조회 935