File: text.xhtml

package info (click to toggle)
jsxgraph 0.99.5%2Bdfsg1-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 25,808 kB
  • sloc: xml: 5,869; java: 1,072; python: 710; php: 363; makefile: 159; sh: 47
file content (27 lines) | stat: -rw-r--r-- 789 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?xml version="1.0" encoding="UTF-8"?><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Texts</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="../../distrib/jsxgraph.css" type="text/css"/>
<script type="text/javascript" src="../../distrib/jsxgraphsrc.js"></script>
</head>
<body>
<section>
<header>
<h1>XHTML text test</h1>
</header>
<figure>
<div id="jxgbox1" class="jxgbox" style="width:600px; height:300px;"></div>
</figure>
</section>
<script type="text/javascript">
<![CDATA[

JXG.Options.text.display = 'internal';
var brd = JXG.JSXGraph.initBoard('jxgbox1', {boundingbox:[0,10,10,0], axis:false, showNavigation: true});
var s = brd.create('text', [5, 5, 'XHTML test'], {fontSize:36});

]]>
</script>

</body></html>