In fact, it is very simple to achieve this effect, and this effect cannot even be called a special effect. All you have to do is add the following code to your web page. 1. Automatic page refresh: Add the following code to the <head> area <meta http-equiv="refresh" content="20">, where 20 means refreshing the page every 20 seconds. 2. Automatic page jump: Add the following code to the <head> area <meta http-equiv="refresh" content="20;url=https://www.jb51.net">, where 20 means jumping to https://www.jb51.net page after 20 seconds 3. Page automatic refresh js version <script language="JavaScript"> function myrefresh(){ window.location.reload(); } setTimeout('myrefresh()',1000); //Specify refresh once every 1 second </script> |
<<: Ten popular rules for interface design
>>: Introduction to using the MySQL mysqladmin client
As shown below: Mainly execute authorization comm...
Table of contents 1. Implementation process 2. Di...
Summary HTML: element plus v-cloak CSS: [v-cloak]...
1. Search for redis image docker search redis 2. ...
Preface By default, MySQL will initialize a large...
in conclusion % of width: defines the percentage ...
Preface When installing the executable file of a ...
When I turned on my MAC at night, I found that th...
Table of contents The pitfalls Filling method Wha...
Step 1: Install the deep "graphics driver&qu...
Detailed explanation of the role of static variab...
Table of contents Preface Reference Comparison Ma...
Function Origin I was recently working on an H5 t...
Table of contents Find the problem 1. How to remo...
jQuery form validation example / including userna...