Home > Web Front-end > JS Tutorial > JavaScript uses timing functions to jump to a certain page_javascript skills

JavaScript uses timing functions to jump to a certain page_javascript skills

WBOY
Release: 2016-05-16 17:07:15
Original
1195 people have browsed it

Sometimes we jump to a page to complete the task, and then return to the original page. This can be seen on many download websites. This is also done to retain users.

This timing function is easy to implement using javascript.

window.setTimeout(code,time) // code executed code time set time

Copy code The code is as follows:





javascript automatically jumps



This is the jump page....

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