Map with German electoral districts: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 48: Line 48:
                     strokeWidth:1,strokeColor:'black',highlightStrokeColor:'black'});
                     strokeWidth:1,strokeColor:'black',highlightStrokeColor:'black'});


     JXG.addEvent(graph.rendNode, 'mouseover', function(){graph.highlight(); wahlkreisNode.nodeValue=area[1];}, graph);
     JXG.addEvent(graph.rendNode, 'mouseover', function(){graph.highlight(); /*wahlkreisNode.nodeValue=area[1];*/}, graph);
     JXG.addEvent(graph.rendNode, 'mouseout', function(){graph.noHighlight();}, graph);
     JXG.addEvent(graph.rendNode, 'mouseout', function(){graph.noHighlight();}, graph);
     graph.hasPoint = function(){return false; };
     graph.hasPoint = function(){return false; };

Revision as of 09:46, 19 October 2009