모바일 index를 가져오고 싶습니다.

모바일 index를 가져오고 싶습니다.

QA

모바일 index를 가져오고 싶습니다.

본문

피시와 모바일 페이지를 따로 만들 예정인데

피시화면에서 아이프레임을 이용해 모바일 페이지를 불러오고 싶습니다.

 

<div style="background:url(/img/mobile-bg.png) no-repeat; width:611px; height:787px; position:relative; float:left;">
        <iframe src="mobile/index.php" frameborder="0" width="480px" height="618px" marginwidth="0" marginheight="0" scrolling="yes" style="position:relative; top:88px; left:65px; z-index:10; margin:0 auto;"></iframe>
</div>
 

 

아이프레임에 경로를 어떻게 넣어야할까요?

이 질문에 댓글 쓰기 :

답변 2

"<?php echo G5_URL ?>/index.php?device=mobile"
로 해보셔요~

"<?php echo G5_URL?>/mobile/index.php"

답변을 작성하시기 전에 로그인 해주세요.
전체 1,265
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT