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

Line 514: Line 514:
 
   $(".mw-content-ltr").css("height",document.body.scrollHeight+200+"px");
 
   $(".mw-content-ltr").css("height",document.body.scrollHeight+200+"px");
 
}
 
}
 +
</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>
 
</script>
 
</html>
 
</html>

Revision as of 13:13, 30 November 2018