Difference between revisions of "Team:Fudan-CHINA"

Line 212: Line 212:
 
function pjNameFun(){
 
function pjNameFun(){
 
var winWidth=$(window).width();
 
var winWidth=$(window).width();
var bgPicHeight=$('.bgPic').height();
+
var winHeight=$(window).height();
 
var stepWidth=$('#step').width();
 
var stepWidth=$('#step').width();
 
var fnWidth=$('#fullName').width();
 
var fnWidth=$('#fullName').width();
 
$("#step").css("left",0.5*(winWidth-stepWidth));
 
$("#step").css("left",0.5*(winWidth-stepWidth));
$("#step").css("top",0.3*bgPicHeight);
+
$("#step").css("top",0.3*winHeight);
 
     var stepHeight=$('#step').height();
 
     var stepHeight=$('#step').height();
 
var stepY = $('#step').offset().top;
 
var stepY = $('#step').offset().top;
Line 226: Line 226:
 
pjNameFun();
 
pjNameFun();
 
});
 
});
 +
 
 
 
</script>
 
</script>

Revision as of 17:09, 21 September 2018

Synthetic Transducer Engineering Platform