您的位置:首页 > Web前端 > HTML

html3秒跳转

2015-08-10 14:16 399 查看
<script>
setTimeout( 'window.location= "home.jsp " ',3000) ;//注意,此处“;”可加可不加
</script>

<script>
setTimeout( 'history.go(-1) ',3000)
</script>

2.

<head> <meta http-equiv= "refresh " content= "3;url=window.history.back(): " /> </head>
或者
<head> <meta http-equiv= "refresh " content= "3;url= ‘ aa.html' " /> </head>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: