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,[ | infobox.coords = new JXG.Coords(JXG.COORDS_BY_SCREEN,[brd.mousePosRel[0]+20,brd.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'; |