Adapt highlighting of objects: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 2: Line 2:
<div id="myinfobox"  
<div id="myinfobox"  
     style="
     style="
         display:none;
         display:block;
         position:absolute;  
         position:absolute;  
         background-color:#ffff88;
         background-color:#ffff88;
Line 31: Line 31:
}
}
JXG.Line.prototype.noHighlight = function(){
JXG.Line.prototype.noHighlight = function(){
     infobox.style.display = 'none';
     infobox.style.display = 'block';
}
}
c.highlight = function(){
c.highlight = function(){

Revision as of 16:16, 18 December 2009

The JavaScript code