Home  >  Article  >  Web Front-end  >  Summary of page timing jump using javascript_javascript skills

Summary of page timing jump using javascript_javascript skills

WBOY
WBOYOriginal
2016-05-16 17:22:11852browse

The following is a summary of the use of JavaScript to implement page timing jumps (also called countdown jumps). Various timing jump codes are recorded as follows:

(1) Use the setTimeout function to implement timing jumps (the following code must Written in the body area)

Copy code The code is as follows:



(2) HTML code implementation, add the following code in the head area block of the page
Copy code The code is as follows:




(3) A little more complicated, mostly after logging in Timing jump
Copy code The code is as follows:




JS method to jump to the page regularly






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