Home  >  Article  >  Web Front-end  >  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
WBOYOriginal
2016-05-16 17:07:151153browse

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....

Statement:
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