Site Notice

hello, world

Difference between revisions of "MediaWiki:Js-doc.js"

From Project-EPB Commons
Line 4: Line 4:
 
  * CC BY-NC-SA
 
  * CC BY-NC-SA
 
  **/
 
  **/
 +
function resizeMain(){$('main').css('min-height',$(window).height()-$('.top-nav').height()-$('.page-footer').height()+3)}
 
$(function(){
 
$(function(){
   $('main').css('min-height',$(window).height()-$('.top-nav').height()-$('.page-footer').height());
+
   resizeMain();
   $(window).resize(function(){$('main').css('min-height',$(window).height()-$('.top-nav').height()-$('.page-footer').height());});
+
   $(window).resize(resizeMain());
 
});
 
});

Revision as of 22:49, 12 September 2019

/**
 *『Wjghj Project Static』
 * This _JavaScript_ code is from https://common.wjghj.cn
 * CC BY-NC-SA
 **/
function resizeMain(){$('main').css('min-height',$(window).height()-$('.top-nav').height()-$('.page-footer').height()+3)}
$(function(){
  resizeMain();
  $(window).resize(resizeMain());
});