痛苦的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");
}
});
}
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");
}
});
}
相关文章推荐
- HttpClient4.x调用指定证书访问https
- LVS搭建集群实现负载均衡-NAT模式
- 信号量、互斥锁,读写锁和条件变量的区别 http://blog.chinaunix.net/uid-20671208-id-4935154.html
- iOS中网络请求--AFNetworking
- 卷积神经网络在自然语言处理的应用
- Linux内核工程导论–网络:TCP连接
- 【已解决】This absolute uri http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or th
- ascyhttpclient 使用心得
- erlang http post 发送数据请求
- Post方式的Http流请求调用
- iOS网络请求,iOS 9新增加了Session请求
- 安卓TCP通信
- 判断网络状态
- HTTP协议基础
- HttpClient使用详解
- 给AFNetWorking添加http表头
- AFNetworking3.0网络请求方法封装(自带缓存功能)
- WMware Workstation 中几种网络连接的说明
- http://www.kwstu.com/ArticleView/kwstu_20144118313429
- VMware 虚拟机的网络连接方式详解