MediaWiki:Imagemap-Hightlight.js: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
keine Bearbeitungszusammenfassung
Zeile 24: Zeile 24:
   
   
   
   
function drawMarker(context, areas) { // this is where the magic is done.
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'),
$.extend(context, areaHighLighting);
activate = e.type == 'mouseover',
                        activate = e.type == 'mouseenter';
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
2.255

Bearbeitungen

Navigationsmenü