Adding events: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 1: Line 1:
<html>
<html>
<p id="myOutput"></p>
<p id="myOutput">&nbsp;</p>
</html>
</html>
<jsxgraph width="400" height="400">
<jsxgraph width="400" height="400">
Line 10: Line 10:
             myPoint);
             myPoint);
JXG.addEvent(myPoint.rendNode, 'mouseout',  
JXG.addEvent(myPoint.rendNode, 'mouseout',  
             function(){document.getElementById('myOutput').innerHTML = '';},  
             function(){document.getElementById('myOutput').innerHTML = '&nbsp;';},  
             myPoint);
             myPoint);
myPoint.hasPoint = function(){return false; };
myPoint.hasPoint = function(){return false; };

Revision as of 11:24, 28 July 2010