Debian Codegraph @

examples/Tracenpoche/testcases.html

raw ◀ ▶
1 Debian patch touch this file
1 <html>
2 <head>
3 <title>Tracenpoche test cases in JSXGraph</title>
•4 <link rel="stylesheet" type="text/css" href="/jsxgraph/distrib/jsxgraph.css" />
5 <script type="text/javascript" src="/javascript/prototype/prototype.js"></script>
6 <script type="text/javascript" src="../../distrib/jsxgraphcore.js"></script></head>
7 <script type="text/javascript" src="../../src/reader/tracenpoche.js"></script></head>
8 <body>
9 <h2>Tracenpoche test cases in JSXGraph</h2>
10 <form><input type='button' value='Show script' onclick='board.showXML()'></form>
11 <div id="jxgbox" class="jxgbox" style="width:700px; height:700px;"></div>
12 <div id="debug" style="display:block; margin-top:20px"></div>
13 <script type="text/javascript">
14 /* <![CDATA[ */
15 fname = 'polygon.txt';
16 //fname = 'point.txt';
17
18 $('debug').innerHTML = fname+'<br>';
19 board = JXG.JSXGraph.loadBoardFromFile('jxgbox', fname , 'Tracenpoche');
20 /* ]]> */
21 </script>
22 </body>
23 </html>