inherit
22517
0
Apr 30, 2009 18:49:13 GMT -8
Bradley
Has a new webhost. :) Needs to transfer a lot of stuff. :-/
5,246
April 2004
ccworldwebmaster
|
Post by Bradley on Jul 20, 2008 10:27:32 GMT -8
Global Footers (or just the boards you want the code to work on):
<script type="text/javascript"> // Change Message Icon Text - Bradley Nelson (CCWorld) 2008-7-19
var theselect = document.getElementsByName("icon").item(0); function ChangeIconText(val, text, url){ if(location.href.match(/action=(post|createpoll|modifypost)/i)){ for(i=0; i<theselect.options.length; i++){ if(theselect.options.value==val){ theselect.options.text = text;}}}}
ChangeIconText("question", "Huh?"); </script>
Repeat for more icons The new text to show Red is the code name of the one to change. Look at this list. The name you need to use is on the right side.
Standard -> xx Thumbs up -> thumbup Thumbs down -> thumbdown Exclamation Point -> exclamation Question Mark -> question Lamp -> lamp Smiley -> smiley Angry -> angry Cheesy -> cheesy Laugh -> laugh Sad -> sad Wink -> wink
|
|