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())       
+
         $('.container').height($(window).height()-$('#menu').height() - 15)       
         $('.wide').height($(window).height()-$('#menu').height() - 15)
+
         $('.wide').height($(window).height()-$('#menu').height() - 30)
         $('#leftnav').height($(window).height() - $('#menu').height() - 100)
+
         $('#leftnav').height($(window).height() - $('#menu').height() - 115)
 
     })
 
     })

Revision as of 05:36, 12 October 2018

$(document).ready(function () {

       $('.container').height($(window).height()-$('#menu').height() - 15)       
       $('.wide').height($(window).height()-$('#menu').height() - 30)
       $('#leftnav').height($(window).height() - $('#menu').height() - 115)
   })