Difference between revisions of "Adding events"
From JSXGraph Wiki
Jump to navigationJump to searchA WASSERMANN (talk | contribs) |
A WASSERMANN (talk | contribs) |
||
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 13:24, 28 July 2010