이미지 최신글 관련 문의 채택완료

위 사진처럼 위에 메뉴를 넣으려고 하는데 아래처럼 오류가 납니다.. 어떻게 하면 좋을까요?ㅠ
도와주시면 감사합니다.

Copy
<!-- Tab links -->
<div class="tab">
<button class="tablinks" onclick="openCity(event, 'movie_pic')">영화</button>
<button class="tablinks" onclick="openCity(event, 'book')">도서</button>
<button class="tablinks" onclick="openCity(event, 'newsplus')">굿즈</button>
</div>
<!-- Tab content -->
<div id="movie_pic" class="tabcontent">
<?php echo latest("theme/latest_category", 'movie_pic', 2, 38); ?>
</div>
<div id="book" class="tabcontent">
<?php echo latest("theme/latest_category", 'book', 2, 38); ?>
</div>
<div id="newsplus" class="tabcontent">
<?php echo latest("theme/latest_category", 'newsplus', 2, 38); ?>
</div>
답변 2개
채택된 답변
+20 포인트
마르스컴퍼니
4년 전
/skin/latest/latest_category/latest.skin.php
상단에 다음 코드를 추가해야 됩니다.
include_once(G5_LIB_PATH.'/thumbnail.lib.php');
로그인 후 평가할 수 있습니다
답변에 대한 댓글 2개
4년 전
감사합니다 ㅎ 근데 메뉴를 클릭하면 관련 정보만 나와야하는데 다 나오네요..ㅠ 혹시 방법 아시는지요?ㅠ 문제의 사진 댓글에 올렸습니다..ㅠ
마르스컴퍼니
4년 전
<button class="tablinks" onclick="openCity(event, 'movie_pic')">영화</button>
openCity() 함수에서 처리되는 내용이고, 기대했던 대로 작동하지 않는다면 수정해야 됩니다.
수정이 어렵다면,
제작의뢰하거나,
해당 소스가 포함된 질문글을 올려볼 수 있습니다.
openCity() 함수에서 처리되는 내용이고, 기대했던 대로 작동하지 않는다면 수정해야 됩니다.
수정이 어렵다면,
제작의뢰하거나,
해당 소스가 포함된 질문글을 올려볼 수 있습니다.
댓글을 작성하려면 로그인이 필요합니다.
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인