Hello,

I am using jquery.tooltip.js to add tooltips to select options.  The
problem that occurs is that the tooltip doesn't appear relative to the
mouse.  I have tried a number of top and left settings, but have not
had any luck.

$('selector')tooltip({
            bodyHandler: function(){
                var _data = this.tooltipText.split(';');
                alert
                var _h3 = _data[0];
                var _body = _data[1].split('|');
                var _out = '<h3>' + _h3 + '</h3><ul>';
                for (_i = 0; _i < _body.length; _i++) {
                    _out += '<li>' + _body[_i] + '</li>';
                }
                _out += '</ul>';
                return _out;
            },
            left: 50
        });

Thanks,

Aaron

Reply via email to