User e9b312fb05
28-08-2006 18:46:24
Hi,
I'm having trouble to disable the menubar. Please have a look at this site:
http://pwe.no-ip.org/chemicals
Check the add dialog. On the right there is a marvin applet without the menubar. I used this code to create the applet:
<script type="text/javascript" src=./marvin/marvin.js>
</script>
<script type="text/javascript">
msketch_name = "MSketch";
msketch_begin("./marvin","600","385");
msketch_param("implicitH","hetero");
msketch_param("bondDraggedAlong","false");
msketch_param("verticalbar","true");
msketch_param("menubar","false");
msketch_param("reactionSupport","false");
msketch_param("3dviewerEnabled","false");
msketch_param("background", "#ffffff");
msketch_param("molbg", "#ffffff");
msketch_end();
Now enter this number "115810050" into the ACROS field and hit "Retrieve". This time You get a menubar though I used exactly the same code:
<script type="text/javascript" src=../../chemicals/marvin/marvin.js>
</script>
<script type="text/javascript">
msketch_name = "MSketch";
msketch_begin("../../chemicals/marvin","600","385");
msketch_param("implicitH","hetero");
msketch_param("bondDraggedAlong","false");
msketch_param("verticalbar","true");
msketch_param("menubar","false");
msketch_param("reactionSupport","false");
msketch_param("3dviewerEnabled","false");
msketch_param("background", "#ffffff");
msketch_param("molbg", "#ffffff");
msketch_param("mol","../../chemicals/molfile.mol");
msketch_end();
Is there a known issue with the menubar loading when a molfile is loaded into the applet?
Paul
I'm having trouble to disable the menubar. Please have a look at this site:
http://pwe.no-ip.org/chemicals
Check the add dialog. On the right there is a marvin applet without the menubar. I used this code to create the applet:
<script type="text/javascript" src=./marvin/marvin.js>
</script>
<script type="text/javascript">
msketch_name = "MSketch";
msketch_begin("./marvin","600","385");
msketch_param("implicitH","hetero");
msketch_param("bondDraggedAlong","false");
msketch_param("verticalbar","true");
msketch_param("menubar","false");
msketch_param("reactionSupport","false");
msketch_param("3dviewerEnabled","false");
msketch_param("background", "#ffffff");
msketch_param("molbg", "#ffffff");
msketch_end();
Now enter this number "115810050" into the ACROS field and hit "Retrieve". This time You get a menubar though I used exactly the same code:
<script type="text/javascript" src=../../chemicals/marvin/marvin.js>
</script>
<script type="text/javascript">
msketch_name = "MSketch";
msketch_begin("../../chemicals/marvin","600","385");
msketch_param("implicitH","hetero");
msketch_param("bondDraggedAlong","false");
msketch_param("verticalbar","true");
msketch_param("menubar","false");
msketch_param("reactionSupport","false");
msketch_param("3dviewerEnabled","false");
msketch_param("background", "#ffffff");
msketch_param("molbg", "#ffffff");
msketch_param("mol","../../chemicals/molfile.mol");
msketch_end();
Is there a known issue with the menubar loading when a molfile is loaded into the applet?
Paul