[Help] Rainbow user name and other

Thảo luận trong 'Style & Template Questions' bắt đầu bởi p3iu18, 17/8/13.

1votes
5/5, 1 vote

  1. p3iu18

    p3iu18 Member

    Bài viết:
    298
    Likes :
    123
    Em muốn tạo Rainbow cho user. Vào xenforo.com thì tìm ra được cái này mà no 1 toàn tiếng Anh đọc ko hiểu nên lên đây nhờ mọi người giúp đỡ :P
    Demo : 41999-2b089506544ab7c96c0c7e6a57d2fff9

    Trích :

    Well you can do the CSS part via the admin panel (I don't believe there's a need for span)

    admin cp > users tab > list user groups > (the group you want to change) > Username CSS
    -change the css to whatever is needed to achieve the rainbow text
    Then go to templates and use
    Code:
    <xen:require js="/js/YourCustomFolderName/rainbowTextSCRIPT.js" />
    to include the rainbow .js file and script to execute the colors... I'm not sure of the right place to put it, but I'd probably go with page container or header/footer templates since those are consistently on every page.

    Be sure to upload the .js file to your xenforo install/JS/YourCustomFolderName/

    Quick google produces this for rainbow text :)

    http://rainbowcoding.com/how-to-create-rainbow-text-in-html-css-javascript/
     
    Last edited: 17/8/13
    Đang tải...
comments powered by Disqus

Chia sẻ trang này

Đang tải...