Difference between revisions of "Team:Shenzhen SFLS"

Line 150: 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("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:20, 17 October 2016

Shenzhen_SFLS