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() - 30)       
+
         $('.container').height($(window).height()-$('#menu').height() - 20)       
         $('.wide').height($(window).height()-$('#menu').height() - 45)
+
         $('.wide').height($(window).height()-$('#menu').height() - 35)
         $('#leftnav').height($(window).height() - $('#menu').height() - 130)
+
         $('#leftnav').height($(window).height() - $('#menu').height() - 120)
 
     })
 
     })

Revision as of 05:39, 12 October 2018

$(document).ready(function () {

       $('.container').height($(window).height()-$('#menu').height() - 20)       
       $('.wide').height($(window).height()-$('#menu').height() - 35)
       $('#leftnav').height($(window).height() - $('#menu').height() - 120)
   })