自动设置iframe大小的jQuery代码_jquery
程序员文章站
2022-04-22 22:37:38
...
复制代码 代码如下:
复制代码 代码如下:
/*自动宽度*/
global.autoWidth = function () {
//global_main
$(".global_main").height($(window).height() - $(".global_header").eq(0).outerHeight());
$('.global_main').width($(window).width() - $('.global_slide').eq(0).outerWidth()).show();
};