mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2024-11-27 02:40:51 +01:00
44 lines
1.1 KiB
HTML
44 lines
1.1 KiB
HTML
<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>
|