Words before nick problem
3 posters
Page 1 of 1
Words before nick problem
Hi all,
I'm writte and using this code for word before nick (on rpg, for general, admirals...) but word is bold like nick. I would like to it be normall, and nick bold, I'm try code <tt>, but then I have space between letters. Does anybody know how to fix that?
I'm writte and using this code for word before nick (on rpg, for general, admirals...) but word is bold like nick. I would like to it be normall, and nick bold, I'm try code <tt>, but then I have space between letters. Does anybody know how to fix that?
- Code:
$(function() {
if($('a[href="/u120"] span strong')){
$('a[href="/u120"] span strong').before('<font color=#ffffff size=1>General </font>');
}
});
Last edited by Zyon on August 26th 2013, 4:46 pm; edited 1 time in total
Re: Words before nick problem
Please post a link to a post that guests can see that has an username with a word before.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Words before nick problem
It is in "all pages":
forum: http://avatar.forumhr.com/
post: http://avatar.forumhr.com/t5-karakteri-aplikacije-za-ispuniti
forum: http://avatar.forumhr.com/
post: http://avatar.forumhr.com/t5-karakteri-aplikacije-za-ispuniti
Re: Words before nick problem
Bump, have there way to do that, or not, if have can somebody help me? I really need help with that.
Re: Words before nick problem
In any "if" need to be and "else" and you don't have that , my suggestion is tu use only jQuery :
- Code:
jQuery(document).ready(function() {
$('a[href="/u2"] span strong ').before('General');
});
Re: Words before nick problem
I know that, but I want "General" not be strong.
Your code don't helping me.
Your code don't helping me.
Re: Words before nick problem
- Code:
jQuery(document).ready(function() {
$('a[href="/u2"] span strong ').before('<div class="gen">General</div>');
});
- Code:
.gen{
display:inline;
font-weight:400!important;
}
Re: Words before nick problem
Topic Solved & Locked
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum