mt/MT.html

43 lines
1.2 KiB
HTML
Raw Normal View History

2017-07-03 20:46:11 -04:00
<html>
<title>Turing Machine</title>
<head>
<script src="https://java.com/js/dtjava.js"></script>
<script>window.dtjava || document.write('<script src="dtjava.js"><\/script>')</script>
<script>
function launchApplication(jnlpfile) {
dtjava.launch({
url: jnlpfile
},
{
javafx: '8.0+'
},
{}
);
return false;
}
</script>
<script>
function javafxEmbedMT_id() {
dtjava.embed(
{
id: 'MT_id',
url: 'MT.jnlp',
placeholder: 'javafx-app-placeholder',
width: '640',
height: '480'
},
{
javafx: '8.0+'
},
{}
);
}
<!-- Embed FX application into web page once page is loaded -->
dtjava.addOnloadCallback(javafxEmbedMT_id);
</script>
</head>
<body>
<!-- Applet will be inserted here -->
<div id='javafx-app-placeholder'></div>
</body>
</html>