jquery: MakeWordsInThisBigWordWithDifferentColors

Posted by Omu on Stack Overflow See other posts from Stack Overflow or by Omu
Published on 2010-06-10T07:41:38Z Indexed on 2010/06/10 7:42 UTC
Read the original article Hit count: 145

Filed under:
|
<div class="Colorize">
SomeBigWordThatIsFormedFromOtherWords
</div>

is it possible to make each word of a different color, like to transform it into something like this:

    <span style="color:red">Some</span>
    <span style="color:blue">Big</span> etc.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about jquery-ui