Please have a look at the EditorApplet.html file in the cdk root directory (I 
attach this in case you do not have a svn checkout). This contains the smiles 
display and works for me (in FF 1..5).
Stefan

Am Thursday 18 January 2007 04:26 schrieb hgfhgf khgfhjgf:
> I've set up my web server with the jchempaint applet 2.2.1.
>
> I've edited the file EditorApplet.html so the path match my server, and
> everything works. Click on the "Show mol file" link and the mol file is
> displayed in a dialog.
>
> But I actually want to grab a SMILES string, and in the API
> <http://cdk.sourceforge.net/api/> I see there is a function getSmiles().
>
> So I have changed the line in EditorApplet.html
>
> <a href="javascript:alert(document.Editor.getMolFile())">show mol file</a>
>
> to
>
> <a href="javascript:alert(document.Editor.getSmiles())">show smiles</a>
>
> And nothing happens. You click on the link in the displayed page in your
> browser (FF 1509, FF 2001, IE 6 SP2), and no action, no error message,
> nothing to indicate anything is happening (even at the server end).
>
> What am I missing here?
>
> Simon
>
> _________________________________________________________________
> Advertisement: Meet Sexy Singles Today @ Lavalife - Click here
> http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Flavalife9%2Eninemsn%2Ecom%2
>Eau%2Fclickthru%2Fclickthru%2Eact%3Fid%3Dninemsn%26context%3Dan99%26locale%3
>Den%5FAU%26a%3D23769&_t=754951090&_r=endtext_lavalife_dec_meet&_m=EXT
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Cdk-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cdk-user

-- 
Stefan Kuhn B. Sc. M. A.
Cologne University BioInformatics Center (http://www.cubic.uni-koeln.de)
Zülpicher Str. 47, 50674 Cologne
Tel: +49(0)221-470-7428   Fax: +49 (0) 221-470-7786
My public PGP key is available at http://pgp.mit.edu
Title: The JChemPaint Applet Demo

The JChemPaint Applet

show mol file show smiles show stereo smiles clear

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Cdk-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cdk-user

Reply via email to