e

최신배너 스킨 롤링 이 안되요...

최신글 롤링 스킨을 다운 받았는데요....
이미지 추출은 한개만 되구요... 롤링이 안되는데 어떤부분을 수정 해야 하나요?
배너용 인것 같은데.. 이벤트 게시판에 연결 시켰 거든요...
배너 아이뒤 쓰는 부분에 파일명 넣어봐도 안되서요... 어떤부분을 지우면 될것 같은데...
잘 모르겠어요...

다운받은 스킨 소스
<?
$banW=750; $banH=180;
$ban_cnt=count($list);
//$options : 배너 ID 및 롤링방향
list($id, $direction)=explode("|", $options);
?>
<script type="text/javascript" src="<?=$latest_skin_path?>/jquery.banner.js"></script>
<style>
.clsBannerScreen {overflow: hidden;position: relative;
width: <?=$banW?>px; height: <?=$banH?>px; border:1px solid #e1e1e1; cursor:pointer; clear:both;}
.clsBannerScreen .images {overflow: hidden; position:absolute; display:none;
width: <?=$banW?>px; height: <?=$banH?>px; }

img{border:0px; cursor:pointer; }
.bancontent{padding:7px; line-height:160%; color:#0066CC; }
.hr{color:#59ACFF;}
</style>

<div id="banner_<?=$id?>">
<div class="clsBannerScreen">
<?for($k=0; $k<$ban_cnt; $k++){
$style=$target=''; if($k==0) $style=" style='display:block'";
if($list[$k][wr_link1]){ $link=$list[$k]['link'][1]; $target="target=_blank";}
else $link=$list[$k][href];

$img="$g4[path]/data/file/$bo_table/".$list[$k][file][0][file];
$imgH=$list[$k][file][0][image_height]> $banH? $list[$k][file][0][image_height]*0.8: $list[$k][file][0][image_height];

?>
<div class="images" <?=$style?>>
<table width='100%'><tr>
<td width='1%'><a href="<?=$link?>" onfocus="this.blur()" <?=$target?>><img src="<?=$img?>" height='<?=$imgH?>'></a></td>
<td valign='top' class='bancontent' onmousedown="location.href='<?=$list[$k][href]?>';">
<b><?=$list[$k][wr_subject]?></b><hr class='hr'>
</td></tr></table>
</div>
<?}?>
</div>
</div>
<script type="text/javascript">
ban_cnt='<?=$ban_cnt?>';
Delay=ban_cnt<2? 3600000 : 3000;
$(function() {

$("#banner_<?=$id?>").jQBanner({ //롤링을 할 영역의 ID 값
nWidth:<?=$banW?>, //영역의 width
nHeight:<?=$banH?>, //영역의 height
nCount:ban_cnt, //배너수
isActType: "<?=$direction?>", //움직일 방향 (left, right, up, down)
nOrderNo:1, //초기 이미지
nDelay:Delay //롤링 시간 타임 (1000 = 1초)
}
);

});
</script>

첨부파일

tg_banner.zip (4.2 KB) 4회 2013-08-29 19:41
|

댓글 1개

잘 되는 스킨 소스를 보고 안되는 원인을 어떻게 알 수 있겠습니까?
안되는 페이지 링크를 알려줘야 원인을 찾을 수 있을테죠
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
12년 전 조회 1,082
12년 전 조회 1,823
12년 전 조회 1,171
12년 전 조회 1,560
12년 전 조회 860
12년 전 조회 966
12년 전 조회 789
12년 전 조회 845
12년 전 조회 975
12년 전 조회 1,576
12년 전 조회 749
12년 전 조회 1,508
12년 전 조회 1,061
12년 전 조회 1,540
12년 전 조회 1,573
12년 전 조회 2,328
12년 전 조회 767
12년 전 조회 958
12년 전 조회 714
12년 전 조회 801
🐛 버그신고