惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

GbyAI
GbyAI
Blog — PlanetScale
Blog — PlanetScale
The GitHub Blog
The GitHub Blog
Microsoft Security Blog
Microsoft Security Blog
I
InfoQ
A
About on SuperTechFans
T
The Blog of Author Tim Ferriss
D
DataBreaches.Net
L
LangChain Blog
F
Fortinet All Blogs
C
Check Point Blog
Google DeepMind News
Google DeepMind News
云风的 BLOG
云风的 BLOG
Engineering at Meta
Engineering at Meta
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
H
Help Net Security
J
Java Code Geeks
月光博客
月光博客
H
Hackread – Cybersecurity News, Data Breaches, AI and More
IT之家
IT之家
aimingoo的专栏
aimingoo的专栏
小众软件
小众软件
宝玉的分享
宝玉的分享
Jina AI
Jina AI

博客园 - 深渊野鱼

Framework7 链接重新回来之后,页面数据不重新获取,或者pageinit不重新执行 海关单一窗口程序出现网络/MQ问题后自动修复处理 IE JQuery 多Tab iframe 关闭Tab导致光标丢失 win7 64bit 尝试加载 Oracle 客户端库时引发 BadImageFormatException。如果在安装 32 位 Oracle 客户端组件的情况下以 64 位模式运行,将出现此问题 Commitment definition *N not valid for open XXX CPF4326 排查 PowerDesigner之逆向工程SQLServer注意事项 Paypal IPN 天敏SDK2500开发小计 Oracle在windows2003按星期几export的bat文件 - 深渊野鱼 - 博客园 OracleClient之诡异现象 虚拟主机权限之log4net Norton我错怪了你啊~~ 如何向远程系统提交命令? RUNRMTCMD命令使用 OS/400与UNIX功能相似的部分命令 关于文件的ShareODP和USROPN 在5250上面实现复制粘贴 如何以某一关键字快速搜索AS/400 中的Message file 如何查看QTEMP的内容?可以查看别人的QTEMP的
两个iFrame同时打开 - 深渊野鱼 - 博客园
深渊野鱼 · 2008-05-06 · via 博客园 - 深渊野鱼

iframe是一个一个的打开
有时候客户有不同的要求,就必须得用iframe
但是iframe的打开速度实在是那个慢啊,后来搜搜搜,终于发现终极之道-javascipt在body 的onload的时候指定frame的location,发现速度快的不是一般的多.
for example:

 1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 2<html xmlns="http://www.w3.org/1999/xhtml">
 3<head>  
 4  <script language="javascript" type="text/javascript">
 5        function bodyLoad()
 6        {
 7            mp3.location ="mp3.htm";
 8            myblog.location ="Default.aspx";
 9        }

10    
11    </script>
12
13</head>
14<body onload="bodyLoad();">
15    <iframe border="0" name="mp3" scrolling="no" marginwidth="0" framespacing="0" marginheight="0"
16        frameborder="0" noresize width="100%" height="77px" vspale="0" allowtransparency>
17    </iframe>
18    <iframe border="0" name="myblog" scrolling="no" marginwidth="0" framespacing="0"
19        marginheight="0" frameborder="0" noresize width="100%" height="1200" vspale="0"
20        allowtransparency></iframe>
21</body>
22</html>

posted @ 2008-05-06 14:48  深渊野鱼  阅读(864)  评论(1)    收藏  举报

刷新页面返回顶部