I'm trying to implement a bit of gsap in here, perhaps a autoAlpha when I hover the pin.
The issue I'm having is that the text doesn't seems to be next to the pin correctly.
- when I hover the pin with the mouse, the text should follow the mouse and it should be next to it.
I hope it makes sense.
window.onmousemove = function (e) {
var x = e.clientX,
y = e.clientY,
i, l = tooltipSpans.length;
for(i = 0; i &l
I'm trying to implement a bit of gsap in here, perhaps a autoAlpha when I hover the pin.
The issue I'm having is that the text doesn't seems to be next to the pin correctly.
- when I hover the pin with the mouse, the text should follow the mouse and it should be next to it.
I hope it makes sense.
window.onmousemove = function (e) {
var x = e.clientX,
y = e.clientY,
i, l = tooltipSpans.length;
for(i = 0; i &l