Difference between revisions of "Team:USTC-Software/js/init"

Line 1: Line 1:
 
$(document).ready(function () {
 
$(document).ready(function () {
         $('.container').height($(window).height()-$('#menu').height() - 15)       
+
         $('.container').height($(window).height()-$('#menu').height() - 30)       
         $('.wide').height($(window).height()-$('#menu').height() - 30)
+
         $('.wide').height($(window).height()-$('#menu').height() - 45)
         $('#leftnav').height($(window).height() - $('#menu').height() - 115)
+
         $('#leftnav').height($(window).height() - $('#menu').height() - 130)
 
     })
 
     })

Revision as of 05:38, 12 October 2018

$(document).ready(function () {

       $('.container').height($(window).height()-$('#menu').height() - 30)       
       $('.wide').height($(window).height()-$('#menu').height() - 45)
       $('#leftnav').height($(window).height() - $('#menu').height() - 130)
   })