»
EnglishFrenchVietnamese

Print - Random Background onClick/onMousemove - JavaScriptBank.com

Full version: jsB@nk » Background » Random Background onClick/onMousemove
URL: https://www.javascriptbank.com/background-color-change-onclick.html

Random Background onClick/onMousemove © JavaScriptBank.comEverytime visitors click/move mouse on the specified message then background will change color value.

Full version: jsB@nk » Background » Random Background onClick/onMousemove
URL: https://www.javascriptbank.com/background-color-change-onclick.html



JavaScript
<script> <!--/*     This script downloaded from www.JavaScriptBank.com     Come to view and download over 2000+ free javascript at www.JavaScriptBank.com*/for (x=2; x<756; x=x+6){y1=10x2=100y2=400document.write("<v:line from="+x+","+y1+" to="+x2+","+y2+" strokecolor=#f0a090 strokeweight=2> </v:line>")}for (x=2; x<756; x=x+16){yy1=40xx2=400document.write("<v:line from="+x+","+yy1+" to="+xx2+",250 strokecolor=#40e0a0 strokeweight=1></v:line>")}function a()                                                                       {ar=Math.round(9*Math.random())ag=Math.round(9*Math.random())ab=Math.round(9*Math.random()) document. bgColor=ar+"0"+ag+"0"+ab+"0"                      }//--></script><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->