Multi Colored username Screwd up. Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

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.
3 posters

    Multi Colored username Screwd up.

    Spyro Dragon™
    Spyro Dragon™
    Forumember


    Male Posts : 202
    Reputation : 2
    Language : English

    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
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    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
    Spyro Dragon™
    Spyro Dragon™
    Forumember


    Male Posts : 202
    Reputation : 2
    Language : English

    Solved Re: Multi Colored username Screwd up.

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

    Solved
    Ange Tuteur
    Ange Tuteur
    Forumaster


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

    Solved Re: Multi Colored username Screwd up.

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

    Thanks for the help, twisted.

    Topic archived