Show hover tip on right side

Mar 28, 2011 at 11:02 PM


It is possible to show hover tips on the right side?

Like here:

Mar 29, 2011 at 8:12 AM
Edited Mar 29, 2011 at 8:15 AM

No problem what so ever:



<!DOCTYPE html>
    <title>RateIt with label on the side</title>
    <link href="" rel="stylesheet" type="text/css">
    <script src="" type="text/javascript"></script>
      <div class="rateit">
      <span class="rateit-hover-label">
      <div class="rateit" data-rateit-min="0" data-rateit-max="3" data-rateit-value="2" data-rateit-step="1">
      <span class="rateit-hover-label">
      <script src="" type="text/javascript"></script>
        //now we bind to the hover event of each rateit control on the page
        $('.rateit').bind('hover', function(e, value) {
            var text = "";
            if (value != null)
              text = 'You\'re are now hovering over ' + value;
          //$(this) => the current rateit div
          //.next() => the next element, my span
          //.text() => setting the text of the span with the value retrieved that was passed as the second parameter.