|
|
|
17년 전
|
조회 734
|
|
|
|
17년 전
|
조회 700
|
|
|
|
17년 전
|
조회 749
|
|
|
|
17년 전
|
조회 922
|
|
|
|
17년 전
|
조회 921
|
|
|
|
17년 전
|
조회 965
|
|
|
|
17년 전
|
조회 935
|
|
|
|
17년 전
|
조회 924
|
|
|
|
17년 전
|
조회 763
|
|
|
|
17년 전
|
조회 728
|
|
|
|
17년 전
|
조회 748
|
|
|
|
17년 전
|
조회 878
|
|
|
|
17년 전
|
조회 836
|
|
|
|
17년 전
|
조회 780
|
|
|
|
17년 전
|
조회 795
|
|
|
|
17년 전
|
조회 926
|
|
|
|
17년 전
|
조회 782
|
|
|
|
17년 전
|
조회 723
|
|
|
|
17년 전
|
조회 741
|
|
|
|
17년 전
|
조회 733
|
댓글 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 높이를 조정해 보세요.