Fantastic ! 2.5.8 is amazing.
But everything is not perfect. My script to get output of Mol data
does not work. I can not retrieve informations about the molecule with
"Get Output" button (worked with previous version). Here is my script
:
<html>
<head><title>Mol dessin</title>
</head>
<body>
<script language="JavaScript">
function writeMolfile()
{
document.form.output.value = document.applet.getMolFile();
}
</script>
<!-- ci-dessous : fonctionnel avec alert js -->
<!--a href="javascript:alert(document.applet.getMolFile())">show mol file</a-->
<!-- ci-dessous : fonctionnel par formulaire + js -->
<!-- Form -->
<table><tr>
<td>
<center><h1>JChemPaint</h1>
<applet height="360" width="510" name="applet"
archive="jchempaint/jchempaint-applet-core.jar"
code="org.openscience.jchempaint.applet.JChemPaintEditorApplet"
codebase="." ></applet>
<!--applet height="360" width="510" name="applet"
archive="jchempaint/jchempaint-applet-core.jar"
code="org.openscience.cdk.applications.jchempaint.applet.JChemPaintEditorApplet"
codebase="." ></applet-->
<!--applet height="360" width="510" name="applet"
code="org.openscience.cdk.applications.jchempaint.applet.JChemPaintEditorApplet"
archive="jchempaint-applet-core.jar" codebase="." ></applet-->
</center></td>
<td>
<center>
<form method="post" name="form" action="RegDrawStruct.php">
<br /><br /><br /><br /><br />
<input type="button"
value="Get Output"
onclick="writeMolfile()"></input>
<br />
<input type="submit" value="Register this product" />
<br /><br /><br />
<textarea name="output" rows=20 cols=70></textarea>
<br />
Experiment number : <font color="red">*</font> <input
type="textbox" name="num_manip" />
<br />
Experiment date : <font color="red">*</font> [Be carefull !!-- it
must be (YY/MM/DD)--] : <br /><input type = "textbox" name = "date"
value = <?php echo date('y/m/d'); ?> />
</center>
</form>
</td>
</tr>
</table>
<br />
<br />
</body>
</html>
Thanks for your great job.
Regards.
2009/9/15 Stefan Kuhn <[email protected]>:
> Hi,
> the applet is in heavy development right now and we would like to have
> feedback. Having said so, did you try the 2.5.8, I did a few days ago?
> Having said so, right click should not be used for connecting two atoms. If
> you want to connect two atoms by a new bond, you need to be in bond mode,
> _left_ click on one and drag to the other. If you want to fuse two atoms, you
> need to _left_ click one and drop it on another.
> Stefan
>
> On Tuesday 15 September 2009 10:28:55 remy d1 wrote:
>> Hi,
>>
>> I am using JCP applet 2.5.7 and I have some problems with right click,
>> Drag and Drop to connect two atoms... Is there any tutorial to enable
>> these options (with jchempaint-applet-editor-opts.jar ?)
>>
>>
>> Thanks,
>>
>> Regards.
>>
>> ---------------------------------------------------------------------------
>>--- Come build with us! The BlackBerry® Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and stay
>> ahead of the curve. Join us from November 9-12, 2009. Register now!
>> http://p.sf.net/sfu/devconf
>> _______________________________________________
>> Cdk-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/cdk-user
>
>
>
> --
> Stefan Kuhn B. Sc. M. A.
> Software Engineer in the Chemoinformatics and Metabolism Team
> European Bioinformatics Institute (EBI)
> Wellcome Trust Genome Campus
> Hinxton, Cambridge CB10 1SD UK
> Phone +44 1223 49 2657
> Fax +44 (0)1223 494 468
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Cdk-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cdk-user
>
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Cdk-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cdk-user