Difference between revisions of "Adapt highlighting of objects"

From JSXGraph Wiki
Jump to navigationJump to search
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 17:16, 18 December 2009

The JavaScript code