次のコードは、jQueryqTip2プラグインを使用してツールチップを作成します。Firefoxでは正しく機能しますが、Chromeではツールチップがビューポートの左上にバインドされます。ie8ではまったく機能しませんが、それが別の問題であると仮定すると...
$("option").qtip({
content: {
text: function() {
return $(this).attr('title');
}
},
position: {
my: 'right center',
at: 'left center',
target: this,
viewport: $(window)
},
show: {
solo:true
}
});
これが動作を示すjsfiddleです