Difference between revisions of "Team:Shenzhen SFLS"

Line 136: Line 136:
  
 
<script language="javascript"> //layout
 
<script language="javascript"> //layout
document.getElementById("bgslide").style.cssText="z-index:-6;position:absolute;top:0px;left:0px;width:100%;margin-top:"+(window.innerHeight-document.getElementById("bgimg").height)/2+"px";
+
document.getElementById("bgslide").style.cssText="z-index:-6;position:absolute;top:0px;left:0px;width:100%;margin-top:"+(window.innerHeight-window.innerWidth*350/496)/2+"px";
 
document.getElementById("menu").style.cssText="float:left;position:absolute; left:0px; top:0px;";
 
document.getElementById("menu").style.cssText="float:left;position:absolute; left:0px; top:0px;";
 
document.getElementById("fog").style.cssText="position:absolute; left:"+(-window.innerWidth/3)+"px; height:"+window.innerWidth*2/3+"px; width:"+window.innerWidth*2/3+"px;top:"+(window.innerHeight/2-window.innerWidth/3)+"px;z-index:-5";
 
document.getElementById("fog").style.cssText="position:absolute; left:"+(-window.innerWidth/3)+"px; height:"+window.innerWidth*2/3+"px; width:"+window.innerWidth*2/3+"px;top:"+(window.innerHeight/2-window.innerWidth/3)+"px;z-index:-5";

Revision as of 12:21, 17 October 2016

Shenzhen_SFLS