vForums Support Banner


Visit Base Classics - Gaming Chairs

 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Database of Codes/Hacks/Mods :: Change Color of Stickied Threads - View Topic
Topic Rating: *****
Printable View
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Change Color of Stickied Threads (3rd Apr 08 at 6:14pm UTC)
This will let you change the color of stickied threads to anything that you choose.

<script>
/*Change color of Stickied Threads
Created By Wrighty
Do Not: Rip, Repost or Claim*/

var c = '#FF0000';

var x = '[S]';
var d = get('td','tag');
for(i=0;i<d.length;i++){
    if(d[i].innerHTML.match(x) && d[i].className=='window1'){
        d[i+1].getElementsByTagName('a')[0].style.color = c;
    }
}
</script>


Change the part that is red, to the color that you want them to appear.

Global Footer
 Printable View

All times are GMT+0 :: The current time is 1:40am
Page generated in 0.1209 seconds
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums