Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Jun 2012
    Location
    London
    Posts
    640
    Tokens
    2,693
    Habbo
    Chug!

    Latest Awards:

    Default How to do two colour user name - Code?

    How do I create a two colour span code for text using PHP?

    I've tried using Javascript but just can't get it to work!

    Anyone?

  2. #2
    Join Date
    Jun 2009
    Location
    Newcastle Upon Tyne, UK
    Posts
    2,652
    Tokens
    1,389
    Habbo
    lRhyss

    Latest Awards:


  3. #3
    Join Date
    Feb 2013
    Posts
    2,534
    Tokens
    13,046

    Latest Awards:

    Default

    @Chippiewill; @Drew; @:Markster:;
    I've heard people talk about it and I believe it is done with Javascript at Habbox

  4. #4
    Join Date
    Apr 2014
    Location
    Constantinople , Turkey
    Posts
    138
    Tokens
    197

    Latest Awards:

    Default

    How would it work with javascript? It couldnt work in the name color field since html is not enabled javascript surely isnt allowed.

  5. #5
    Join Date
    May 2007
    Posts
    10,481
    Tokens
    3,140

    Latest Awards:

    Default

    Set div tag to something sensible and stick a js file in the header like this one:
    http://www.habboxforum.com/clientscr...nator_names.js

  6. #6
    Join Date
    Oct 2005
    Location
    Spain, Valencia
    Posts
    20,492
    Tokens
    3,575
    Habbo
    GoldenMerc

    Latest Awards:

    Default

    Quote Originally Posted by Chippiewill View Post
    Set div tag to something sensible and stick a js file in the header like this one:
    http://www.habboxforum.com/clientscr...nator_names.js
    /* BY HOTELUSER FOR HABBOXFORUM.COM
    WHY DO YOU WANT TO STEAL FROM US YOU JERK! */
    Hey its your twin

  7. #7
    Join Date
    Jun 2012
    Location
    London
    Posts
    640
    Tokens
    2,693
    Habbo
    Chug!

    Latest Awards:

    Default

    Quote Originally Posted by lRhyss View Post
    Thanks ! i've seen rainbow, I was more on about two coloured only. Thanks though, got it now!

    Quote Originally Posted by Chippiewill View Post
    Set div tag to something sensible and stick a js file in the header like this one:
    http://www.habboxforum.com/clientscr...nator_names.js

    Thanks!

  8. #8
    Join Date
    Jun 2012
    Location
    London
    Posts
    640
    Tokens
    2,693
    Habbo
    Chug!

    Latest Awards:

    Default

    still can't get it to work fnsdinf

  9. #9
    Join Date
    Apr 2006
    Location
    Leamington Spa
    Posts
    1,375
    Tokens
    72

    Latest Awards:

    Default

    What exactly are you trying to do (yes I've read the thread)? Can you post some code so that we can see what you're trying to achieve, or maybe even make a mockup in MSPaint?
    i've been here for over 8 years and i don't know why

  10. #10
    Join Date
    Nov 2008
    Posts
    217
    Tokens
    1,822
    Habbo
    eLv

    Latest Awards:

    Default

    Something like that in jquery? http://jsfiddle.net/7epZj/






Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •