|
|
|
08-09-17
|
조회 1,009
|
|
|
|
08-09-17
|
조회 994
|
|
|
|
08-09-17
|
조회 787
|
|
|
|
08-09-17
|
조회 804
|
|
|
|
08-09-17
|
조회 1,828
|
|
|
|
08-09-17
|
조회 937
|
|
|
|
08-09-17
|
조회 1,013
|
|
|
|
08-09-17
|
조회 786
|
|
|
|
08-09-17
|
조회 749
|
|
|
|
08-09-17
|
조회 803
|
|
|
|
08-09-17
|
조회 976
|
|
|
|
08-09-16
|
조회 967
|
|
|
|
08-09-16
|
조회 1,008
|
|
|
|
08-09-16
|
조회 986
|
|
|
|
08-09-16
|
조회 978
|
|
|
|
08-09-16
|
조회 812
|
|
|
|
08-09-16
|
조회 784
|
|
|
|
08-09-16
|
조회 800
|
|
|
|
08-09-16
|
조회 931
|
|
|
|
08-09-16
|
조회 885
|
댓글 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 높이를 조정해 보세요.