Footers
<script>
function topic_color() {
//Created by Agent Moose at smcodes.smfforfree3.com
$(function() {
var topiccolor = new Array()
topiccolor[0] = ["TYPE IN TOPIC","COLOR OF TOPIC"]
for(q=0;q<topiccolor.length;q++){
$("a").each(function() {
if(this.innerHTML.match(topiccolor[q][0])) {
this.innerHTML = this.innerHTML.replace(topiccolor[q][0],"<font color='"+topiccolor[q][1]+"'>");
};
if(this.innerHTML.match("[/topic]")) {
this.innerHTML = this.innerHTML.replace("[/topic]","</font>");
};});};});}
topic_color();
</script>
This code alowes you to add color to the topic titles.
TYPE IN TOPIC = Is what You will type in the topic for what color you want
COLOR OF TOPIC = Is what the color of the topic is when you do TYPE IN TOPIC PART.
Now, for an example. If you have something like this:
topiccolor[1] = ["[topic=blue]","blue"]
When you type [topic=blue] into a topic title, it will turn blue. you will need to put [/topic] at the end of the topic title though.
So for example..
[topic=blue]Hello is the Topic[/topic] will make the topic color blue if you have it set as that...
You can add more lines if you add more of these...
topiccolor[x] = ["TYPE IN TOPIC","COLOR OF TOPIC"]
Change the x to a 1 if ytou add one. Then, if you add another line, it will be a 2 and so on.
Get it? If you don't, then...I don't know, post in this topic?
=============================
EDIT:
Here is another version of the code. You DO NOT have to add the [/topic] part in it. But you still need to do everything else.
<script>
function topic_color() {
//Created by Agent Moose at smcodes.smfforfree3.com
$(function() {
var topiccolor = new Array()
topiccolor[0] = ["[topic=red]","red"]
for(q=0;q<topiccolor.length;q++){
$("a").each(function() {
if(this.innerHTML.match(topiccolor[q][0])) {
this.innerHTML = this.innerHTML.replace(topiccolor[q][0],"<font color='"+topiccolor[q][1]+"'>");
};});};});}
topic_color();
</script>