|
|
|
17년 전
|
조회 723
|
|
|
|
17년 전
|
조회 678
|
|
|
|
17년 전
|
조회 730
|
|
|
|
17년 전
|
조회 913
|
|
|
|
17년 전
|
조회 901
|
|
|
|
17년 전
|
조회 947
|
|
|
|
17년 전
|
조회 915
|
|
|
|
17년 전
|
조회 906
|
|
|
|
17년 전
|
조회 738
|
|
|
|
17년 전
|
조회 706
|
|
|
|
17년 전
|
조회 728
|
|
|
|
17년 전
|
조회 855
|
|
|
|
17년 전
|
조회 822
|
|
|
|
17년 전
|
조회 766
|
|
|
|
17년 전
|
조회 770
|
|
|
|
17년 전
|
조회 911
|
|
|
|
17년 전
|
조회 760
|
|
|
|
17년 전
|
조회 712
|
|
|
|
17년 전
|
조회 719
|
|
|
|
17년 전
|
조회 714
|
댓글 3개
테이블에 맞게 한줄로 스크롤 되게 적용 하실려면 출력숫자를 1로 하시면 될듯 싶네요.
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
// 최신글 설정
$n_width = 350; // 들어갈 폭에 맞게 전광판 넓이 설정
?>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="29" height="31"></td>
<td style='padding-top:3px;'> </td>
<td style='padding-top:3px;'>
<marquee width='<?=$n_width?>' direction='up' scrollamount='1' scrolldelay='150' 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:10pt; color:#2C88B9;'><strong>{$list[$i][subject]}</strong></font>";
else
echo "<font style='font-family:돋움; font-size:10pt; color:#ffffff;'><strong>{$list[$i][subject]}</strong></font>";
echo "</a>";
echo " " . $list[$i][icon_new];
echo "<br>";
}
?>
</marquee>
</td>
<td width="19"></td>
</tr>
</table>
이게 소스거든요...
출력숫자를 어디서 조정하나요...
없는거같은데 ㅠ.ㅠ;
아님 출력갯수를 지정할수 있는지 몰라도.
<?=latest("스킨명", "게시판아이디", 출력갯수, 출력글자수);?>
출력갯수를 1로
이게 아니라면.
위에 소스중
<td width="29" height="31"></td>
<td style='padding-top:3px;'> </td>
<td style='padding-top:3px;'>
<marquee width='<?=$n_width?>' direction='up' scrollamount='1' scrolldelay='150' height=20 onmouseover='this.stop();' onmouseout='this.start();'>
이 부분에서 height 높이를 조정해 보세요.