mirror of
https://github.com/leaningtech/cheerpj-meta.git
synced 2025-03-15 01:54:48 +01:00
45 lines
1.1 KiB
HTML
45 lines
1.1 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<title>Pitch applet (CheerpJ)</title>
|
|
<script src="https://cjrtnc.leaningtech.com/3.1/cj3loader.js"></script>
|
|
</head>
|
|
<style>
|
|
div {
|
|
max-width: 500px;
|
|
margin: auto;
|
|
text-align: center;
|
|
}
|
|
h1 {
|
|
margin-bottom: 50px;
|
|
}
|
|
h5 {
|
|
margin-top: 20px;
|
|
}
|
|
</style>
|
|
|
|
<body>
|
|
<div>
|
|
<h1>Applet example with CheerpJ</h1>
|
|
<div>
|
|
<cheerpj-applet archive="Pitch.jar" code="Pitchview" height="300" width="500">
|
|
Your browser cannot handle the applet tag!
|
|
</cheerpj-applet>
|
|
</div>
|
|
<h5>
|
|
The applet shown in this example belongs to the NASA's <a
|
|
href="https://www.grc.nasa.gov/WWW/K-12/airplane/">Beginner's Guide to Aeronautics</a> and it is available at
|
|
their <a href="https://github.com/nasa/BGA/tree/main">GitHub repository</a>.
|
|
</h5>
|
|
<h5>Applet is running with <a href="https://labs.leaningtech.com/cheerpj3">CheerpJ</a> by <a
|
|
href="https://leaningtech.com/">©Leaning Technologies</a></h5>
|
|
</div>
|
|
<script type="module">
|
|
await cheerpjInit();
|
|
</script>
|
|
</body>
|
|
|
|
</html>
|