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

Zur Navigation springen Zur Suche springen
keine Bearbeitungszusammenfassung
Zeile 13: Zeile 13:
//, areaHighLighting = {fillStyle: 'rgba(0,0,0,0.35)', strokeStyle: 'yellow', lineJoin: 'round', lineWidth: 2}
//, areaHighLighting = {fillStyle: 'rgba(0,0,0,0.35)', strokeStyle: 'yellow', lineJoin: 'round', lineWidth: 2}
                 , areaHighLighting = {fillStyle: 'rgba(0,0,0,0.1)', strokeStyle: 'red', lineJoin: 'round', lineWidth: 2}
                 , areaHighLighting = {fillStyle: 'rgba(0,0,0,0.1)', strokeStyle: 'red', lineJoin: 'round', lineWidth: 2}
                 , areaHighLightingAll = {fillStyle: 'rgba(0,0,0,0)', strokeStyle: 'dashed', lineJoin: 'round', lineWidth: 2}
                 , areaHighLightingAll = {fillStyle: 'rgba(0,0,0,0)', strokeStyle: 'red', lineJoin: 'round', lineWidth: 2}
//every imagemap that wants highlighting, should reside in a div of this 'class':
//every imagemap that wants highlighting, should reside in a div of this 'class':
, hilightDivMarker = '.imageMapHighlighter'
, hilightDivMarker = '.imageMapHighlighter'
Zeile 82: Zeile 82:
});
});
} else {
} else {
context.clearRect(0, 0, context.canvas.width, context.canvas.height);
//context.clearRect(0, 0, context.canvas.width, context.canvas.height);
}
}
}
}
2.255

Bearbeitungen

Navigationsmenü