So I've been playing with the code, I'm pretty sure that it should work.
So I loaded a page from the JMOL website the cyclopropane caffeine demo
page. In caffeine I removed the variable and pasted in my JME mol file
from my database. (http://metlin.scripps.edu/htdocs-new/test.html). When
I load the page it says unrecognized file format for file string. So I
think JME makes different mol files from a normal MOL file?
Anyway I going to use 'molconvert' to convert my mol files into mol
files so that JMOL can read them. Any comment would be great and
otherwise I hope it helps anyone else using JME.

Cheers,

PB

Angel Herraez wrote:
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
>   

-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to