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.

Multi Colored username Screwd up.

3 posters

Go down

Solved Multi Colored username Screwd up.

Post by Spyro Dragon™ 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?
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_ 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 : 2108
Reputation : 336
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Multi Colored username Screwd up.

Post by Spyro Dragon™ 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 December 22nd 2014, 10:29 am

Thanks for the help, twisted.

Topic archived
Ange Tuteur
Ange Tuteur
Forumaster

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

https://fmdesign.forumotion.com

Back to top Go down

Back to top

- Similar topics

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