User 348e44f632
19-03-2007 16:45:13
Hi,
I was wondering what would be the most expedient way for me to add a menu bar to an MView applet. My goal is to be able to embed a 1-structure non-editable viewer in a web page; something like this:
mview_begin(mavrinURL, Width, Height);
mview_param("rows", 1);
mview_param("cold", 1);
mview_param("molbg", "#ffffff");
mview_param("editable", 0);
mview_param("importConv", "-a");
mview_param("importEnabled", "false");
mview_param("draggable", "false");
msketch_param("mol", "c1ccccc1");
mview_end();
but give the users access to, for example, property calculators on the Tools menu.
I am using the latest Marvin and MarvinBeans (4.1.6)
Thanks for your help.
Maya
I was wondering what would be the most expedient way for me to add a menu bar to an MView applet. My goal is to be able to embed a 1-structure non-editable viewer in a web page; something like this:
mview_begin(mavrinURL, Width, Height);
mview_param("rows", 1);
mview_param("cold", 1);
mview_param("molbg", "#ffffff");
mview_param("editable", 0);
mview_param("importConv", "-a");
mview_param("importEnabled", "false");
mview_param("draggable", "false");
msketch_param("mol", "c1ccccc1");
mview_end();
but give the users access to, for example, property calculators on the Tools menu.
I am using the latest Marvin and MarvinBeans (4.1.6)
Thanks for your help.
Maya