내용 스크롤되는 공지최신글입니다. 정보
최신글 내용 스크롤되는 공지최신글입니다.관련링크
첨부파일
본문
http://www.sir.co.kr/bbs/tb.php/g4_skin/14790
약간 수정하여 내용글이 스크롤되게 하였고
글이나 제목을누르면 바로가기 링크 만들었습니다.
너무 허덥하여 원소스 뭉케님께 지송할따름임다.
추천
2
2
댓글 전체
잘 쓰겠습니다
감사합니다.. ^^
수고하셨습니다~
업로드시키고
<? echo latest("moongke_notice", "com_1", 1);?>
이렇게 삽입시켰더니
공지창 바로위에 아래와 같이 이상한 글씨 하나가 생기네요?
癤?
<? echo latest("moongke_notice", "com_1", 1);?>
이렇게 삽입시켰더니
공지창 바로위에 아래와 같이 이상한 글씨 하나가 생기네요?
癤?
latest.skin.php 에서 불필요한 스페이스기호들을 삭제하니 해결되었습니다.
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" height="1" bgcolor="e5e5e5"></td>
</tr>
<tr>
<td width="100%" height="2"></td>
</tr>
<tr>
<td width="100%" height="25" bgcolor="f6f6f6" style="padding-top: 2px;"> <img src="<?=$latest_skin_path?>/img/arrow.gif" width="15" height="17" align="absmiddle"><b><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'>
<?=$board[bo_subject]?>
</a></b></td>
</tr>
<tr>
<td width="100%" height="2"></td>
</tr>
<tr>
<td width="100%" height="1" bgcolor="e5e5e5"></td>
</tr>
<? for ($j=0; $j<1; $j++) { ?>
<tr>
<td width="100%" style="padding-left: 10px; padding-top: 12px; padding-bottom: 9px; line-height: 130%;"> <img src="<?=$latest_skin_path?>/img/arrow.jpg" align="absmiddle" width="7" height="7"> <a href='<?=$list[$j][href]?>'> <span style='font-family:새굴림; font-size:9pt; color:#000000;'> <b>
<?=$list[$j][wr_subject]?>
</b><br>
<br>
<marquee direction=up scrollamount=1 style="width:100%;height:150" onmouseover=this.stop() onmouseout=this.start()>
<?=nl2br(stripslashes($list[$j][wr_content]))?>
</marquee>
</span></a></td>
</tr>
<? } ?>
<? for ($i=1; $i<count($list); $i++) { ?>
<tr>
<td width="100%" height="1" bgcolor="e5e5e5"></td>
</tr>
<tr>
<td width="100%" height="25" style="padding-top: 4px;" OnMouseOver="this.style.backgroundColor='#ffffff';" OnMouseOut="this.style.backgroundColor='#f5f5f5'"> <img src="<?=$latest_skin_path?>/img/arrow.jpg" align="absmiddle" width="7" height="7"> <a href='<?=$list[$i][href]?>'><span style='font-family:새굴림; font-size:9pt; color:#000000;'>
<?=$list[$i][subject]?>
</span> <span style="font-family:Tahoma;font-size:8pt;color:#000000;">
<?=$list[$i][datetime]?>
</span></a></td>
</tr>
<? } ?>
<tr>
<td width="100%" height="1" bgcolor="e5e5e5"></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" height="1" bgcolor="e5e5e5"></td>
</tr>
<tr>
<td width="100%" height="2"></td>
</tr>
<tr>
<td width="100%" height="25" bgcolor="f6f6f6" style="padding-top: 2px;"> <img src="<?=$latest_skin_path?>/img/arrow.gif" width="15" height="17" align="absmiddle"><b><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'>
<?=$board[bo_subject]?>
</a></b></td>
</tr>
<tr>
<td width="100%" height="2"></td>
</tr>
<tr>
<td width="100%" height="1" bgcolor="e5e5e5"></td>
</tr>
<? for ($j=0; $j<1; $j++) { ?>
<tr>
<td width="100%" style="padding-left: 10px; padding-top: 12px; padding-bottom: 9px; line-height: 130%;"> <img src="<?=$latest_skin_path?>/img/arrow.jpg" align="absmiddle" width="7" height="7"> <a href='<?=$list[$j][href]?>'> <span style='font-family:새굴림; font-size:9pt; color:#000000;'> <b>
<?=$list[$j][wr_subject]?>
</b><br>
<br>
<marquee direction=up scrollamount=1 style="width:100%;height:150" onmouseover=this.stop() onmouseout=this.start()>
<?=nl2br(stripslashes($list[$j][wr_content]))?>
</marquee>
</span></a></td>
</tr>
<? } ?>
<? for ($i=1; $i<count($list); $i++) { ?>
<tr>
<td width="100%" height="1" bgcolor="e5e5e5"></td>
</tr>
<tr>
<td width="100%" height="25" style="padding-top: 4px;" OnMouseOver="this.style.backgroundColor='#ffffff';" OnMouseOut="this.style.backgroundColor='#f5f5f5'"> <img src="<?=$latest_skin_path?>/img/arrow.jpg" align="absmiddle" width="7" height="7"> <a href='<?=$list[$i][href]?>'><span style='font-family:새굴림; font-size:9pt; color:#000000;'>
<?=$list[$i][subject]?>
</span> <span style="font-family:Tahoma;font-size:8pt;color:#000000;">
<?=$list[$i][datetime]?>
</span></a></td>
</tr>
<? } ?>
<tr>
<td width="100%" height="1" bgcolor="e5e5e5"></td>
</tr>
</table>

^^*
음 이런것도 생동감있는 사이트로 괜찮네요
감사합니다 유용하게 쓰겠습니다^^
감사합니다. ^^
위에 이상한글자나오는건 utf-8포멧이라 그런것 같습니다..
포멧을 ANSI 형식으로 변경하시면 됩니다 ^.^
포멧을 ANSI 형식으로 변경하시면 됩니다 ^.^
잘쓸께용
잘쓸께요.
새해 복 많이 받으세요.
새해 복 많이 받으세요.

감사합니다.
감사합니다. 제가 찾던 거네요
잘쓰겠습니다 ^^
위의 고슴도님 감사합니다.
저도 이 문제 때문에 몇 시간 동안 끙끙댔는데 메모장에서 저장할 때 파일 형식을 UTF-8로 말고 ANSI로 하니까 단번에 해결되는군요.^^
감사합니다.^^
저도 이 문제 때문에 몇 시간 동안 끙끙댔는데 메모장에서 저장할 때 파일 형식을 UTF-8로 말고 ANSI로 하니까 단번에 해결되는군요.^^
감사합니다.^^
감사합니다

수고하셨습니다~
찾아 헤맵습니다. 감사합니다.
좀 아쉬운 부분도 있지만 그럭저럭 제가 찾던 그런거네요..
다음 목록도 그 창에서 바로 보였으면 하는 아쉬움과.
제 의지대로 내용 하단으로 가는 기능이 있었으면 하는.. 쩝..
감사히 잘 쓰겠습니다.
다음 목록도 그 창에서 바로 보였으면 하는 아쉬움과.
제 의지대로 내용 하단으로 가는 기능이 있었으면 하는.. 쩝..
감사히 잘 쓰겠습니다.
최고입니다!!!
고슴도님 감사합니다. 해결되었어요~!!
스크롤되는 공지최신글입니다
