User dfeb81947d
13-09-2005 13:19:35
Dear Support,
I'm using Marvin 4.0.1 which comes with JChem 3.1.
I add in a JPS page like that:
the purpose is to show the viewer only, show the sketcher in a frame only when clicked and after drawing the molecule, hide the sketcher while the molecule is paste in the viewer.
like: http://www.chemaxon.com/marvin/doc/dev/example-sketch3.5.html
Actually it works fine for viewerWidth=399 and viewerHeight=299 (and lower values) it works fine, but if I use viewerWidth=400 et viewerHeight=300 (or upper values) when the sketcher is closed the viewer got the frame of the sketcher
I was able to reproduce it with the example page example-sketch3.5.html.
I downloaded it change the code to be able to work on local and change the size from 200, 200 to 400,300 and I could reproduce that when closing the Marvinsketch a part of Marvinsketch frame is paste into the viewer.
Kind Regards,
Jacques
I'm using Marvin 4.0.1 which comes with JChem 3.1.
I add in a JPS page like that:
Code: |
<script> marvin_jvm="plugin"; marvin_gui = "swing"; msketch_name = "'+this.id+'"; msketch_begin("/AurQuest/marvin/",viewerWidth,viewerHeight); msketch_param("molbg","'+this.viewerColor+'"); msketch_param("background","'+this.viewerColor+'"); msketch_param("undo","10"); msketch_param("reactionSupport","false"); msketch_param("preload", "MolExport"); msketch_param("detach", "hide"); 'msketch_param("menubar", "false"); mview_end(); </script> |
the purpose is to show the viewer only, show the sketcher in a frame only when clicked and after drawing the molecule, hide the sketcher while the molecule is paste in the viewer.
like: http://www.chemaxon.com/marvin/doc/dev/example-sketch3.5.html
Actually it works fine for viewerWidth=399 and viewerHeight=299 (and lower values) it works fine, but if I use viewerWidth=400 et viewerHeight=300 (or upper values) when the sketcher is closed the viewer got the frame of the sketcher
I was able to reproduce it with the example page example-sketch3.5.html.
I downloaded it change the code to be able to work on local and change the size from 200, 200 to 400,300 and I could reproduce that when closing the Marvinsketch a part of Marvinsketch frame is paste into the viewer.
Kind Regards,
Jacques