오토탭 무빙이 안됩니다. 정보
오토탭 무빙이 안됩니다.
본문
진서기님의 세로탭 포토 최신글 스킨을 사용하고 있는데요
http://sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=100036&sca=%EC%B5%9C%EC%8B%A0%EA%B8%80&page=23
막상 설치하고 나니 오토탭 무빙이 안되서 질문드립니다.
오토탭 무빙이 잘 작동되는 다른 스킨의 자바스크립트 부분을 붙여넣기 해봤는데도 안되네요
해당 latest.skin.php 입니다.
답변 부탁드립니다.
-----------------------------------------------------------
<?
if (!defined("_GNUBOARD_"))
exit; // 개별 페이지 접근 불가
$list_count = count($list);
?>
<div class="area_head_home">
<div class="list_menu">
<div class="list_headline">
<?
for ($i = 0; $i < $list_count; $i++) {
if ($i == 0) {
$on = "on";
$block = "block";
} else {
$on = "";
$block = "none";
}
$image_path = "../data/file/{$bo_table}/" . $list[$i]['file']['0']['file']; // thumb.php 파일 기준으로 img= 경로가 들어가야 하기 때문에 경로는 고정
if ($list[$i]['file']) {
$img_tag = "<a href='{$list[$i]['href']}' class='tit_enter'>
<span class='txt'>{$list[$i]['subject']}</span>
<span class='thumb'><img height='45' src='{$g4['path']}/bbs/thumb.php?img={$image_path}&w=515&h=200&q=100' alt ='{$list[$i]['subject']}' /><span class='img_bor'></span></span></a>";
$img_tag_big = "<img width='515' height='320' alt='{$list[$i]['subject']}' src='{$g4['path']}/bbs/thumb.php?img={$image_path}&w=467&h=320&q=100'/>";
} else {
$img_tag = "<a href='{$list[$i]['href']}' class='tit_enter'>
<span class='txt'>{$list[$i]['subject']}</span>
<span class='thumb'><img src='{$latest_skin_path}/img/noimg.gif'/><span class='img_bor'></span></span></a>";
}
$list[$i]['content'] = cut_str(strip_tags($list[$i]['wr_content']),"160");
?>
<h3 class="<?=$on?>" id="g<?=$i?>" style="background: url('<?=$latest_skin_path?>/img/bg_home_dot.gif') repeat-x scroll 0 bottom transparent;"><?=$img_tag?></h3>
<div class="cont_headline g<?=$i?>" style="display: <?=$block?>;">
<span class="ico_head ico_"></span>
<div class="box_cont">
<a class="thumb" href="<?=$list[$i]['href']?>">
<?=$img_tag_big?>
<span class="img_grdn"></span><span class="box_bor"></span>
</a>
<span class="bg_box"></span>
<div class="cont">
<a class="thumb" href="<?=$list[$i]['href']?>"><?=$list[$i]['subject']?></a>
<p class="desc"><a href="<?=$list[$i]['href']?>"><?=$list[$i]['content']?></a><span class="source"><?=$list[$i]['name']?></span><span class="txt_bar">|</span><span class="date"><?=$list[$i]['datetime']?></span></p>
</div>
</div>
</div><!-- // list0<?=$i?> -->
<? } ?>
</div>
</div>
</div><!--//.area_head_home-->
http://sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=100036&sca=%EC%B5%9C%EC%8B%A0%EA%B8%80&page=23
막상 설치하고 나니 오토탭 무빙이 안되서 질문드립니다.
오토탭 무빙이 잘 작동되는 다른 스킨의 자바스크립트 부분을 붙여넣기 해봤는데도 안되네요
해당 latest.skin.php 입니다.
답변 부탁드립니다.
-----------------------------------------------------------
<?
if (!defined("_GNUBOARD_"))
exit; // 개별 페이지 접근 불가
$list_count = count($list);
?>
<div class="area_head_home">
<div class="list_menu">
<div class="list_headline">
<?
for ($i = 0; $i < $list_count; $i++) {
if ($i == 0) {
$on = "on";
$block = "block";
} else {
$on = "";
$block = "none";
}
$image_path = "../data/file/{$bo_table}/" . $list[$i]['file']['0']['file']; // thumb.php 파일 기준으로 img= 경로가 들어가야 하기 때문에 경로는 고정
if ($list[$i]['file']) {
$img_tag = "<a href='{$list[$i]['href']}' class='tit_enter'>
<span class='txt'>{$list[$i]['subject']}</span>
<span class='thumb'><img height='45' src='{$g4['path']}/bbs/thumb.php?img={$image_path}&w=515&h=200&q=100' alt ='{$list[$i]['subject']}' /><span class='img_bor'></span></span></a>";
$img_tag_big = "<img width='515' height='320' alt='{$list[$i]['subject']}' src='{$g4['path']}/bbs/thumb.php?img={$image_path}&w=467&h=320&q=100'/>";
} else {
$img_tag = "<a href='{$list[$i]['href']}' class='tit_enter'>
<span class='txt'>{$list[$i]['subject']}</span>
<span class='thumb'><img src='{$latest_skin_path}/img/noimg.gif'/><span class='img_bor'></span></span></a>";
}
$list[$i]['content'] = cut_str(strip_tags($list[$i]['wr_content']),"160");
?>
<h3 class="<?=$on?>" id="g<?=$i?>" style="background: url('<?=$latest_skin_path?>/img/bg_home_dot.gif') repeat-x scroll 0 bottom transparent;"><?=$img_tag?></h3>
<div class="cont_headline g<?=$i?>" style="display: <?=$block?>;">
<span class="ico_head ico_"></span>
<div class="box_cont">
<a class="thumb" href="<?=$list[$i]['href']?>">
<?=$img_tag_big?>
<span class="img_grdn"></span><span class="box_bor"></span>
</a>
<span class="bg_box"></span>
<div class="cont">
<a class="thumb" href="<?=$list[$i]['href']?>"><?=$list[$i]['subject']?></a>
<p class="desc"><a href="<?=$list[$i]['href']?>"><?=$list[$i]['content']?></a><span class="source"><?=$list[$i]['name']?></span><span class="txt_bar">|</span><span class="date"><?=$list[$i]['datetime']?></span></p>
</div>
</div>
</div><!-- // list0<?=$i?> -->
<? } ?>
</div>
</div>
</div><!--//.area_head_home-->
댓글 전체

에고 이부분 디버깅 해봐야할듯하네요
이렇게 소스만 봐선 전후 관계를 알수 없기때문에..정확한 진단이 안나올듯합니다.
이렇게 소스만 봐선 전후 관계를 알수 없기때문에..정확한 진단이 안나올듯합니다.

원래 오토탭무빙 기능이 없다고하네요 답변감사합니다