제가 갤러리 스킨을 달았는데요.. 정보
제가 갤러리 스킨을 달았는데요..본문
제가 갤러리 스킨을 달았는데요..롤링되는 스킨입니다
그런데 잘 돌아가는데 끝에서 다시 처음 사진이 따라와야 하는데
여백이 남다가 끝나면 다시 시작되는 형태입니다.
========================= 소스부분 =============================
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
$mod = 8; // 한행당 몇개씩?
$image_width = 172; // 이미지 폭
$image_height = 155; // 이미지 높이
$t_width = 720; // 전광판 넓이
?>
<style>
img {border="0"
}
.box1 {
border: 1px solid;
border-color: #B8B8B8;
}
</style>
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
$mod = 8; // 한행당 몇개씩?
$image_width = 172; // 이미지 폭
$image_height = 155; // 이미지 높이
$t_width = 720; // 전광판 넓이
?>
<style>
img {border="0"
}
.box1 {
border: 1px solid;
border-color: #B8B8B8;
}
</style>
<table width="370" align="center" border="0" cellspacing="0" cellpadding="0">
<tR>
<td>
<marquee width='<?=$t_width?>' direction='left' scrollamount='3' scrolldelay=100 onmouseover='this.stop();' onmouseout='this.start();'>
<table width="100%" border="0" align="right" cellspacing="0" cellpadding="0">
<tr><td height="10" colspan="5"></td></tr>
<tr>
<? for ($i=0; $i<count($list); $i++) { ?>
<td align="center" style='padding-right:7px;'>
<?
echo $list[$i][icon_reply] . " ";
<tR>
<td>
<marquee width='<?=$t_width?>' direction='left' scrollamount='3' scrolldelay=100 onmouseover='this.stop();' onmouseout='this.start();'>
<table width="100%" border="0" align="right" cellspacing="0" cellpadding="0">
<tr><td height="10" colspan="5"></td></tr>
<tr>
<? for ($i=0; $i<count($list); $i++) { ?>
<td align="center" style='padding-right:7px;'>
<?
echo $list[$i][icon_reply] . " ";
echo "<a href='$g4[bbs_path]/board.php?bo_table=$bo_table'>";
$image = urlencode($list[$i][file][0][file]); // 첫번째 파일이 이미지라면
if (preg_match("/\.(gif|jpg|png)$/i", $image)) {
echo "<img src='$g4[path]/data/file/$bo_table/$image' width='$image_width' height='$image_height' border='0'alt='{$list[$i][subject]}' style='border:1 solid #777777;'>\n";
} else
echo "</a>";
echo "<br>";
echo "<font color='#BCCFCD'>▒</font> <font style=color:#393939;'>{$list[$i][subject]}</font> <font color='#BCCFCD'>▒</font> ";
echo " " . $list[$i][icon_new];
?>
</td>
<? } ?>
$image = urlencode($list[$i][file][0][file]); // 첫번째 파일이 이미지라면
if (preg_match("/\.(gif|jpg|png)$/i", $image)) {
echo "<img src='$g4[path]/data/file/$bo_table/$image' width='$image_width' height='$image_height' border='0'alt='{$list[$i][subject]}' style='border:1 solid #777777;'>\n";
} else
echo "</a>";
echo "<br>";
echo "<font color='#BCCFCD'>▒</font> <font style=color:#393939;'>{$list[$i][subject]}</font> <font color='#BCCFCD'>▒</font> ";
echo " " . $list[$i][icon_new];
?>
</td>
<? } ?>
<? if (count($list) == 0) { echo "<td colspan=$mod align=center>게시물이 없습니다.</td>"; } ?>
</tr>
<tr><td height="7" colspan="5"></td></tr>
<tr><td height="1" colspan="5" bgcolor="#F2F2F2"></td></tr>
</table>
</td>
</tr>
</table>
</marquee>
</tr>
<tr><td height="7" colspan="5"></td></tr>
<tr><td height="1" colspan="5" bgcolor="#F2F2F2"></td></tr>
</table>
</td>
</tr>
</table>
</marquee>
마퀴태그엔 제가 원하는 방식이 없을까요 고수님들??
한수 부탁드립니다~~
댓글 전체
</marquee> 를 </table>위에 꺼에서 닫아주셔야 할듯합니다.
그래도 공백이 계속 생긴다면 DIV로 height 고정시켜서 사용 가능합니다.
그래도 공백이 계속 생긴다면 DIV로 height 고정시켜서 사용 가능합니다.