首页 > Web开发 > 详细

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

时间:2015-11-13 23:34:30      阅读:771      评论:0      收藏:0      [点我收藏+]

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!