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
cursor The set of rows returned by the select que...
Problem Description I want to use CSS to achieve ...
Preface Before leaving get off work, the author r...
1. Overview Redis Cluster enables high availabili...
As shown below: //Query the year and month of the...
Alibaba Cloud purchases servers Purchase a cloud ...
1. IE browser mode Hack logo 1. CSS hack logo Copy...
1 Download MySQL Download address: http://downloa...
Preface To modify file permissions in the termina...
How to turn a jar package into a docker container...
This article example shares the specific code of ...
Preface: As a giant in the IT industry, Microsoft...
Table of contents Preface 1. Extract data 2. Alia...
Q: Whether using Outlook or IE, when you right-cl...
mysqlslap Common parameter description –auto-gene...