現時点では、ホバーとクリックでほろ酔いを動作させようとしています。しかし、これが可能かどうかはわかりません… 他のツールを使用するのは非常に不便です。
トリガー: 'manual' はまったく反応しません。それは可能ですか、それとも本当に他のツールを使用する必要がありますか?
これはコードの一部です:
function initializeMouseEvents() { $('.channel-hover').each(function() {
$('svg circle, svg path').tipsy({
gravity: 's',
trigger: 'manual',
html: true,
title: 'data-tipsy'
});
var dataChannel = $(this).attr('data-channel');
$(this).bind('mouseover', function() {
if ($(this).attr('data-channel').length) {
effectVisualisation.highlightChannel(dataChannel);
costVisualisation.highlightChannel(dataChannel);
}
}).bind('mouseout', function() {
if ($(this).attr('data-channel').length) {
effectVisualisation.normalizeChannel(dataChannel);
costVisualisation.normalizeChannel(dataChannel);
}
});
});
}