1. "pages/cybertour.html" 페이지의 수정사항:

1) <meta> 태그의 content 속성에 "minimal-ui" 값 추가!


* 수정 후의 meta 태그 목록

<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no,target-densitydpi=device-dpi,minimal-ui">

<meta name="apple-mobile-web-app-capable" content="yes">

<meta name="apple-mobile-web-app-status-bar-style" content="black">

<meta http-equiv="x-ua-compatible" content="IE=edge" />

<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />


2) swfkrpano.js -> embedpano.js로 수정 & html5:"prefer"로 변경

- 이전 버전에 비해 전반적으로 훨씬 간단해졌음


* 이에 따른 다른 소스 수정사항 목록

---- 이하는 액션 영역 ----

spotvr - adm_hotspot\a.getPanoForTooltipById: 

   16    <!-- VR 영역 --> 

   17    <div id="pano" style="width:49.5%; height:100%; border: 1px solid gray; float:left">      

   18:   <script src="/modules/spotvr/vr/swfkrpano.js"></script>

   19    <noscript><table style="width:100%;height:100%;"><tr style="valign:middle;"><td><div style="text-align:center;">ERROR:<br/><br/>Javascript not activated<br/><br/></div></td></tr></table></noscript>

   20   <script>


spotvr - adm_panorama\a.checkPanoImage: 

   29  ?>

   30      <!-- krpano JS import -->

   31:     <script src="/modules/spotvr/vr/swfkrpano.js"></script>

   32       <div id="panorama" style="width:600px; height:450px; border: 1px solid gray;" />

   33          <noscript><table style="width:100%;height:100%;"><tr style="valign:middle;"><td><div style="text-align:center;">ERROR:<br/><br/>Javascript not activated<br/><br/></div></td></tr></table></noscript>


spotvr - adm_panorama\a.getStartPointPanoList.php: 

   70      <!-- VR 출력란 -->

   71      <td>

   72:      <script src="/modules/spotvr/vr/swfkrpano.js"></script>

   73       <div id="pano<?php echo $R['uid']; ?>" style="width:500px; height:350px; border: 1px solid gray;" />

   74          <noscript><table style="width:100%;height:100%;"><tr style="valign:middle;"><td><div style="text-align:center;">ERROR:<br/><br/>Javascript not activated<br/><br/></div></td></tr></table></noscript>


---- 이하는 어드민 영역 ----


spotvr - cybertour\p_cyberTourDetail.php: 

   48      <?php if($tour['complete']==1) { ?>

   49      <div id="panoDiv" style="width:100%; height:600px; border: 1px solid gray;">

   50:     <script src="/modules/spotvr/vr/swfkrpano.js"></script>       

   51      <div id="cybertour" style="width:100%;height:100%;">

   52          <noscript><table style="width:100%;height:100%;"><tr style="valign:middle;"><td><div style="text-align:center;">ERROR:<br/><br/>Javascript not activated<br/><br/></div></td></tr></table></noscript>


spotvr - cybertour\p_editPanoList.php: 

  147    <?php if($tourInfo['complete']==1) { ?>

  148    <div id="panoDiv" style="width:100%; height:600px; border: 1px solid gray;"> 

  149:     <script src="/modules/spotvr/vr/swfkrpano.js"></script>

  150      <div id="cybertour" style="width:100%;height:100%;">

  151        <noscript>


spotvr - hotspot\p_editMoveHotspot.php: 

  155      <span style="float:right;font-weight:bold">VR2 (이동핫스팟 기준 TO, DESTINATION) </span>   

  156  </div>

  157: <script src="/modules/spotvr/vr/swfkrpano.js"></script>

  158  <div id="vr_area" style="width:100%; height:400px;display:none">

  159      <!-- VR 1 영역 --> 


spotvr - adm_hotspot\a.checkPanoImage: 

   84   <!-- krpano JS import -->

   85       <div id="panorama" style="width:600px; height:400px; border: 1px solid gray;" />        

   86: <script src="/modules/spotvr/vr/swfkrpano.js"></script>

   87              <noscript><table style="width:100%;height:100%;"><tr style="valign:middle;"><td><div style="text-align:center;">ERROR:<br/><br/>Javascript not activated<br/><br/></div></td></tr></table></noscript>

   88              <script>


C:\wamp\www\modules\spotvr\lang.korean\admin\_pc\submenu\panorama\p_panoDetail.php:

spotvr - panorama\p_panoDetail.php: 

  127   <!-- krpano JS import -->

  128       <div id="panorama" style="width:600px; height:400px; border: 1px solid gray;" />        

  129: <script src="/modules/spotvr/vr/swfkrpano.js"></script>

  130              <noscript><table style="width:100%;height:100%;"><tr style="valign:middle;"><td><div style="text-align:center;">ERROR:<br/><br/>Javascript not activated<br/><br/></div></td></tr></table></noscript>

  131              <script>


spotvr - panorama\setPanoGPS.js: 

  126  

  127   // 4. 파노라마 VR 로딩

  128: $('#panoDiv').html('<div id="panorama" style="width:100%; height:400px; border: 1px solid gray;" /><script src="/modules/spotvr/vr/swfkrpano.js"></script><noscript><table style="width:100%;height:100%;"><tr style="valign:middle;"><td><div style="text-align:center;">ERROR:<br/><br/>Javascript not activated<br/><br/></div></td></tr></table></noscript><script>embedpano({swf:"/modules/spotvr/vr/ct.swf",xml:"/modules/spotvr/vr/xml/plainvr_db.php?panouid='+panouid+'",target:"panorama", html5:"auto", passQueryParameters:true});</script>');

  129  

  130   // 새로운 GPS 좌표 취소 버튼 클릭



Posted by 파노카페
: