标签:
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");
}
});
}
痛苦的IFAMR http://www.jb51.net/article/34942.htm
标签:
原文地址:http://www.cnblogs.com/wiseblog/p/4963489.html