//自适应屏幕高度
$(window).resize(function() { hightChange(); }); function hightChange(){ var h = document.documentElement.clientHeight-160; $("#i_con").height( h + 38);// iframe id }
//自适应屏幕高度
$(window).resize(function() { hightChange(); }); function hightChange(){ var h = document.documentElement.clientHeight-160; $("#i_con").height( h + 38);// iframe id }
转载于:https://www.cnblogs.com/heyesp/p/4679877.html