Line 48: | Line 48: | ||
] | ] | ||
− | for (var | + | for (var link in links) { |
− | + | $(svg.getElementById(link[0])).hover(function () { | |
− | $(svg.getElementById( | + | |
$(this).css('cursor', 'pointer'); | $(this).css('cursor', 'pointer'); | ||
}, function () { | }, function () { | ||
$(this).css('cursor', 'auto'); | $(this).css('cursor', 'auto'); | ||
− | }).click(function() {window.location.href = | + | }).click(function() {window.location.href = link[1];}); |
} | } | ||
} | } |
Revision as of 13:28, 28 October 2017