Simple Machine Codes
April 17, 2024, 09:45:44 pm
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
Forever
Login with username, password and session length
News
: Welcome to SMC, the best place for your SMF For Free Codes
Home
Help
Search
Arcade
Gallery
Affiliates
Code Index
Staff List
Calendar
Members
Login
Register
Random Color for Everything
Simple Machine Codes
>
Forum
>
Forum Coding
>
SMF For Free Codes
>
Random Color for Everything
Pages: [
1
]
Go Down
Print
Author
Topic: Random Color for Everything (Read 303 times)
0 Members and 1 Guest are viewing this topic.
Agent Moose
Administrator
Offline
Gender:
Posts: 2,672
Random Color for Everything
«
on:
November 16, 2007, 07:32:35 pm »
Footers
Code:
<script>
$("*").each(function(){
//Created by Agent Moose (smcodes.smfforfree3.com)
var r = Math.floor(Math.random()*255);
var g = Math.floor(Math.random()*255);
var b = Math.floor(Math.random()*255);
this.style.color = "rgb("+r+","+g+","+b+")"
});
</script>
This code is very very annoying, that I decided to post it. It changes all the Text color to some random color.
Report Spam
Logged
Agent Moose Jr.
Ultra Contagious
Global Moderator
Offline
Gender:
Posts: 1,045
Re: Random Color for Everything
«
Reply #1
on:
January 04, 2008, 01:12:35 pm »
nice job
Report Spam
Logged
Newest:
Pages: [
1
]
Go Up
Print
Jump to:
Please select a destination:
-----------------------------
Official
-----------------------------
=> Announcements
===> SMCodes Latest
-----------------------------
Forum Coding
-----------------------------
=> SMF For Free Codes
===>
Code Index
=> ZetaBoard Coding
===>
Code Index
=> Other Board System Codes
=> Theme Database
===>
Theme Index
-----------------------------
Support
-----------------------------
=> SMC Tutorials
===> Jquery and SMF For Free
=> Documentation
===> The Forum
===> The Admin Section
Powered by
EzPortal
Loading...