G-Earth/out/artifacts/G_Earth/G_Earth.html

44 lines
1.1 KiB
HTML
Raw Normal View History

<html><head>
<SCRIPT src="http://java.com/js/dtjava.js"></SCRIPT>
<script>
function launchApplication(jnlpfile) {
dtjava.launch( {
url : 'G_Earth.jnlp'
},
{
javafx : '8.0+'
},
{}
);
return false;
}
</script>
<script>
function javafxEmbedG_Earth_id() {
dtjava.embed(
{
id : 'G_Earth_id',
url : 'G_Earth.jnlp',
placeholder : 'javafx-app-placeholder',
width : '600',
height : '400'
},
{
javafx : '8.0+'
},
{}
);
}
<!-- Embed FX application into web page once page is loaded -->
dtjava.addOnloadCallback(javafxEmbedG_Earth_id);
</script>
</head><body>
<h2>Test page for <b>G-Earth2</b></h2>
<b>Webstart:</b> <a href='G_Earth.jnlp' onclick="return launchApplication('G_Earth.jnlp');">click to launch this app as webstart</a><br><hr><br>
<!-- Applet will be inserted here -->
<div id='javafx-app-placeholder'></div>
</body></html>