Difference between revisions of "Team:Shenzhen SFLS"

Line 8: Line 8:
 
#sideMenu, #top_title {display:none;}
 
#sideMenu, #top_title {display:none;}
 
#content { padding:0px; width:100%; margin-top:-7px; margin-left:0px;}
 
#content { padding:0px; width:100%; margin-top:-7px; margin-left:0px;}
#bgslide {
 
z-index:-5;
 
position:absolute;
 
top:0px;
 
left:0px;
 
width:100%;
 
height:100%;
 
}
 
 
body {
 
body {
 
background-color:#006015;
 
background-color:#006015;
Line 144: 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("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";
Line 157: Line 150:
 
radius=window.innerWidth/4;
 
radius=window.innerWidth/4;
 
gearWid=window.innerWidth*2/3;
 
gearWid=window.innerWidth*2/3;
 +
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("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:08, 17 October 2016

Shenzhen_SFLS