스크롤 최신글 문의

<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
// 최신글 설정
$n_width = 320; // 들어갈 폭에 맞게 전광판 넓이 설정
?>
<table width="380" border="0" cellpadding="0" cellspacing="0" align="center">
  <tr>
    <td width="33" height="31"><img src="<?=$latest_skin_path?>/img/board_title_left.gif" width="89" height="31"></td>
    <td background="<?=$latest_skin_path?>/img/board_title_bg.gif" style='padding-top:3px;' width="325">  <marquee width='<?=$n_width?>' direction='left' scrollamount='1' scrolldelay=50 height=20 onmouseover='this.stop();' onmouseout='this.start();'>
        <?
   for ($i=0; $i<count($list); $i++) {
    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][wr_2]}</strong><strong>{$list[$i][wr_name]}</strong></font>";
          else
              echo "<font style='font-family:돋움; font-size:9pt; color:#6A6A6A;'>[{$list[$i][wr_2]}/{$list[$i][wr_3]}]</font> <b><font style='font-family:돋움; font-size:9pt; color:#6A6A6A;'>{$list[$i][wr_name]}</b></font>";
          echo "</a>";
    echo " " . $list[$i][icon_new];
    echo "<br>";
   }
        ?>
  </marquee></td>
    <td width="22"><img src="<?=$latest_skin_path?>/img/board_title_right.gif" width="19" height="31"></td>
  </tr>
</table>
 
위소스에서 왼쪽으로 스크롤 되게했는데요..
최신글숫자를 2개이상할때 하나씩 나오는게아니고 위아래로 줄이늘어나네요...
 
그러니까 2줄이 동시에 왼쪽으로 이동합니다...
하나씩 스크롤되게 어떻게 하나요?
|

댓글 1개

<td>{$list[$i][wr_2]}</td>

테이블을 나눠보세요.
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누4 질문답변

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

+
제목 글쓴이 날짜 조회
18년 전 조회 1,088
18년 전 조회 1,522
18년 전 조회 1,467
18년 전 조회 1,443
18년 전 조회 1,607
18년 전 조회 1,582
18년 전 조회 1,538
18년 전 조회 1,522
18년 전 조회 1,633
18년 전 조회 1,520
18년 전 조회 1,552
18년 전 조회 1,386
18년 전 조회 1,503
18년 전 조회 1,519
18년 전 조회 1,883
18년 전 조회 2,046
18년 전 조회 1,515
18년 전 조회 1,487
18년 전 조회 2,370
18년 전 조회 3,509
🐛 버그신고