Adapt highlighting of objects: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) 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'; |