Difference between revisions of "Team:CPU CHINA/Team"

Line 200: Line 200:
 
/****************************填充照片********************************/
 
/****************************填充照片********************************/
 
function setPhoto(){
 
function setPhoto(){
   //$("#photo1").css("height",$(window).height()*0.7+"px");
+
   $("#photo1").css("height",$(window).height()+"px");
   $("#photo1").css("width",$(window).width()*0.9+"px");
+
   $("#photo1").css("width",$(window).width()*0.8+"px");
 
   var parent=document.getElementById("mw-content-text");
 
   var parent=document.getElementById("mw-content-text");
 
   var child=document.getElementById("photo1");
 
   var child=document.getElementById("photo1");

Revision as of 07:01, 24 August 2018