/**
* [autoIframeHeight iframe自动适应高度]
* @Author Jerry
* @DateTime 2017-05-06
* @Example eg:
* @param {[type]} id [description]
* @return {[type]} [description]
*/
function autoIframeHeight(levelid){
var levelid = levelid;
var iframes = $("iframe[levelid='"+levelid+"']");
iframes.load(function () {
var windwoheight = ($(window).height()-180)
iframes.height(windwoheight);
$('body #loading').remove();
});
}
本文档由 Jerry.Chen 维护更新