jquery 3秒后自动跳转页面
时间:2014-09-22 20:19:53
收藏:0
阅读:2224
<!DOCTYPE html>
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>跳转页面</title>
<script src="jquery.min.js"></script>
<script language="javascript">
$(function() {
window.setTimeout(function(){
location.href="test.html";
}, 1000);
});
</script>
</head>
<body>
<span style="color:red" style="color:red">欢迎来到******!</span><br/>页面将在3秒后跳转...<br/>
</body>
</html>
评论(0)