天天看点

重定向跳转页面html,纯html网页重定向与跳转

javaScript 跳转

方法一:

window.location = "http://www.baidu.com";

方法二:

document.location = "http://www.baidu.com";

(带进度条)

跳转到baidu.com

loading...

size=46 name=chart>

var bar=0

var line="||"

var amount="||"

count()

function count(){

bar=bar+2

amount =amount + line

document.loading.chart.value=amount

document.loading.percent.value=bar+"%"

if (bar<99){

setTimeout("count()",100);

}else{

window.location = "http://www.baidu.com/";

}

}

纯html页面跳转