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.

Can I set few colors in my nick

2 posters

Go down

Can I set few colors in my nick Empty Can I set few colors in my nick

Post by Kralj July 1st 2013, 9:32 am

Hello!

Can I set in my nick (on my forum) 2 or more colors with some code in javascript?
Kralj
Kralj
Forumember

Male Posts : 128
Reputation : 6
Language : Croatian || English || HTML
Location : Croatia

Back to top Go down

Can I set few colors in my nick Empty Re: Can I set few colors in my nick

Post by Cassius Dio July 1st 2013, 12:19 pm

Hi! Very Happy

If your name on your forum is the same as here, add this code to your JavaScript codes management:
Code:
$(document).ready(function(){
$('a:contains("Kralj")').replaceWith('
<a href="/u1"><span style="color: #0a39f5;">K</span><span style="color: #0a2ec4;">r</span><span style="color: #092393;">a</span><span style="color: #091762;">l</span><span style="color: #080c31;">j</span></a>
');
});
Cassius Dio
Cassius Dio
Forumember

Male Posts : 581
Reputation : 79
Language : Romanian &English
Location : Yellow Submarine

http://beatles.forummo.com/

Back to top Go down

Can I set few colors in my nick Empty Re: Can I set few colors in my nick

Post by Kralj July 1st 2013, 1:41 pm

Cassius Dio wrote:Hi! Very Happy

If your name on your forum is the same as here, add this code to your JavaScript codes management:
Code:
$(document).ready(function(){
$('a:contains("Kralj")').replaceWith('
<a href="/u1"><span style="color: #0a39f5;">K</span><span style="color: #0a2ec4;">r</span><span style="color: #092393;">a</span><span style="color: #091762;">l</span><span style="color: #080c31;">j</span></a>
');
});

yes, it's work, but it not strong. Can you writte how to make strong? And it look like that (I'm on mobile and i can make screenshot):

Last post

some theme...
Date
K
r
a
l
j

how I can fix that?
Kralj
Kralj
Forumember

Male Posts : 128
Reputation : 6
Language : Croatian || English || HTML
Location : Croatia

Back to top Go down

Can I set few colors in my nick Empty Re: Can I set few colors in my nick

Post by Cassius Dio July 1st 2013, 5:04 pm

Try this:
Code:
$(document).ready(function(){
$('a:contains("Kralj")').replaceWith('
<a href="/u1" style="font-weight: bold;"><span style="color: #0a39f5; display: inline;">K</span><span style="color: #0a2ec4; display: inline;">r</span><span style="color: #092393; display: inline;">a</span><span style="color: #091762; display: inline;">l</span><span style="color: #080c31; display: inline;">j</span></a>
');
});
Cassius Dio
Cassius Dio
Forumember

Male Posts : 581
Reputation : 79
Language : Romanian &English
Location : Yellow Submarine

http://beatles.forummo.com/

Back to top Go down

Can I set few colors in my nick Empty Re: Can I set few colors in my nick

Post by Kralj July 1st 2013, 5:28 pm

now its ok, but if I give name Kralj to same theme it become link on my profile, and colorised like that:

Can I set few colors in my nick Nova_slika

edit: and there is some space between letters
Kralj
Kralj
Forumember

Male Posts : 128
Reputation : 6
Language : Croatian || English || HTML
Location : Croatia

Back to top Go down

Back to top


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