您的位置:首页 > 理论基础 > 计算机网络

痛苦的IFAMR http://www.jb51.net/article/34942.htm

2015-11-13 23:05 417 查看
showHorseRunner: function () {
layer.open({
type: 2,
title: false,
shadeClose: true,
shade: 0.2,
area: ['506px', '519px'],
content: "/System/RacingPanel_HorseRunners",
success: function (index) {
//var h = $(document).find("iframe").css("height"); 获取IFAMR
// var dom = $(document).find("iframe")[0].contentWindow.document; 获取IFAMRB子元的DOM
var $iframe = $(document).find("iframe"); //获取IFAMR
var $iframe_dom = $($(document).find("iframe")[0].contentWindow.document);
h = $iframe_dom.find("#template").css("height").replace("px","");
$iframe.css("height", h+20+"px");

}
});

}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: