이미지한줄스크롤최신글 질문이요~^^
페이지 정보
본문
제가 이미지한줄스크롤 최신글스킨을 사용하고 있는데요..
어느부분을 고쳐야되는지 알켜주세요~^^
댓글목록

연후아빠님의 댓글
연후아빠쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 작성일
	                	                zenabada_scroll을 사용하신다면
zenabada_scroll1을 하나 복사합니다..
하단의 97라인에 스크립트를 교체해 주세요~!
			<script>
				cont1 = new scroll();
				cont1.name = "cont1";
				cont1.height = 110;
				cont1.width = 160;
				cont1.scrollspeed = 20;
				cont1.pausedelay = 3000;
				cont1.pausemouseover = true;
<? for ($i=0; $i<count($list); $i++) { ?>
<?
	$image = urlencode($list[$i][file][0][file]); // 첫번째 파일이 이미지라면
	if (preg_match("/\.(gif|jpg|png)$/i", $image))  
	$data_path = $g4[path]."/data/file/$bo_table";
			 $thum_path = $data_path.'/thumb'; //썸네일경로
			 $thumb = $thum_path.'/'.$list[$i][wr_id];
             if ( file_exists($thumb) )
	         { // 썸네일
             $img = "<img src='$thumb' width='160' height='110' border='0'>";
              }
             else {
             $img = "<img src='$g4[path]/data/file/$bo_table/$image' width='160' height='110' border='0'>";
			 }
?>
       cont1.add("<a href='<?=$list[$i][href]?>'><?=$img?></a>");
<?}?>
			cont1.start(); </script>	            





 
