$(‘body‘).height(); $(‘body‘).width();
JQuery获取body的大小
原文:http://www.cnblogs.com/Jim-william/p/4062572.html