Adapt highlighting of objects: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
Line 3: Line 3:
     style="
     style="
         display:block;
         display:block;
         position:absolute;  
         /*position:absolute; */
         background-color:#ffff88;
         background-color:#ffff88;
         padding:10px;
         padding:10px;
Line 22: Line 22:


var c = brd.create('circle',[p2,p3]);
var c = brd.create('circle',[p2,p3]);
 
/*
var infobox = document.getElementById('myinfobox');
var infobox = document.getElementById('myinfobox');
JXG.Line.prototype.highlight = function(){
JXG.Line.prototype.highlight = function(){
Line 42: Line 42:
     infobox.style.display = 'none';
     infobox.style.display = 'none';
}
}
 
*/
</jsxgraph>
</jsxgraph>



Revision as of 16:18, 18 December 2009

fsfsfsfsfs

The JavaScript code