jQuery: How to divide text-string in half and make one half in different color?
<p>Hello Stackoverflow family :)</p>

<p>I'm in need of a simple jQuery script, but since I'm a beginner in jQuery yet.. Then I cannot figure this out myself :( And there is no such script yet or I just don't know the correct term to search.</p>

<p>Idea is very simple. My designer designs h1 tags with two colors. For example: "Why use mysite.com?" then [mysite.com?] is with different color. I can see the technical solution as being triggered by $("h1.title") and the script would calculate how many words there are. Then divide by 2 and make one half different color with append container around them or something.</p>

<p>How to make this happen?</p>

<p>Kalle</p>
