How can I make the Tool Tip to be in several rows:
1 - Bad
2 - Poor
3 - Average
etc.
1 - Bad
2 - Poor
3 - Average
etc.
<div>
<input class="hover-star" type="radio" name="test-3B-rating-1" value="1" title="Very poor"/>
<input class="hover-star" type="radio" name="test-3B-rating-1" value="2" title="Poor"/>
<input class="hover-star" type="radio" name="test-3B-rating-1" value="3" title="OK"/>
<input class="hover-star" type="radio" name="test-3B-rating-1" value="4" title="Good"/>
<input class="hover-star" type="radio" name="test-3B-rating-1" value="5" title="Very Good"/>
<span id="hover-test" style="margin:0 0 0 20px;">Hover tips will appear in here</span>
</div>
</div>
<div class="Clear">
<pre class="code"><code class="js">$('.hover-star').rating({
focus: function(value, link){
var tip = $('#hover-test');
tip[0].data = tip[0].data || tip.html();
tip.html(link.title || 'value: '+value);
},
blur: function(value, link){
var tip = $('#hover-test');
$('#hover-test').html(tip[0].data || '');
}
});</code></pre>
</div>