File: text.xhtml

package info (click to toggle)
jsxgraph 1.10.1%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 24,804 kB
  • sloc: javascript: 82,299; xml: 5,869; java: 1,072; php: 281; makefile: 184; python: 174; cpp: 76; sh: 12
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>