Site Notice
hello, world
Difference between revisions of "MediaWiki:Js-doc.js"
From Project-EPB Commons
Line 5: | Line 5: | ||
**/ | **/ | ||
$(function(){ | $(function(){ | ||
− | $('main').css('min-height',$(window).height()- | + | $('main').css('min-height',$(window).height()-$('.top-nav').height()-$('.page-footer').height()); |
+ | $(window).resize(function(){$('main').css('min-height',$(window).height()-$('.top-nav').height()-$('.page-footer').height());}); | ||
}); | }); |
Revision as of 20:55, 12 September 2019
/**
*『Wjghj Project Static』
* This _JavaScript_ code is from https://common.wjghj.cn
* CC BY-NC-SA
**/
$(function(){
$('main').css('min-height',$(window).height()-$('.top-nav').height()-$('.page-footer').height());
$(window).resize(function(){$('main').css('min-height',$(window).height()-$('.top-nav').height()-$('.page-footer').height());});
});