复制代码 代码如下:
<iframe src="main_folder.aspx" class="global_main" scrolling="auto" frameborder="0" name="main"></iframe>
复制代码 代码如下:
/*自动宽度*/
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();
};
最后
以上就是干净发夹最近收集整理的关于自动设置iframe大小的jQuery代码的全部内容,更多相关自动设置iframe大小内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复