E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
contentDocument
IFrame取消滚动条并且按内容长度显示mht
window.opera){ if(win.
contentDocument
&&win.
contentDocument
.body.offsetHeight) win.style.height
rongyongfeikai2
·
2011-10-27 09:00
JavaScript
iframe
function
border
scroll
iFrame 自适应高度,在IE6/IE7/IE8/Firefox/Opera/Chrome/Safari
document.frames["iframepage"].document:ifm.
contentDocument
; if(ifm!=null&&subWeb!=null){
luo_yifan
·
2011-10-25 09:00
JavaScript
iframe
浏览器
IE
null
文档
设置iframe自适应高度(/*兼容FF/IE9/IE8/IE7/IE6*)
document.frames["iframepage"].document:ifm.
contentDocument
;if(ifm!=null&&subWeb!
Sbangm
·
2011-10-19 16:00
iframe
function
null
[原创+]iframe 的加载状态和事件的绑定
使用jquery,需要iframe的dom加载完成开始执行的脚本,可以绑定在jQuery(iframe_dom.
contentDocument
).ready(function(){ alert
pswzyu
·
2011-09-28 09:00
html
js
jquery
iframe
iframe高度解析
window.opera) { if (cwin.
contentDocument
&& cwin.conte
无心徘徊
·
2011-09-07 10:00
iframe
iframe高度适应
document.getElementById(id) var idoc = iframe.contentWindow && iframe.contentWindow.document || iframe.
contentDocument
Blackbaby
·
2011-08-31 17:00
iframe
ie下取得iframe里面内容
contentWindow.document;alert(x.getElementById('xxx')); 非ie下(标准script) vardoc=document.getElementById("frame1").
contentDocument
·
2011-05-03 15:00
iframe
IFRAME高度自适应
document.frames["iframepage"].document:ifm.
contentDocument
; if(ifm!=null&&subWeb!=n
buyinuan
·
2011-04-28 15:59
iframe
职场
高度自适应
休闲
FireGesture的几个脚本
node)node=getBrowser().
contentDocument
;vare=document.createEvent("KeyboardEvent")
kingour1986
·
2011-03-25 11:00
脚本
J#
正则表达式
Firefox
一个兼容多个浏览器的自适应iframe尺寸的脚本
SetCwinHeight(iframeObj){ if (document.getElementById){ if (iframeObj){ if (iframeObj.
contentDocument
xcf007
·
2011-03-15 11:26
iframe
职场
休闲
自适应高度
js中访问html中iframe的文档对象的代码[IE6,IE7,IE8,FF]
W3C的标准告诉我们,可以通过Dom对象的
contentDocument
属性来返回文档对象。
·
2011-01-08 09:53
兼容IE和火狐的iframe 高度自动调整
window.opera){if(iframemain.
contentDocument
&&iframemain.contentDocumen
dyclh
·
2010-12-09 11:11
javascript
iframe 自动适应页面大小
window.opera){// alert(win.document.body.scrollHeight);// if(win.
contentDocument
&&win.
contentDocument
.bod
gzchenbing
·
2010-10-27 16:00
JavaScript
html
function
iframe
XHTML
文档
js取iframe中的对象
操作SubForm中的对象 var x=document.getElementById("main"); var y=(x.contentWindow || x.
contentDocument
pingfan
·
2010-09-14 09:00
java
Iframe中的一些属性,可以考虑拿来做高度自适应
J_iframe.
contentDocument
指iframe的document对象 2和3在各个浏览器下都兼容 如果要获得iframe里面页面的高度
fangbz
·
2010-09-13 16:00
浏览器
IE
J#
firefox
简单的框架网页高度自适应
document.frames[frm.name].document:frm.
contentDocument
; frm.height=subWeb.body.scrollHeight+30; }wi
shanshan209
·
2010-07-29 11:00
★★ 总结:获取 Iframe内的元素对象,兼容ie、firefox
特别做了如下处理: if(navigator.appName=="Netscape"){//firefox等兼容 document.getElementById("historyframe").
contentDocument
.getElementById
jackpk
·
2010-05-26 22:00
JavaScript
iframe
IE
url
firefox
scroll
iframe自适应高度
window.opera){ if (cwin.
contentDocument
&& cwin.
contentDocument
.body.offsetHeight){cwin.height = cwin.
contentDocument
.body.offsetH
·
2010-05-17 11:00
iframe
js实现的真正的iframe高度自适应(兼容IE,FF,Opera)
window.opera){if(cwin.
contentDocument
&&cwin.
contentDocument
.body.offsetHeight)cwin.height=cwin.contentDoc
·
2010-03-07 12:07
iframe对象的子对象
iframe对象的子对象是一个html页面,在iframe页面获取子对象文档的方法:iframe.
contentDocument
//FireFoxiframe.contentWindow.document
xiliuhu
·
2010-02-04 12:00
操作iframe中的对象
获得iframe中的document对象 var iframe= document.getElementById(iframeID); var doc = iframe.
contentDocument
lym6520
·
2009-11-12 09:00
JavaScript
操作iframe中的对象
获得iframe中的document对象 var iframe= document.getElementById(iframeID); var doc = iframe.
contentDocument
lym6520
·
2009-11-12 09:00
JavaScript
操作iframe中的对象
获得iframe中的document对象 var iframe= document.getElementById(iframeID); var doc = iframe.
contentDocument
lym6520
·
2009-11-12 09:00
JavaScript
iframe自适应高度
window.opera) { if (win.
contentDocument
&& win.
violasogni
·
2009-11-11 11:00
Opera
IE和Firefox对iframe document对象的差异性!
getIframeInnerHtml(id) { var doc; try{ doc = document.getElementById(id).
contentDocument
wjboy49
·
2009-10-25 13:00
IE
firefox
IFrame高度自适应js脚本
window.opera) { if (win.
contentDocument
&& win.
contentDocument
.body.offsetHeight) win.height
hanqunfeng
·
2009-09-29 21:00
JavaScript
脚本
IE
Opera
firefox
IFrame高度自适应js脚本
window.opera) { if (win.
contentDocument
&& win.
contentDocument
.body.offsetHeight) win.height
hanqunfeng
·
2009-09-29 21:00
JavaScript
脚本
IE
Opera
firefox
IFrame高度自适应js脚本
window.opera){if(win.
contentDocument
&&win.
contentDocument
.body.offsetHeight)win.height=win.
contentDocument
.body.offsetHeight
hanqunfeng
·
2009-09-29 21:00
IFrame高度自适应js脚本
window.opera) { if (win.
contentDocument
&& win.
contentDocument
.body.offsetHeight) win.height
hanqunfeng
·
2009-09-29 21:00
JavaScript
脚本
IE
Opera
firefox
IFrame高度自适应js脚本
window.opera) { if (win.
contentDocument
&& win.
contentDocument
.body.offsetHeight) win.height
hanqunfeng
·
2009-09-29 21:00
JavaScript
Opera
脚本
IE
firefox
IFrame高度自适应js脚本
window.opera) { if (win.
contentDocument
&& win.
contentDocument
.body.offsetHeight) win.height
hanqunfeng
·
2009-09-29 21:00
JavaScript
脚本
Opera
IE
firefox
IFrame高度自适应js脚本
window.opera) { if (win.
contentDocument
&& win.
contentDocument
.body.offsetHeight) win.height
hanqunfeng
·
2009-09-29 21:00
JavaScript
IE
Opera
脚本
firefox
IFrame高度自适应js脚本
window.opera) { if (win.
contentDocument
&& win.
contentDocument
.body.offsetHeight) win.height
hanqunfeng
·
2009-09-29 21:00
JavaScript
脚本
Opera
IE
firefox
IFRAMEs, .contentWindow, .
contentDocument
区别
from:http://www.omnigroup.com/mailman/archive/omniweb-l/2003/015196.html >I'mworkingonawebsitethatusesinlineframes(iframes),withthe >followingcodetointeractwithjavascriptsintheframe: > >pa
xkyle
·
2009-05-25 10:00
JS获取iFrame的内容
尤其当iframe的src为图片时:functionGetIframeInnerHtml(objIFrame){ variFrameHTML=""; if(objIFrame.
contentDocument
zxlan
·
2009-03-30 15:43
JavaScript
iframe
职场
休闲
JS获取iFrame的内容
获取iframe内容的代码,尤其当iframe的src为图片时:functionGetIframeInnerHtml(objIFrame){variFrameHTML="";if(objIFrame.
contentDocument
zxlan
·
2009-03-30 15:43
职场
javascript
休闲
javascript代码收藏
javascript iFrame研究
iframe1");i1.src="http://www.kanshule.com";}functiongetText(){//varx=document.getElementById("iframe1").
contentDocument
·
2008-12-16 15:40
编辑器中designMode和contentEditable的属性的介绍
Firefox中可以使用javascript语句设置属性
contentDocument
.designMode为
·
2008-11-22 12:49
iframe自动滚动到底部
function getTextNode(){//var x=document.getElementById("frame1").
contentDocument
;//Usethisorfollowingvar
starnight_cbj
·
2008-09-10 13:00
iframe
button
iframe 根据内容自己调整高度宽度
window.opera) { if (win.
contentDocument
&& win.
contentDocument
.body.offsetHeight) { w
ningbo-seo
·
2008-08-01 11:00
JavaScript
Opera
iframe 根据内容自己调整高度宽度
window.opera) { if (win.
contentDocument
&& win.
contentDocument
.body.offsetHeight) { w
wangdetian168
·
2008-08-01 11:00
JavaScript
Opera
Iframe自适应高度兼容ie,firefox多浏览器
window.opera){if(bobo.
contentDocument
&&bobo.
contentDocument
.body.offsetHeight){
·
2008-04-11 19:13
js实现iframe动态调整高度的代码
window.opera){if(win.
contentDocument
&&win.
contentDocument
.body.offsetHeight)win.height=win.
contentDocument
.body.offse
·
2008-01-06 19:32
iframe交互使用大全
【函数名】来访问子页面的jsfunctionmodifyWH(){varifr=document.getElementById("ifcontent");if(ifr.
contentDocument
&&
glacier3
·
2007-12-18 14:00
IE
ASP
脚本
Firefox
HTML
上一页
1
2
3
4
5
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他