2.255
Bearbeitungen
KMA (Diskussion | Beiträge) |
KMA (Diskussion | Beiträge) |
||
Zeile 24: | Zeile 24: | ||
function drawMarker(context, areas) { // this is where the magic is done. | |||
function drawPoly(coords) { | function drawPoly(coords) { | ||
Zeile 49: | Zeile 49: | ||
var $this = $(this), | var $this = $(this), | ||
context = $this.data('context'), | context = $this.data('context'), | ||
activate = e.type == 'mouseover', | |||
li = $this.prop('tagName') == 'LI'; | li = $this.prop('tagName') == 'LI'; | ||
if (li && activate) { // in this case, we need to test visibility vis a vis scrolling | if (li && activate) { // in this case, we need to test visibility vis a vis scrolling |