在做开放平台的时候,发现IE下每次点击一个链接,里面就在不断的产生iframe,一开始不知道为什么,后面发现是session丢失造成的原因。后面查了一下,说添加header('P3P: CP="CURa ADMa DEVa PSAo PSDo OUR BUS UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR"');我添加的参数没有那么多:header
原创
2013-04-28 10:06:46
495阅读
外部引用页
iframe {
height:100%;
width:100%;
overflow:auto;
position:absolute;
top:0;
left:0;
}
内部被引用页
body {
height: 100%;
}
就这么简单……
原创
2012-11-22 17:51:10
789阅读
I got a call today about one of my applications not running correctly from inside an iFrame. I tried it out and it looked like everything worked great in Safari and Firefox but not IE6 or IE7. It took
原创
2023-05-12 12:03:22
110阅读
今天应用出现了一个问题,应用主界面使用的是Iframe做的分帧,右边一帧用的是JMesa做的分页
原创
2023-07-13 17:55:25
214阅读
我们的一个系统的iframe中的内容,发现在IE9下无法正常显示,而在IE8下是正常的。 查过很多网上的资料,发现都说IE9下使用iframe会有很多问题。 最后的解决办法是: (1)在<head>标签里增加如下内容: <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" &g
原创
2013-08-22 16:05:53
736阅读
1 2 3 4 5iframe 6 7 8 22 23这里写几个字试试!子鼠! 24 25
转载
2008-06-13 10:13:00
38阅读
2评论
IE7下动态创建Iframe时,去除边框 2008-09-24 12:04 大家都知道,只要设置Iframe的属性:frameborder="0",Iframe就不显示边框,但是当你使用以下方法时似乎这个属性不起作用: js 代码 ...
转载
2008-10-29 09:50:00
59阅读
2评论
<?php header('P3P: CP="CURa ADMa DEVa PSAo PSDo OUR BUS UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR"'); ?>
ie8 cookies问题
PHP代码
<?php &nbs
原创
2012-05-22 10:08:32
689阅读
在网上找到在IE下操作IFrame内容的代码:
document.frames["MyIFrame"].document.getElementById("s").style.color="blue";
但是这在Firefox下无效。
所以,想到在Firefox下用FireBug来调试。经过调试发现在Firefox下可用以下代码来实现:
document.getElementById("MyIFrame").contentDocument.getElementById("s").style.color="blue";
原创
2008-12-26 00:00:00
10000+阅读
点赞
4评论
前言有很多小伙伴在拿163作为登录案例的时候,发现不管怎么定位都无法定位到,到底是什么鬼呢,本篇详细介绍iframe相关的切换以http://mail.163.com/登录页面10为案例,详细介绍switch_to_frame使用方法.一、frame和iframe区别Frame与Iframe两者可以实现的功能基本相同,不过Iframe比Frame具有更多的灵活性。 frame是整个页面的
转载
2024-05-27 20:51:11
38阅读
文末js前端的重头戏,值得花大部分时间学习。推荐通过书籍学习,《 JavaScript 高级程序设计(第 4 版)》你值得拥有。整本书内容质量都很高,尤其是前十章语言基础部分,建议多读几遍。另外,大推一个网上教程 现代 JavaScript 教程 ,文章深入浅出,很容易理解,上面的内容几乎都是重点,而且充分发挥了网上教程的时效性和资料链接。学习资料在精不在多,二者结合,定能构建你的 JavaScr
转载
2024-08-01 11:14:03
59阅读
a href="www.mydomain.com/link" target="_top" onclick="javascript:if
原创
2023-05-08 19:24:24
39阅读
<!--[if lte IE 6]><![endif]-->IE6及其以下版本可见 <!--[if lte IE 7]><![endif]-->IE7及其以下版本可见 <!--[if IE 6]><![endif]-->只有IE6版本可见 <![if !IE]><![endif]>除了IE以外的版本 <!--[if lt IE 8]><![endif]-->IE8及其以下的版本可见 <!--[if gte IE 7]><![endif]-->IE7及其 Read More
转载
2013-04-11 11:23:00
107阅读
2评论
使用iframe快速解决IE6下弹出层被下拉列表遮挡问题
原创
2013-03-12 08:56:29
628阅读
点赞
parent.document.getElementById('iframeID').contentWindow.location.reload();黑色头发:http://heisetoufa.iteye.com
原创
2023-04-27 16:21:34
78阅读
在一些前端项目中可能要用到动态创建iframe的需求,例如无刷新ajax上传文件。但是在IE下创建带有name的iframe会有个bug,创建的代码如下: var iframe = document.createElement('iframe'); iframe.name = 'test'; 上面的这段javascript代码在IE下赋不了name属性!!!即iframe.name = 'test';这段代码未执行。 在IE中我们可以使用下面的代码来动态创建带有name的iframe: var iframe = document.createEl
转载
2012-06-22 22:36:00
78阅读
2评论
Get the content of an Iframe in Javascript – crossbrowser solution for both IE and Firefoxhttp://roneiv.wordpress.com/2008/01/18/get-the-content-of-an-iframe-in-javascript-crossbrowser-solution-for-both-ie-and-firefox/Ok, let’s imagine the use case: I have an iframe somewhere on my page, and when I
转载
2010-09-10 16:48:00
60阅读
2评论
为啥世上会有这么多不同的浏览器?每次遇到js/css的浏览器兼容性问题,总是要发出这样的感叹,真希望这些个浏览器公司全部倒下,然后只留下一家(显然这是一个不可能实现的美好愿望),言归正传,看代码吧:iframe框架内页:[代码]父级类:[代码]
转载
2009-06-04 22:34:00
119阅读
2评论
iframe框架内页:[quote] 框架内页 [/quote]父级类:[quote] iframe1中文本框的值: function getValue(){ var ofrm1 = document.getElementById("frame1").doc...
原创
2023-02-22 09:21:44
232阅读
<iframe id="contentFrame" name="contentFrame" src="" frameborder="0" scrolling="no" width="100%" height="100%" onload="Javascript:SetWinHeight(this)">function SetWinHeight(obj) {
原创
2021-09-03 10:33:03
167阅读