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
When using the MySQL database, if you have not lo...
system: CentOS 7 RPM packages: mysql-community-cl...
1. Virtual Machine Preparation 1. Create a new vi...
Equal height layout Refers to the layout of child...
This article example shares the specific code for...
Problem Description There is a type of query call...
The main differences are as follows: 1. MySQL use...
Table of contents Preface environment Install Cre...
Some people use these three tags in a perverted wa...
A record of an online MySQL transaction problem L...
I believe everyone is familiar with database inde...
Transactions ensure the atomicity of multiple SQL...
Table of contents Structural inheritance (impleme...
Table of contents The CSS custom variable functio...
Enctype : Specifies the type of encoding the brows...