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() - 10)       
+
         $('.container').height($(window).height()-$('#menu').height() - 12)       
         $('.wide').height($(window).height()-$('#menu').height() - 10)
+
         $('.wide').height($(window).height()-$('#menu').height() - 12)
         $('#leftnav').height($(window).height() - $('#menu').height() - 108)
+
         $('#leftnav').height($(window).height() - $('#menu').height() - 110)
 
     })
 
     })

Revision as of 09:57, 12 October 2018

$(document).ready(function () {

       $('.container').height($(window).height()-$('#menu').height() - 12)       
       $('.wide').height($(window).height()-$('#menu').height() - 12)
       $('#leftnav').height($(window).height() - $('#menu').height() - 110)
   })