两个iFrame同时打开

时间:2021-01-04 11:55:04
iframe是一个一个的打开
有时候客户有不同的要求,就必须得用iframe
但是iframe的打开速度实在是那个慢啊,后来搜搜搜,终于发现终极之道-javascipt在body 的onload的时候指定frame的location,发现速度快的不是一般的多.
for example:
 1 两个iFrame同时打开<! DOCTYPE html PUBLIC  " -//W3C//DTD XHTML 1.0 Transitional//EN "   " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd " >
 2 两个iFrame同时打开 < html xmlns = " http://www.w3.org/1999/xhtml " >
 3 两个iFrame同时打开 < head >   
 4 两个iFrame同时打开   < script language = " javascript "  type = " text/javascript " >
 5 两个iFrame同时打开        function bodyLoad()
 6 两个iFrame同时打开两个iFrame同时打开         {
 7两个iFrame同时打开            mp3.location ="mp3.htm";
 8两个iFrame同时打开            myblog.location ="Default.aspx";
 9两个iFrame同时打开        }

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