<script type="text/javascript" SRC="../../../marvin.js"></script> <script type="text/javascript"> <!--// 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 can be used the following way:
Description of the used parameters:<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.