0
我想通過taggd jQuery插件(link)在jsfiddle http://jsfiddle.net/nlatin/36zya6bu中獲得工作示例。 有人可以得到這個運行?代碼的試圖運行jquery taggd插件
部分:
var options = {
align: {
y: 'bottom'
},
offset: {
top: -35
},
handlers: {
mouseenter: 'show',
mouseleave: 'hide'
}
});
var data = [
// pixel-based coordinates
{ x: 200, y: 220, text: 'Test' },
// 0-1 coordinates
{ x: 0.431, y: 0.33, text: 'Test2' },
{ x: 0.468, y: 0.28, text: 'Test3' }
]);
$(window).load(function() {
$('.taggd').taggd(options, data);
});