테스트 사이트 - 개발 중인 베타 버전입니다

영카트 모바일 탭 관련 질문입니다 채택완료

레몬캔디 6년 전 조회 1,921

모바일 스킨 샵 item.form.skin.php 에 있는 

</strong></p>

<p><div id="sit_tab">

    <ul class="tab_tit">

        <li><button type="button" rel="#sit_inf" class="selected">기본정보</button></li>

        <li><button type="button" rel="#sit_dvex">가격표</button></li>

        <li><button type="button" rel="#sit_use">사용후기</button></li>

        <li><button type="button" rel="#sit_qa">상품문의</button></li>

    </ul>

    <ul class="tab_con"></p>

<p><strong>

탭 부분과

모바일 샵 iteminfo.php에 있는 탭은

 

 

</strong></p>

<p>

function pg_anchor($info) {

    global $default;

    global $it_id, $item_use_count, $item_qa_count, $item_relation_count;</p>

<p>    $href = G5_SHOP_URL.'/iteminfo.php?it_id='.$it_id;

?>

    <ul class="sanchor">

        <li><a href="<?php echo $href; ?>" <?php if ($info == '') echo 'class="sanchor_on"'; ?>>DETAIL</a></li>

        <?php if ($default['de_baesong_content']) { ?><li><a href="<?php echo $href; ?>&info=dvr" <?php if ($info == 'dvr') echo 'class="sanchor_on"'; ?>>INFO</a></li><?php } ?>

        <li><a href="<?php echo $href; ?>&info=use" <?php if ($info == 'use') echo 'class="sanchor_on"'; ?>>REVIEW<span class="item_use_count"><?php echo $item_use_count; ?></span></a></li>

        <li><a href="<?php echo $href; ?>&info=qa" <?php if ($info == 'qa') echo 'class="sanchor_on"'; ?>>Q&A<span class="item_qa_count"><?php echo $item_qa_count; ?></span></a></li>

    </ul>

<?php

}

?></p>

<p><strong>

 

어떻게 구별해서 쓰는 건가요?

 

 

 

댓글을 작성하려면 로그인이 필요합니다.

답변 1개

채택된 답변
+20 포인트

제이쿼리에 따르네요

로그인 후 평가할 수 있습니다

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인