Disabling the menubar

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

ChemAxon 7c2d26e5cf

29-08-2006 11:07:52

Thanks for the bug report. We will fix this bug.

User e9b312fb05

30-08-2006 05:04:41

Please let me know when it will be fixed so I can download that version.

ChemAxon 7c2d26e5cf

30-08-2006 14:07:18

We will fix it in Marvin 4.1.2.

ChemAxon 7c2d26e5cf

31-08-2006 16:31:34

I have fixed this bug. The bugfix will be already available in Marvin 4.1.1. I hope the new Marvin release will be ready next week.