JavaScript automatically transforms table border colors

  • 2020-06-12 08:24:44
  • OfStack

The code is as follows. Save to the HTML file to see the effect:

<meta charset="utf-8">
<title> Table border transform color code </title>
<table border="0" width="261" id="change_jb51_net" style="border:1px solid red">
<td> Wait and see if the border has changed color ?</td>
function hovertreecolor(){

if ("blue")"red"
setInterval("hovertreecolor()", 3000)

This is the end of this article, I hope you enjoy it.

Related articles: