jsme-editor / jsme-editor.github.io

73 stars 19 forks source link

missing examples, broken examples #38

Open steto123 opened 9 months ago

steto123 commented 9 months ago

Hello,

i can not find some examples like JSME_minimal3.html. And unfortunately the example given as code

<html>

<head>
<script type="text/javascript" language="javascript" src="jsme/jsme.nocache.js"></script>

<script>
 //this function will be called after the JavaScriptApplet code has been loaded.
    function jsmeOnLoad() {
        jsmeApplet = new JSApplet.JSME("jsme_container", "380px", "340px", {
            "options" : "oldlook,marker"
            });
</script>
</head>
<body>
<div id="jsme_container"></div>

<button type="button" onclick="alert(jsmeApplet.smiles())">Show SMILES</button>
</body>
</html>

I think, the options is the problem. Removing this with the {} works. Can you help?

Thanks

jsme-editor commented 2 months ago

I think that the function jsmeOnLoad in the code above is missing a closing "}".