답변 2개
채택된 답변
+20 포인트
답변에 대한 댓글 3개
�
서포터즈
4년 전
�
병원에서일해요
4년 전
is_mobile이 제대로 적용되는지 출력해보셔야될거같은데요
�
서포터즈
4년 전
$is_mobile, G5_IS_MOBILE 둘다 해봤는데 둘다 제대로 실행되지않습니다
혹시 실행하는데 필요한 조건이 있을까요 ?
<?php
include_once('./_common.php');
if (G5_IS_MOBILE) {
include_once(G5_THEME_MSHOP_PATH.'/index.php');
return;
}
define("_INDEX_", TRUE);
include_once(G5_THEME_SHOP_PATH.'/shop.head.php');
?>
혹시 실행하는데 필요한 조건이 있을까요 ?
<?php
include_once('./_common.php');
if (G5_IS_MOBILE) {
include_once(G5_THEME_MSHOP_PATH.'/index.php');
return;
}
define("_INDEX_", TRUE);
include_once(G5_THEME_SHOP_PATH.'/shop.head.php');
?>
댓글을 작성하려면 로그인이 필요합니다.
답변에 대한 댓글 2개
�
서포터즈
4년 전
<?php if($is_mobile) { ?>
<iframe style="position:absolute; left:630px; top:150px; z-index:99;" width="560" height="315" src="https://www.youtube.com/embed/X79qWJI2NHM" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<? } ?>
<?php if(!$is_mobile) { ?>
<iframe style="position:absolute; left:950px; top:250px; z-index:99;" width="560" height="315" src="https://www.youtube.com/embed/X79qWJI2NHM" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<? } ?>
이렇게 해보앗는데 모바일부분 is_mobile이 작동이 안되는데 혹시 이유를알수있을까요 ?
<iframe style="position:absolute; left:630px; top:150px; z-index:99;" width="560" height="315" src="https://www.youtube.com/embed/X79qWJI2NHM" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<? } ?>
<?php if(!$is_mobile) { ?>
<iframe style="position:absolute; left:950px; top:250px; z-index:99;" width="560" height="315" src="https://www.youtube.com/embed/X79qWJI2NHM" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<? } ?>
이렇게 해보앗는데 모바일부분 is_mobile이 작동이 안되는데 혹시 이유를알수있을까요 ?
�
서포터즈
4년 전
<iframe style="position:absolute; left:50%; top:30%; z-index:99;" width="30%" height="30%" src="https://www.youtube.com/embed/X79qWJI2NHM" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
%로 바꿨는데 pc는 여전히 잘나오나 모바일은 제대로 위치가 잡히지않습니다.
%로 바꿨는데 pc는 여전히 잘나오나 모바일은 제대로 위치가 잡히지않습니다.
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인

<iframe style="position:absolute; left:630px; top:150px; z-index:99;" width="560" height="315" src="https://www.youtube.com/embed/X79qWJI2NHM" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<? } ?>
<?php if(!$is_mobile) { ?>
<iframe style="position:absolute; left:950px; top:250px; z-index:99;" width="560" height="315" src="https://www.youtube.com/embed/X79qWJI2NHM" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<? } ?>
이렇게 해보앗는데 모바일부분 is_mobile이 작동이 안되는데 혹시 이유를알수있을까요 ?