User 248fb9fe9c
22-07-2004 15:43:18
Hi,
I'm trying to do a very simple example:
<script language="JavaScript1.1">
<!--
mview_begin(".", 300, 300);
mview_param("rows", 1);
mview_param("cols", 2);
mview_param("cell0", "|caffeine.mol");
mview_param("cell1", "|c12c(c(cc(c1O)C(Nc1cc(ccc1)N)=O)Cl)cccc2");
mview_end();
-->
</script>
The caffeine molecule is displayed fine. The SMILES one isn't displayed at all. Why is that?
The same thing happens if I just do the SMILES one by itself using the "mol" params instead of "cell1" and outside a table, e.g.
<script language="JavaScript1.1">
<!--
mview_begin(".", 300, 300);
mview_param("mol", "|c12c(c(cc(c1O)C(Nc1cc(ccc1)N)=O)Cl)cccc2");
mview_end();
-->
</script>
This is on Internet Explorer 6 with all the latest updates, Windows 2000, JDK 1.4.2_04 installed. It's the same behavior whether I use the <applet> tag or the marvin.js functions.
(And yes, the marvin.js file, marvin.jar, jmarvin.jar, caffeine.mol are in the same directory as the test .html file, so the codebase of "." is correct).
Any ideas are appreciated. Thanks in advance ;)
Yoav Shapira
I'm trying to do a very simple example:
<script language="JavaScript1.1">
<!--
mview_begin(".", 300, 300);
mview_param("rows", 1);
mview_param("cols", 2);
mview_param("cell0", "|caffeine.mol");
mview_param("cell1", "|c12c(c(cc(c1O)C(Nc1cc(ccc1)N)=O)Cl)cccc2");
mview_end();
-->
</script>
The caffeine molecule is displayed fine. The SMILES one isn't displayed at all. Why is that?
The same thing happens if I just do the SMILES one by itself using the "mol" params instead of "cell1" and outside a table, e.g.
<script language="JavaScript1.1">
<!--
mview_begin(".", 300, 300);
mview_param("mol", "|c12c(c(cc(c1O)C(Nc1cc(ccc1)N)=O)Cl)cccc2");
mview_end();
-->
</script>
This is on Internet Explorer 6 with all the latest updates, Windows 2000, JDK 1.4.2_04 installed. It's the same behavior whether I use the <applet> tag or the marvin.js functions.
(And yes, the marvin.js file, marvin.jar, jmarvin.jar, caffeine.mol are in the same directory as the test .html file, so the codebase of "." is correct).
Any ideas are appreciated. Thanks in advance ;)
Yoav Shapira