随笔分类 - Jquery
摘要:alert($(window).height()); //浏览器当前窗口可视区域高度 alert($(document).height()); //浏览器当前窗口文档的高度 alert($(document.body).height());//浏览器当前窗口文档body的高度 alert($(document.body).outerHeight(true));//浏览器当前窗口文档body的总高度 包括border padding margin alert($(window).width()); //浏览器当前窗口可视区域宽度 alert($(document).width());//浏览器当
阅读全文
摘要:(function ($) { $.fn.extable = function (options) { var $default = { evenStyle: "evenstyle", oddStyle: "oddstyle", activeStyle: "activestyle" }; var opts = $.extend({}, $.fn.extend(), $default); $(this).find("tr:even").addClass(opts.evenStyle); $(this).find(&q
阅读全文

浙公网安备 33010602011771号