News:

Create A Forum Installed

Author Topic: Color username based on membergroup?  (Read 873 times)

0 Members and 2 Guests are viewing this topic.

Offline aIURbliS

  • Hero Member
  • *****
  • Posts: 1215
  • Karma: 45
  • Gender: Male
  • Location: U.S.
    • View Profile

Badges: (View All)
Level 6 Sixth year Anniversary Fifth year Anniversary
Re: Color username based on membergroup?
« on: February 06, 2013, 09:17:51 pm »
Code: [Select]
<script>function xboi209_colormembergroupposts(a,b){$("li.membergroup:contains('"+a+"')").each(function(){$(this).closest("div.poster").children("h4").children("a").eq(1).css("color",b)})}xboi209_colormembergroupposts("Administrator","gold");</script>
It would have been nice if you posted in the codes support board.
All codes I make are tested on the latest version of Google Chrome and upon request of other browsers.

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
1201 Views
Last post March 19, 2011, 11:55:09 am
by Thornton136
6 Replies
880 Views
Last post March 27, 2011, 01:17:06 pm
by MCschematics
1 Replies
880 Views
Last post November 04, 2012, 05:08:10 pm
by aIURbliS
9 Replies
2774 Views
Last post March 13, 2013, 10:51:19 pm
by aIURbliS
4 Replies
1274 Views
Last post March 06, 2013, 08:42:22 pm
by AnonyMister