//----JavaScript Document(是定义编辑、预览、正常浏览◢模式下共同使用输出)---- //----JavaScript Document(是定义可视化编辑器模式→下输出)---- ///处∏理详细模块的高度 $.PluginInfoViewHeight = function (o) { $(function () { o.c = $("#" + o.curr); o.t = $("#" + o.currtop); o.c.height = o.c.length ? o.c.outerHeight(true) : 0; o.t.h = o.t.length ? o.t.height() : 0; o.t.height(o.t.h < o.c.height ? o.c.height : o.t.h); o.cr = o.containerid.split(","); o.ar = o.areakey.split(","); o.d = o.c.height - o.t.h; o.cr.forEach(function (cri) { o.crt = $("#" + cri); if (o.crt.length > 0) { o.crt.height(o.d > 0 ? o.d + o.crt.height() : o.crt.height()); } }); o.ar.forEach(function (ari) { o.crt = $("#" + ari); if (o.crt.length > 0) { o.crt.height(o.d > 0 ? o.d + o.crt.height() : o.crt.height()); } }); }); }