#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Aug 12, 2006 8:25:40 GMT -8
Just a little code to give you a random signature.. Put it in either your Global Footer for it to effect your whole forum, or the footer(s) of the board(s) you want it to effect.. <script type="text/javascript"> <!-- if(location.href.match(/tion=(display|viewprofile)/)) { var myRandomSig = new Array();
// Edit below....
myRandomSig[0] = 'Random 1'; myRandomSig[1] = 'Random 2'; myRandomSig[2] = 'Random 3';
var sigCode = 'my sig';
// Edit above....
var ranSig = Math.floor(Math.random()*myRandomSig.length); var sig = document.getElementsByTagName('font'); for(s=0; s<sig.length; s++) { if(sig.size == '1' && sig.innerHTML.match(sigCode)) { sig.innerHTML = sig.innerHTML.replace(sigCode,myRandomSig[ranSig]); } } } // --> </script> Edit and add to the red variable to list your signatures... Change the green variable to the code you want to put in your signature for the code to find and put that code in your signature in your profile.. Use HTML, so your could list quotes, links, images, whatever suits you...
|
|