MediaWiki:Imagemap-Hightlight.js: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
KMA (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
KMA (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
| Zeile 8: | Zeile 8: | ||
// "2d context" attributes used for highlighting. | // "2d context" attributes used for highlighting. | ||
//, 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, | , areaHighLighting = {fillStyle: 'rgba(0,0,FF,0.1)', strokeStyle: 'black', 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' | ||