<script LANGUAGE="JavaScript1.1" SRC="../../../marvin.js"></script> <script LANGUAGE="JavaScript1.1"> <!-- // marvin_jvm = "builtin"; // "builtin" or "plugin" mview_begin("../../..", 200, 200); //arguments: codebase, width, height // you could also use the mview_begin("../../..", 200, 200, true ); function call to load the applet without splash screen. mview_param("mol", "../../../mols-2d/caffeine.mol"); mview_end(); //--> </script>
The traditional applet tag for MarvinView and the built-in JVM is the following:
<applet CODEBASE="../../.." ARCHIVE="appletlaunch.jar" CODE="JMViewLaunch" WIDTH=200 HEIGHT=200> <param NAME="mol" VALUE="../../../mols-2d/caffeine.mol"> <strong>Your browser does not support the applet tag.</strong> </applet>
The next example shows how to load molecules from an SD file to a molecule table.