Simple Machine Codes
March 28, 2024, 02:20:27 pm
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
Forever
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
New Message V1
Simple Machine Codes
>
Forum
>
Forum Coding
>
SMF For Free Codes
>
New Message V1
Pages: [
1
]
Go Down
Print
Author
Topic: New Message V1 (Read 370 times)
0 Members and 1 Guest are viewing this topic.
Agent Moose
Administrator
Offline
Gender:
Posts: 2,672
New Message V1
«
on:
August 01, 2007, 08:45:53 pm »
Footers
Code:
<script>
//Created by Agent Moose (smcodes.smfforfree3.com)
color="COLOR HERE"
a=document.getElementsByTagName('a')
for(b=0;b<a.length;b++){
if(a[b].innerHTML.match(/My Messages/i) && a[b].innerHTML.match(/(\d+)/i)){
if(RegExp.$1>0){
a[b].style.color=color;a[b].style.fontWeight='bold'
};};};
</script>
This code lets you choose what color the My Messages link goes when you get a new message.
Just change the COLOR HERE part to your color. You may use HEX.
Report Spam
Logged
Pages: [
1
]
Go Up
Print
Jump to:
Please select a destination:
-----------------------------
Official
-----------------------------
=> Announcements
===> SMCodes Latest
-----------------------------
Forum Coding
-----------------------------
=> SMF For Free Codes
===>
Code Index
=> ZetaBoard Coding
===>
Code Index
=> Other Board System Codes
=> Theme Database
===>
Theme Index
-----------------------------
Support
-----------------------------
=> SMC Tutorials
===> Jquery and SMF For Free
=> Documentation
===> The Forum
===> The Admin Section
Powered by
EzPortal
Loading...