如何在一个页面内定时刷新/打开指定地址

如何在一个页面内定时刷新/打开指定地址
页面内建个框框 用来打开指定的地址..
而且 定时打开指定地址
要打开的地址会自动转向别的地方...
所以 用浏览器自动刷新无效...
我需要的是具体的代码 - -!!

满意的话 我可以提高分数!!

在网页内建网页。用框架。框架内的网页用转向代码实现

希望提供具体代码

别给我地址!!!

第1个回答  2008-02-23
index.htm =====>

<script language="Javascript">
<!--
function openURL(source){
document.getElementById("ye").src=source;
}
//-->
</script>
<div style="float:left" id="yexj00">
<a href="#" onclick="openURL('a.htm')">地址一</a><br />
<a href="#" onclick="openURL('b.htm')">地址二</a><br />
<a href="#" onclick="openURL('c.htm')">地址三</a>
</div>
<div style="float:left;padding-left:20px">
<iframe src="about:blank" style="width:300px;height:200px" id="ye" name="ye"></iframe>
</div>
---------------------------------------------

a.htm =====>

<meta http-equiv="refresh" content="3;url='http://www.baidu.com'">
这里是a.htm页面的内容

--------------------------------------------
b.htm =====>

<meta http-equiv="refresh" content="3;url='http://www.baidu.com'">
这里是b.htm页面的内容
---------------------------------------------

c.htm =====>

<meta http-equiv="refresh" content="3;url='http://www.baidu.com'">
这里是c.htm页面的内容本回答被提问者采纳
第2个回答  2008-02-23
这是定时触发转向的html代码 在<head></head>区域加入代码:
<Meta http-equiv="refresh" content="3;url='www.baidu.com' ">

其它的不是很明白你的表达,不过你可以留言给我,我再补充。
第3个回答  2008-02-23
这是定时触发转向的html代码 在<head></head>区域加入代码:
<Meta http-equiv="refresh" content="3;url='www.baidu.com' ">
楼上说的对
第4个回答  2008-02-23
在网页内建网页。只能用框架。框架内的网页可以用转向代码实现
第5个回答  2008-02-23
相似回答