jsme Applet
unknown
html
4 years ago
797 B
9
Indexable
<script type="text/javascript" language="javascript" src="https://chemapps.stolaf.edu/jmol/jsmol/jsme/jsme/jsme.nocache.js"></script>
<script type="text/javascript">
//this function will be called after the JavaScriptApplet code has been loaded.
function jsmeOnLoad() {
jsmeApplet = new JSApplet.JSME("appletContainer", "380px", "340px", {
//optional parameters
"options" : "query,hydrogens"
});
//jsmeApplet has the same API as the original Java applet
//One can mimic the JME Java applet access to simplify the adaptation of HTML and JavaScript code:
document.JME = jsmeApplet;
}
</script>
<body>
<table align="center">
<tr>
<td id="appletContainer"></td>
</tr>
</table>
<form action="/project/17">
<input type="submit" value="Submit">
</form>
</body>Editor is loading...