forked from geogebra/integration
-
Notifications
You must be signed in to change notification settings - Fork 0
/
example-geometry.html
67 lines (54 loc) · 2.91 KB
/
example-geometry.html
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE html>
<html>
<head>
<title>Apps Integration</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="navigation.js"></script>
</head>
<body>
<div class="contentBox" id="contentBox">
<h1>Apps Integration</h1>
<p><br><a class="appBtn app-icon-graphing" id="app_graphing" href="example-graphing.html">Graphing</a>
<a class="appBtn app-icon-geometry active" id="app_geometry" href="example-geometry.html">Geometry</a>
<a class="appBtn app-icon-scientific" id="app_scientific" href="example-scientific.html">Scientific</a>
<a class="appBtn app-icon-cas" id="app_cas" href="example-cas.html">CAS</a>
<a class="appBtn app-icon-3d" id="app_3d" href="example-3d.html">3D</a>
<a class="appBtn app-icon-classic" id="app_classic" href="example-tools.html">Classic</a>
<br><br>
<a class="appBtn noimage" id="app_editor" href="example-editor.html">Equation Editor</a></p>
<h5>Geometry</h5>
<p class="text">GeoGebra Geometry can be embedded as an app. Preloading a resource is optional. <br>
For details about customization please refer to <a class="inlineLink" target="_blank" href="https://geogebra.github.io/docs/reference/en/GeoGebra_App_Parameters/">Documentation</a>. <br>
For details about the app have a look at <a class="inlineLink" target="_blank" href="https://www.geogebra.org/m/DmVNbn2V">Learn Geometry</a>.</p>
<script type="text/javascript" src="https://www.geogebra.org/apps/deployggb.js"></script>
<script type="text/javascript">
function perspective(p){
ggbApplet.setPerspective(p);
}
var parameters = {
"id":"ggbApplet",
"appName":"geometry",
"width":800,
"height":550,
"showToolBar":true,
"borderColor":null,
"showMenuBar":true,
"allowStyleBar":true,
"showAlgebraInput":true,
"enableLabelDrags":false,
"enableShiftDragZoom":true,
"capturingThreshold":null,
"showToolBarHelp":false,
"errorDialogsActive":true,
"showTutorialLink":true,
"showLogging":true,
"useBrowserForJS":false};
var applet = new GGBApplet(parameters, true);
// when used with Math Apps Bundle, uncomment this:
// applet.setHTML5Codebase('GeoGebra/HTML5/5.0/web3d/');
window.onload = function() { applet.inject('applet_container'); }
</script>
<p> <div id="applet_container"></div></p>
</div>
</body>
</html>