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

Line 512: Line 512:
 
   parent.appendChild(my);
 
   parent.appendChild(my);
 
   parent.appendChild(zwl);
 
   parent.appendChild(zwl);
   $(".mw-content-ltr").css("height",document.body.scrollHeight+200+"px");
+
   $(".mw-content-ltr").css("height",document.body.scrollHeight+"px");
 
}
 
}
 
</script>
 
</script>
  
<script>
 
var a=0;
 
$(document).ready(function(){
 
  a=document.body.scrollHeight;
 
  a+=400;
 
})
 
$(this).scroll(function(){
 
  
$(".mw-content-ltr").css("height",a+"px");
 
 
})
 
 
</script>
 
  
 
</html>
 
</html>

Revision as of 13:35, 30 November 2018