To achieve the background color flashing effect, just add the following code to the <body> area. Copy code The code is as follows:<script language="Javascript"> function blinkit() { intrvl=0; for(nTimes=0;nTimes<3;nTimes++) { intrvl += 200; setTimeout("document.bgColor='#0000FF';",intrvl); intrvl += 200; setTimeout("document.bgColor='#336699';",intrvl); } } </script> <input type="button" value="Blink" onClick="blinkit()"> |
<<: JS array loop method and efficiency analysis comparison
>>: CSS writing format, detailed explanation of the basic structure of a mobile page
Last time, a very studious fan asked if it was po...
This article shares the specific code of JavaScri...
1. Each function is an object and occupies memory...
This article shares the specific code of JavaScri...
I used js to create a package for converting Chin...
Recently, Microsoft released the 2019 server syst...
introduction When I was learning more about datab...
Make a blank space for Taobao: When you shrink th...
Environment: CentOS 7 Official documentation: htt...
1. An error (1064) is reported when using mysqldu...
Logpoint-based replication 1. Create a dedicated ...
Mapping the mouse position or implementing drag e...
Docker Features 1) Quick to get started It only t...
There are two types of scheduled tasks in Linux s...
Detailed introduction to the steps of installing ...