Commit 77094383 authored by liurufeng's avatar liurufeng

修改

parent 28dbf5ab
<html>
<head>
<meta charset='utf-8'/>
<title>www.layabox.com</title>
<meta name='renderer' content='webkit'>
<meta name='viewport' content='width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no'/>
<meta name='apple-mobile-web-app-capable' content='yes' />
<meta name='full-screen' content='true' />
<meta name='x5-fullscreen' content='true' />
<meta name='360-fullscreen' content='true' />
<meta http-equiv='expires' content='0' />
<meta name='laya' screenorientation='landscape' />
<meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
<meta http-equiv='expires' content='0' />
<meta http-equiv='Cache-Control' content='no-siteapp' />
</head>
<body style='margin:0;overflow:none;overflow-x:hidden;overflow-y:hidden;background-color: #000;'>
<!--
<script type="text/javascript">
console.log("当前地址:" + window.location);
alert("当前地址:" + window.location);
</script>
-->
<!--SDK-->
<script src='js/uni.js'></script>
<!---->
<script src="js/md5.min.js"></script>
<!-- <script src='LayaAir3D.max.js' loader='laya'></script> -->
<script type="text/javascript">
console.log("wait document loaded.");
window.onload = function()
{
console.log("document loaded.");
var obj = document.createElement("script");
obj.src="LayaAir3D.max.js?r="+new Date().getTime();
obj.loader='laya';
document.body.appendChild(obj);
}
</script>
</body>
</html>
\ No newline at end of file
<html> <html>
<head> <head></head>
<meta charset='utf-8'/> <body style="margin: 0;text-align: center;">
<title>www.layabox.com</title> <iframe style="border: none;" id="box" src="./index.html" height="100%">
<meta name='renderer' content='webkit'>
<meta name='viewport' content='width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no'/>
<meta name='apple-mobile-web-app-capable' content='yes' />
<meta name='full-screen' content='true' />
<meta name='x5-fullscreen' content='true' />
<meta name='360-fullscreen' content='true' />
<meta http-equiv='expires' content='0' />
<meta name='laya' screenorientation='landscape' />
<meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>
<meta http-equiv='expires' content='0' />
<meta http-equiv='Cache-Control' content='no-siteapp' />
</head>
<body style='margin:0;overflow:none;overflow-x:hidden;overflow-y:hidden;background-color: #000;'>
<!--
<script type="text/javascript">
console.log("当前地址:" + window.location);
alert("当前地址:" + window.location);
</script>
-->
<!--SDK-->
<script src='js/uni.js'></script>
<!---->
<script src="js/md5.min.js"></script>
<!-- <script src='LayaAir3D.max.js' loader='laya'></script> -->
<script type="text/javascript"> </iframe>
console.log("wait document loaded.");
window.onload = function()
{
console.log("document loaded.");
var obj = document.createElement("script");
obj.src="LayaAir3D.max.js?r="+new Date().getTime();
obj.loader='laya';
document.body.appendChild(obj);
}
</script>
</body> </body>
<script type="text/javascript">
window.onresize = function(){
var height = document.body.clientHeight;
var width = 1080*height/1920;
box=document.getElementById('box');
box.style.width=width+"px";
box.style.height=height+"px";
}
window.onresize();
</script>
</html> </html>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment