Site Notice
hello, world
Difference between revisions of "MediaWiki:Js-doc.js"
From Project-EPB Commons
([InPageEdit] 没有编辑摘要) |
([InPageEdit] 没有编辑摘要) |
||
Line 4: | Line 4: | ||
* CC BY-NC-SA | * CC BY-NC-SA | ||
**/ | **/ | ||
− | function resizeMain(){$('main > .container').css('min-height',$(window).height()-$('.page-footer').height()-$('.top-nav').height() | + | function resizeMain(){$('main > .container').css('min-height',$(window).height()-$('.page-footer').height()-$('.top-nav').height())} |
$(function(){ | $(function(){ | ||
resizeMain(); | resizeMain(); | ||
$(window).resize(resizeMain); | $(window).resize(resizeMain); | ||
}); | }); |
Revision as of 03:32, 6 December 2019
/**
*『Wjghj Project Static』
* This _JavaScript_ code is from https://common.wjghj.cn
* CC BY-NC-SA
**/
function resizeMain(){$('main > .container').css('min-height',$(window).height()-$('.page-footer').height()-$('.top-nav').height())}
$(function(){
resizeMain();
$(window).resize(resizeMain);
});