User fb3a24b4fd
01-10-2006 21:36:35
I'm developing a molecular viewing website and want to embed Marvin Sketch and associated applets on the site.
I've downloaded the full version of marvin and copied the whole directory to my webserver under a directory called "script". I've created a webpage in the root with the following code ...
<script LANGUAGE="JavaScript1.1" SRC="script/marvin.js"></script>
<script LANGUAGE="JavaScript1.1">
<!--
msketch_begin("script", 700, 460);
msketch_param("background", "#aaaaff");
msketch_param("molbg", "#ffffff");
msketch_end();
//-->
</script>
... and Marvin Sketch loads fine - excellent!
My questions are ...
1. Exactly which files from the full download do I actually need to have on the webserver to enable all the functions? Are there any files / directories I can delete?
2. If I create a diagram in the canvas and select View>Open Marvin Space, the header bar says "Marvin Space 1.3.1 DEMO VERSION". I have applied for an academic licence - how do I convert the DEMO VERSION into a full version - i.e. how do I 'register' marvinspace?
3. Again in Marvin Space, there are no menus or popup menus available either. How can I enable menus in this online version of Marvin Space
4. Under tools, there are lots of plugins which I assume I'll get licences for through the academic licence program. When (if) I get them, where do I store them? Do I input them via the Licence Key button on the plugin page or do I upload a .txt file to the web server?
5. I read on another post that the Client needs the licence keys, not the server. Do I have to give all my students copies of the licence keys?
I apologise if you are thinking "What a newbie" but I really could do with some assistance! I've read through loads of stuff and can't find the way.
Looking forward to your replies.
Mark
I've downloaded the full version of marvin and copied the whole directory to my webserver under a directory called "script". I've created a webpage in the root with the following code ...
<script LANGUAGE="JavaScript1.1" SRC="script/marvin.js"></script>
<script LANGUAGE="JavaScript1.1">
<!--
msketch_begin("script", 700, 460);
msketch_param("background", "#aaaaff");
msketch_param("molbg", "#ffffff");
msketch_end();
//-->
</script>
... and Marvin Sketch loads fine - excellent!
My questions are ...
1. Exactly which files from the full download do I actually need to have on the webserver to enable all the functions? Are there any files / directories I can delete?
2. If I create a diagram in the canvas and select View>Open Marvin Space, the header bar says "Marvin Space 1.3.1 DEMO VERSION". I have applied for an academic licence - how do I convert the DEMO VERSION into a full version - i.e. how do I 'register' marvinspace?
3. Again in Marvin Space, there are no menus or popup menus available either. How can I enable menus in this online version of Marvin Space
4. Under tools, there are lots of plugins which I assume I'll get licences for through the academic licence program. When (if) I get them, where do I store them? Do I input them via the Licence Key button on the plugin page or do I upload a .txt file to the web server?
5. I read on another post that the Client needs the licence keys, not the server. Do I have to give all my students copies of the licence keys?
I apologise if you are thinking "What a newbie" but I really could do with some assistance! I've read through loads of stuff and can't find the way.
Looking forward to your replies.
Mark