Hi Paul

1) you have 
        var mol=\'parma
which should be 
        var mol=\'param

2) You are closing an angle that has not been opened
at   '" />


3) I'm not proficient with PHP, but I'd say that you are mixing
applet syntax with Jmol.js syntax. jmolLoadInline must get the model data, 
no PARAM label. I would use something like

var mol=\' .
preg_replace("/\n|\r/", "|", $data['molfile']) .
\';

Good luck!


-------------------------------------------------------------------------
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
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to