Home > Web Front-end > JS Tutorial > body text

js 控制页面跳转的5种方法_javascript技巧

WBOY
Release: 2016-05-16 17:23:03
Original
1268 people have browsed it

第一种:

复制代码 代码如下:

   

第二种:
复制代码 代码如下:

   

第三种:
复制代码 代码如下:

  

第四种:
复制代码 代码如下:

  

第五种:
复制代码 代码如下:

  

隔多少秒后自动跳转到其它页(js脚本)

之间加入js

复制代码 代码如下:


然后在

里面加上   index.asp为自己要跳转的页面。

之间加上

方法二:

复制代码 代码如下:


系统将在 5 秒钟后自动跳转至新网址,如果未能跳转,请点击



Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!