The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Username colors

3 posters

Go down

Solved Username colors

Post by Mr Rockeye June 28th 2014, 5:01 pm

Hey so I used the tutorial of coloring names with Java code and wanted to try some my self.
I wanted the code to specify a group and than have that group a specific color, while the user holds his original name.
This is the code I used:
Code:

$(function(){
$('a span[style="color:#CC0000"]').not(function(){return $("img",this)[0]}).html('<STYLE TYPE="text/css"><!-- .postprofile dl dt br { color:#CC0000; } --></STYLE>');
});
I want to give the users some kind of background glow but did not succeed in getting the CSS element right.

My forum: www.unitedcommunity.topdiscussion.com


Last edited by Mr Rockeye on June 29th 2014, 11:55 am; edited 1 time in total
Mr Rockeye
Mr Rockeye
Forumember

Posts : 86
Reputation : 1
Language : English

http://www.unitedcommunity.tk

Back to top Go down

Solved Re: Username colors

Post by Ange Tuteur June 29th 2014, 1:57 am

Hello,

If you want to add a glow to members of a group you can use this :
Code:
a span[style="color:#CC0000"] strong { text-shadow:0 0 6px #CC0000; }
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13246
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Username colors

Post by SLGray June 29th 2014, 3:35 pm

Is this solved?


Username colors Slgray10

When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
SLGray
SLGray
Administrator
Administrator

Male Posts : 51464
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum