최신글 팝업창 관련 질문입니다(망연자실) > 그누4 질문답변

그누4 질문답변

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

최신글 팝업창 관련 질문입니다(망연자실) 정보

최신글 팝업창 관련 질문입니다(망연자실)

본문

제가 이번에 최신글 스킨을 다운받아서 깔았는데요.
팝업창으로 뜨게 하고 싶거든요?
친절하게도 다운받은 스킨에 이미 그 소스가 포함되어 있는데요
문제는 어떤 부분을 수정해야 팝업창으로 열리는지 모르겠다는 겁니다.
팁에서 검색하고 나름 적용해봤는데 안되네요.
도와주세요.
부탁입니다. -_-
 
아래는 그 소스.
 
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
$board[bo_table_width]="412"; //테이블 폭
?>
 <table width="<?=$board[bo_table_width]?>" border="0" cellpadding="0" cellspacing="0">
  <tr>
     <td colspan=2>  
   <table width="100%" border="0" cellpadding="0" cellspacing="0" background="<?=$latest_skin_path?>/img/back_b.gif">
        <tr>
    <td height="23" style='padding-top:4px;padding-left:20px;'><span style="font-family:굴림;color:#666666;font-size:9pt;"><b><?=$board[bo_subject]?></b></span></td>
    <td align="right" style='padding-right:20px;'><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><img src='<?=$latest_skin_path?>/img/more.gif' width="32" height="9" border=0></a></td>
       </tr>
      </table></td> 
  </tr>
<? for ($i=0; $i<count($list); $i++) { ?>
  <tr>
    <td height=4 colspan=2></td>
  </tr>
  <tr>
    <td width="20" height="20"  align="center"><img src='<?=$latest_skin_path?>/img/top.gif' border=0 width="6" height="7"></td>
    <td style='word-break:break-all;;'>
     <span style="font-size:8pt; color:#6A6A6A;"><?=$list[$i][datetime]?></span> 
  <?
        echo $list[$i][icon_reply] . " ";
        // 팝업창으로 내용 보기 echo "<a href=\"javascript:popup_window('$g4[bbs_path]/board.php?bo_table=$board[bo_table]&wr_id={$list[$i][wr_id]}','winBoard','left=30, top=30, width=700, height=500, scrollbars=yes,resizable=no')\">";
        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:#222222;'>{$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 height=1 colspan=2 background='<?=$latest_skin_path?>/img/line.gif'></td>
  </tr>
 <? } ?>
<? if (count($list) == 0) { echo "<tr><td colspan=3 align=center height=50>등록된 내용이 없습니다.</td></tr>"; } ?>
 <tr>
        <td height="13"  colspan=2 ></td>
 </tr>
</table>
 
 
 
 
 
 
 
 
 
 
 
윗 부분에서
echo "<a href='{$list[$i][href]}'>";
부분을 삭제해야하는거 아닐까 생각했지만 실제로 그렇게 적용해보면 링크부분만 사라져버리고 변화가 없어요.
 
 

댓글 전체

// 팝업창으로 내용 보기 echo "<a href=\"javascript:popup_window('$g4[bbs_path]/board.php?bo_table=$board[bo_table]&wr_id={$list[$i][wr_id]}','winBoard','left=30, top=30, width=700, height=500, scrollbars=yes,resizable=no')\">";
        echo "<a href='{$list[$i][href]}'>";

// 팝업창으로 내용 보기
echo "<a href=\"javascript:popup_window('$g4[bbs_path]/board.php?bo_table=$board[bo_table]&wr_id={$list[$i][wr_id]}','winBoard','left=30, top=30, width=700, height=500, scrollbars=yes,resizable=no')\">";
// echo "<a href='{$list[$i][href]}'>";
전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT