Re: [Jmol-users] loading a string from my database in the JmolApplet

2004-12-01 Thread Miguel
Bob wrote: > From what I can tell -- on my computer at least -- the jmol.loadInline() > function is working but the is not. Could be just > messing up with the lines. Do you have a working example in 10pre17? Bob, What was the resolution on this? Miguel ---

Re: [Jmol-users] loading a string from my database in the JmolApplet

2004-11-21 Thread Bob Hanson
From what I can tell -- on my computer at least -- the jmol.loadInline() function is working but the is not. Could be just messing up with the lines. Do you have a working example in 10pre17? Bob Miguel wrote: Bob wrote: But, Miguel, am I right that this is still broken in 10pre17? I just noti

Re: [Jmol-users] loading a string from my database in the JmolApplet

2004-11-20 Thread Miguel
Bob wrote: > But, Miguel, am I right that this is still broken in 10pre17? I just > noticed > that myself at http://www.stolaf.edu/people/hansonr/jmol/inline > I remember you switched to "inline" instead of "loadinline" for the > parameter > name for 10pre11 - 10pre16, but you were going to switch

Re: [Jmol-users] loading a string from my database in the JmolApplet

2004-11-20 Thread Bob Hanson
OTECTED] [mailto:[EMAIL PROTECTED] la part de Bob Hanson Envoye : samedi 20 novembre 2004 01:45 A : [EMAIL PROTECTED] Objet : Re: [Jmol-users] loading a string from my database in the JmolApplet What you need is some JavaScript that does the following: (provided 10pre17 works) molecule="

RE: [Jmol-users] loading a string from my database in the JmolApplet

2004-11-20 Thread fr
software. FR > -Message d'origine- > De : [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] la part de Bob Hanson > Envoye : samedi 20 novembre 2004 01:45 > A : [EMAIL PROTECTED] > Objet : Re: [Jmol-users] loading a string from my database in the > JmolApplet &

Re: [Jmol-users] loading a string from my database in the JmolApplet

2004-11-20 Thread Miguel
fr wrote: > I tried to load a string from my database in the JmolApplet . > The probleme is that the applet is loaded but apparently not the > molecule in the applet. > > Any idea ? There are several problems ... > Code with jmol10 pre17 > === > > > nitrogens >

Re: [Jmol-users] loading a string from my database in the JmolApplet

2004-11-19 Thread Bob Hanson
What you need is some JavaScript that does the following: (provided 10pre17 works) molecule="|"+molecule.replace(/\|/g,"") molecule=molecule.replace(/\r\n/g,"|") molecule=molecule.replace(/\n/g,"|") molecule=molecule.replace(/\r/g,"|") molecule=molecule.replace(/\|/g,"\n|") This corrects for d

Re: [Jmol-users] loading a string from my database in the JmolApplet

2004-11-19 Thread Bob Hanson
First, you need a vertical bar | at the beginning of each line. But there are more problems than that. See http://www.stolaf.edu/people/hansonr/jmol/inline/ From what I can tell, loadInline parameter functionality is broken in 10pre17. Bob Hanson fr chalaoux wrote: Hi All, I tried to load a string

[Jmol-users] loading a string from my database in the JmolApplet

2004-11-19 Thread fr chalaoux
Hi All, I tried to load a string from my database in the JmolApplet . The probleme is that the applet is loaded but apparently not the molecule in the applet. Any idea ? Bye, FR. Code with jmol10 pre17 === nitrogens function init() { var molecule;