当前位置
:
洪恩在线
->
电脑乐园
-> JavaScript实例
自 动 跳 转
效 果 演 示
:
请等待,10秒后,
自动跳到“洪恩在线”
源代码如下
:
这段程序放在<head>与</head>之间
<meta http-equiv="refresh" content="10; url=http:\\www.hongen.com">
源程序讲解:
meta http-equiv="refresh" content="10; url=http:\\www.hongen.com"
10秒后,自动跳转到“www.hongen.com”。这两个参数可改。