The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Multi Colored username Screwd up.

View previous topic View next topic Go down

Solved Multi Colored username Screwd up.

Post by Spyro Dragon™ on December 21st 2014, 1:23 pm

Hello I added this to a new javaScript Page..

$(function(){
multiColor(1, '<strong><font color="#ffffff">Sp</font><font color="#00ffff">yr</font><font color="#666666">o</font><font color="#00ffff"> ▀█▀ </font><font color="#ffffff">Dr</font><font color="#00ffff">ag</font><font color="#666666">on</font></strong>');

function multiColor(id, html){$('a[href="/u'+id+'"]').not(function(){return $("img",this)[0]}).html(html)}
});


And then it put my username in the messages twice ,, once on top and on the bottom...
Can you guys help me fix this to where it was back to normal of just having the username on the top and not at the bottom too?

Spyro Dragon™
Forumember

Male Posts : 202
Reputation : 2
Language : English

http://SpyroDragon.com

Back to top Go down

Solved Re: Multi Colored username Screwd up.

Post by _Twisted_Mods_ on December 21st 2014, 7:45 pm

replace

a[href="/u'+id+'"]

with

Code:
a[href="/u'+id+'"] strong

_Twisted_Mods_
Helper
Helper

Male Posts : 2032
Reputation : 302
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Multi Colored username Screwd up.

Post by Spyro Dragon™ on December 22nd 2014, 5:38 am

Solved

Spyro Dragon™
Forumember

Male Posts : 202
Reputation : 2
Language : English

http://SpyroDragon.com

Back to top Go down

Solved Re: Multi Colored username Screwd up.

Post by Ange Tuteur on December 22nd 2014, 10:29 am

Thanks for the help, twisted.

Topic archived

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


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