Simple Machine Codes
March 29, 2024, 01:28:59 am
Welcome, Guest. Please login or register.

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

Pages: [1]   Go Down
  Print  
Author Topic: Random Color for Everything  (Read 302 times)
0 Members and 1 Guest are viewing this topic.
Agent Moose
Administrator

Offline Offline

Gender: Male
Posts: 2,672



View Profile WWW
« 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

Share on Facebook Share on Twitter

Agent Moose Jr.
Ultra Contagious
Global Moderator

Offline Offline

Gender: Male
Posts: 1,045



View Profile WWW
« Reply #1 on: January 04, 2008, 01:12:35 pm »

nice job
Report Spam   Logged

Newest:

Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum

Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy