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阅读
在做开放平台的时候,发现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阅读
 <?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阅读
外部引用页 iframe {   height:100%;   width:100%;   overflow:auto;   position:absolute;   top:0;   left:0; } 内部被引用页 body {   height: 100%; } 就这么简单&hellip;&hellip;
原创 2012-11-22 17:51:10
789阅读
Windows 网络编程常用的API库有Winsock,Wininet 和 Urlmon。Winsock 实现了基本的套接字(socket)功能, 而 wininet 和 urlmon在winsock 的基础上封装了HTTP, FTP, WWW 的协议。 这篇文章 《Under the Hood: WinINet》(http://blogs.technet.com/askperf/archive/
原创 2009-03-29 14:57:00
1959阅读
在网上找到在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+阅读
1点赞
4评论
文末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阅读
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-
转载 2010-09-10 16:48:00
54阅读
2评论
主页面main.html New Document iframe之前的文字 iframe之后的文字 框架子页frm.html New Document iframe变短 iframe变长 iframe变长 iframe变长 iframe变长 ...
转载 2009-04-10 11:02:00
97阅读
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做的分帧,右边一帧用的是JMesa做的分页
原创 2023-07-13 17:55:25
214阅读
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阅读
parent.document.getElementById('iframeID').contentWindow.location.reload();黑色头发:http://heisetoufa.iteye.com
00
原创 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评论
今天遇到iFrame高度自己适应的问题,没有很好的解决办法, 取巧让iframe高度与显示屏高度保持一致算了(减去顶部的高度) 谁有更好的办法请不吝赐教,谢谢。
转载 2009-12-17 09:17:00
84阅读
2评论
ie下能实现的功能,对照着FF下的方法与属性修改就行了。今天终于把这个问题彻底解决了,记录一下。
转载 2009-12-18 11:30:00
84阅读
2评论
今天才发现,万恶的IE居然iframe无法用css设置背景。 在网上搜了一会儿,发现大家都在叫苦连天,没有好的解决方案。(有的甚至连javascript都用上了。。。) 突然在IE Developer Toolbar的自动补全列表中,发现一个属性,allowTransparency。 msdn说: Sets or retrieves whether the object can be transp
转载 2009-05-18 19:38:34
393阅读
  • 1
  • 2
  • 3
  • 4
  • 5