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");

}
});

}

相关文章:

  • 2021-08-28
  • 2021-11-04
  • 2021-12-20
  • 2021-06-06
  • 2021-11-26
  • 2022-12-23
  • 2021-10-26
  • 2021-07-13
猜你喜欢
  • 2021-10-23
  • 2022-12-23
  • 2021-10-08
  • 2022-12-23
  • 2022-12-23
  • 2022-02-26
  • 2022-12-23
相关资源
相似解决方案