Multi Colored username Screwd up.

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?
666666 - Multi Colored username Screwd up. More_p10
Spyro Dragon™
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_
_Twisted_Mods_
Helper
Helper

Male Posts : 2106
Reputation : 333
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™
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
Ange Tuteur
Forumaster

Male Posts : 13223
Reputation : 2961
Language : EN, JA, FR
Location : Macungie, PA

https://sethclydesdale.github.io/

Back to top Go down

Back to top


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