메뉴 탭 관련 질문이요!! 채택완료
그그누누
6년 전
조회 2,209
안녕하세요 탭을 이용한 웹에 대해 질문이 있습니다!
write.skin.php파일과 view.skin.php 파일에 밑 캡쳐사진 속의 코드를 삽입하고,

css파일에는 밑과 같은 코드를 삽입하였습니다. js파일에도 적절한 코드를 넣었구요

궁금한것은
이 코드를 보면 탭마다 url주소를 이용해서 내용을 넣는 것 같은데 그러면 새창으로 뜨니까 링크말고 다른방법은 없을까요? 사이즈안내를 누르면 밑에 이미지 또는 텍스트만 바뀌는 식으로 구현하고싶습니다ㅠㅠ

댓글을 작성하려면 로그인이 필요합니다.
답변 1개
채택된 답변
+20 포인트
답변에 대한 댓글 3개
�
그그누누
6년 전
�
잉끼s
6년 전
<div class="tab_con" id="tab_con">
<div><? echo $editor_html; ?></div>
<div><? echo $editor_html; ?></div>
<div><? echo $editor_html; ?></div>
</div>
<div><? echo $editor_html; ?></div>
<div><? echo $editor_html; ?></div>
<div><? echo $editor_html; ?></div>
</div>
�
그그누누
6년 전
감사합니다 ㅎㅎ!!
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인
<div class="tab_con" id="tab_con">
<div>1st Contents</div> //여기 1st Contents 자리에 php파일 경로를 넣어야하는건가요?
<div>2nd Contents</div>
<div>3rd Contents</div>
</div>
아니면
<div class="tab_con" id="tab_con">
<div>1st Contents</div> //1st Contents 자리에 <? echo $editor_html; ?> 를 넣어 작성하면 되나요?
<div>2nd Contents</div>
<div>3rd Contents</div>
</div>