Author: Stoker
Description: The Random BG Colour BBCode makes the background color change every time the page is visited.
You can configure the script to change the colours.
BBCode:
Code: Select all
[rbg][/rbg]
Code: Select all
<script type="text/javascript">
/*Random background color- by javascriptkit.com
Visit JavaScript Kit (http://javascriptkit.com) for script
Credit must stay intact for use .**. */
//Enter list of bgcolors:
var bgcolorlist=new Array("#000000", "#800000", "#0000BF", "#008000", "#FF8000", "#FF80BF", "#00BFFF", "#FFFF00")
document.body.style.background=bgcolorlist[Math.floor(Math.random()*bgcolorlist.length)]
</script>
Code: Select all
Rbg: [rbg][/rbg]
Code: Select all
[rbg][/rbg]
This topic
[rbg][/rbg]