http://jsfiddle.net/HJf8q/2/ takie coś znalazłem ale nie mogę sobie poradzić aby to tchnąć do działania
może ktoś pomoże i mnie nakieruje co i gdzie a możę inaczej
#strt #end tym chciałem tego dokonać
#START var tooltipSpan = document.getElementById('map-tooltip'); window.onmousemove = function (e) { var x = e.clientX, y = e.clientY; tooltipSpan.style.top = (y + 20) + 'px'; tooltipSpan.style.left = (x + 20) + 'px'; }; #END $('#map-poland .label').on({ mouseenter : function() { $this = $(this); $liWoj = $(this).parent('li'); $txt = $liWoj.find('a').text(); $w = $this.outerWidth(); $s = $this.outerHeight(); console.log($txt); $liWoj.addClass('focus'); },
albo moze do top i left dodać pozycje kursora /?
