Re: [Jmol-users] Using ISOSURFACE =XXXX in jsmol

2014-03-18 Thread Robert Hanson
On Tue, Mar 18, 2014 at 2:05 PM, Dale Tronrud wrote: > Thanks,> load ="8tln" //does not work > > > > So I assume you need > > Load Map > from > > EDS > > This definitely does not work on Firefox. I suspect that the html > parser is substituting a double quote for the " before javascript > g

Re: [Jmol-users] Using ISOSURFACE =XXXX in jsmol

2014-03-18 Thread Dale Tronrud
Thanks, Putting the equal sign inside the quote helped. I'm still not working but I'll start a new thread on that. On 03/14/2014 04:37 PM, Angel Herráez wrote: > Dale, try to put the equal inside the quotes, not outside > > load "=8tln" //works > load ="8tln" //does not work > > So I assum

Re: [Jmol-users] Using ISOSURFACE =XXXX in jsmol

2014-03-14 Thread Angel Herráez
Dale, try to put the equal inside the quotes, not outside load "=8tln" //works load ="8tln" //does not work So I assume you need Load Map from EDS And always you have trouble with nested quotes it is easier to get one part out like function myScript() { Jmol.script(jmolApplet0, 'isosurface

Re: [Jmol-users] Using ISOSURFACE =XXXX in jsmol

2014-03-14 Thread Dale Tronrud
I had tried that. That gives me the debugger message SyntaxError: identifier starts immediately after numeric literal The sources I've seen on the web say that HTML sees the single quoted string and ignores all of the double quotes inside. JavaScript sees the double quoted string and it d

Re: [Jmol-users] Using ISOSURFACE =XXXX in jsmol

2014-03-14 Thread Robert Hanson
In HTML the escape character is ". You can't use \" in tags. On Fri, Mar 14, 2014 at 4:49 PM, Dale Tronrud wrote: > >I'm sorry but I'm still not getting it. I presume from the context > that the means the PDB ID code of the model I want. In my case > 8tln, but of course there are man

Re: [Jmol-users] Using ISOSURFACE =XXXX in jsmol

2014-03-14 Thread Dale Tronrud
I'm sorry but I'm still not getting it. I presume from the context that the means the PDB ID code of the model I want. In my case 8tln, but of course there are many to chose from. My link is: Load Map from EDS I had a bit of struggle to get the quotes right, but I think my code has

Re: [Jmol-users] Using ISOSURFACE =XXXX in jsmol

2014-03-12 Thread Robert Hanson
Must be a documentation error -- you need quotes around the file name in an isosurface command. The load, script, and write commands are special in that regard, but the isosurface command is so complicated it needs quotes. On Wed, Mar 12, 2014 at 1:15 PM, Dale Tronrud wrote: > Hi, > >I'm a

[Jmol-users] Using ISOSURFACE =XXXX in jsmol

2014-03-12 Thread Dale Tronrud
Hi, I'm a newbie to the jmol world and have been very impressed by what I've seen so far. I'm starting with a little web app to display a bit of a protein along with its electron density map. I'm using version 14.0.11. The documentation web page at http://chemapps.stolaf.edu/jmol/docs/?v