Adding events: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary  | 
				A WASSERMANN (talk | contribs) No edit summary  | 
				||
| Line 1: | Line 1: | ||
<html>  | <html>  | ||
<p id="myOutput"></p>  | <p id="myOutput"> </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 = ' ';},    | ||
              myPoint);  |               myPoint);  | ||
myPoint.hasPoint = function(){return false; };  | myPoint.hasPoint = function(){return false; };  | ||
Revision as of 11:24, 28 July 2010