I'm trying to convert an old Tips plugin from Mootools to jQuery: http://flowplayer.org/tools/tooltip/index.html
Everything's in working order, except I'm having trouble re-styling the value of the attribute in the HTML line. For instance, I might have:
<img src="/link/to/image.jpg" class="Tips2" title="Header Line :: Description Paragraph Here" />
The effect works perfectly fine, except I want to have the "Header Line" portion stylized with CSS one way, and the "Description Paragraph Here" portion stylized with CSS another way. I'm still fairly new to javascript and am not sure how to select these two patterns to apply a css class to them.
The original Mootools script I converted from came with this feature prepackaged (so that the pattern you see in the above HTML was already linked to the classes ".tool-title" for the "Header Line", and ".tool-text" for the "Description Paragraph Here").
How can I do this in jQuery?