Difference between revisions of "Browser test"

From JSXGraph Wiki
Jump to navigationJump to search
(New page: <jsxgraph width="500" height="500"> (functon(){ var brd = JXG.JSXGraph.initBoard('jxgbox', {-1,5,5,-1}); brd.create('text',[0,0, function(){ return navigator.appVersion; }], {fontSize:...)
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<jsxgraph width="500" height="500">
 
<jsxgraph width="500" height="500">
(functon(){
+
(function(){
   var brd = JXG.JSXGraph.initBoard('jxgbox', {-1,5,5,-1});
+
   var brd = JXG.JSXGraph.initBoard('jxgbox', { boundingbox:[-1,5,5,-1]});
   brd.create('text',[0,0, function(){ return navigator.appVersion; }], {fontSize:'200%'});
+
   brd.create('text',[-0.5,2, function(){ return navigator.appVersion; }], {fontSize:'100%'});
 +
  brd.create('text',[-0.5,0, function(){ return JXG.JSXGraph.rendererType; }], {fontSize:'100%'});
 +
})();
 
</jsxgraph>
 
</jsxgraph>
  
 
[[Category:Examples]]
 
[[Category:Examples]]
 +
[[Category:Text]]

Latest revision as of 17:27, 10 January 2013