-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
73 lines (69 loc) · 3.66 KB
/
index.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
68
69
70
71
72
73
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="chrome=1"></meta>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
<meta name="language" content="english"></meta>
<meta http-equiv="Content-Style-Type" content="text/css"></meta>
<meta http-equiv="Content-Script-Type" content="text/javascript"></meta>
<title>ConveX3D Earth</title>
<link rel="icon" href="img/favicon.png" type="image/png"></link>
<link rel="stylesheet" type="text/css" href="css/x3dom.css"></link>
<link rel="stylesheet" type="text/css" href="css/earth.css"></link>
<script type="text/javascript" src="js/x3dom.js"></script>
<script type="text/javascript" src="js/xslTransformer.js"></script>
<script type="text/javascript" src="js/earthEventHandler.js"></script>
<script type="text/javascript" src="js/wikiEventHandler.js"></script>
<script type="text/javascript" src="js/mainPageEventHandler.js"></script>
</head>
<body onload="MainPage.initConvexedEarth();">
<div id="title">
<h1>ConveX3D Earth</h1>
</div>
<div id="container">
<!-- The three-dimensional earth is defined here -->
<X3D id="earth" xmlns="http://www.web3d.org/specifications/x3d-namespace" showStat="false" showLog="false"
showProgress="true" disableDoubleClick="true" disableRightDrag="true">
<!-- The buttons for interacting with the earth -->
<div id="tools">
<button id="resetButton" onclick="Earth.resetView();">Reset view</button>
<button id="resolutionButton" onclick="Earth.toggleResolution(this);">High resolution</button>
<button id="boundariesButton" onclick="Earth.toggleCountryBoundaries(this);">Country boundaries</button>
<button id="capitalsButton" onclick="Earth.toggleCapitalPins(this);">Display capitals</button>
</div>
<Scene>
<NavigationInfo headLight="true" type="turntable" typeParams="0.0 0.0 0.1 3.0" explorationMode="rotate"></NavigationInfo>
<!-- The camera positions for switching back and forth for a smooth animation -->
<Viewpoint id="view1"></Viewpoint>
<Viewpoint id="view2"></Viewpoint>
<Transform>
<Shape>
<Appearance>
<ImageTexture id="earthTexture" url="img/blue_marble_low.jpg"></ImageTexture>
</Appearance>
<Sphere></Sphere>
</Shape>
</Transform>
<Group id="capitalPins" render="false">
<!-- Content for the capital pins is generated by mainPageEventHandler.js -->
</Group>
</Scene>
</X3D>
</div>
<div id="countryTable">
<!-- Content for the country table is generated by mainPageEventHandler.js -->
</div>
<div id="iframe_container">
<div id="info">
<object data="info.html" type="text/plain">
</object>
</div>
<div id="wiki">
<iframe id="wikiFrame" frameborder="0" src="">
</iframe>
</div>
<a id="outlink" href="" target="_blank">Full Wiki Page</a>
</div>
</body>
</html>