Adapt highlighting of objects: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 11: Line 11:


JXG.Line.prototype.highlight = function(){
JXG.Line.prototype.highlight = function(){
    infobox.coords = new JXG.Coords(JXG.COORDS_BY_SCREEN,[this.board.mousePosRel[0]+20,this.board.mousePosRel[1]+20]);
     //infobox.plainTextStr = this.name;
     //infobox.plainTextStr = this.name;
     //infobox.setPosition = (this.board.mousePosAbs[0]+20)+'px';
     //infobox.setPosition = (this.board.mousePosAbs[0]+20)+'px';

Revision as of 16:31, 18 December 2009

The JavaScript code