网站设计-360浏览-配合窗口

问题描述

我想知道如何使此代码链接的360虚拟导览适合浏览该导览的窗口的宽度。正如您现在所看到的,宽度是静态的'1600',我对编码一无所知。我从其他人为我编写的代码中复制并粘贴了此代码。如果可能的话,我希望能将一些内容粘贴回PHP文件哈哈紧张的笑声)。

代码

<!DOCTYPE html> 
<html class="no-js" lang="en-US">
<head>


<title>Footage Marketing | 360 Virtual Real Estate Tours</title>

<!-- Meta Tags Subroutine -->
<?PHP include("Meta_sub.PHP"); ?>

<!-- End Head and Start Body -->
</head>
<body topmargin=0 leftmargin=0 marginwidth=0 marginheight=0 link="grey" vlink="grey">

<!-- Style Sheets -->
<?PHP include("style.PHP"); ?>

<!-- Link to virtual tour-->


<script async src="https://static.theasys.io/embed.js" data-theasys="L3qvbCHtbsfLwgMoUVGvwYmU7juxCX" 
data-width="1600" data-height="800">
</script>


           
</body>
</html> 

解决方法

您只能将数据宽度和数据高度更改为100% 如果页面滚动显示,则可以将其更改为99%