Show me a web page or a full script, please, Michael. It still doesn't make sense. What version of Jmol are you using? Maybe it's old.

LOAD

by itself should not load the file from a DATA statement. Jmol doesn't save the data string, and what LOAD by itself should be doing (perhaps a bug?) is loading the /previous/ file that was present /before/ the data statement.

Sorry if I'm not communicating efficiently. I've never written a script. You generously gave me a vanilla script that acts as a bootstrap to tell the browser to use Jmol. Then VB sends commands. Previously of type load "valid filename". Now a long string starting with "load data "model x" |REMARK | ATOM etc .... "
Now: 100% strings - no files are used, meaning no access to the hard disk.

If you want to generate the problem, just add a number |2| after "model", & before the ATOM lines
Then I see no molecule, but within Jmol :
   About / Jmol = 14.2.4_2014.08.03
   Show / File contents / does display the list of ATOMS
So Jmol does seem to place the entry (via data string) into the file contents. So ";Load" (or Reload via Jmol menu) can recover the molecule (and apparently ignores the number problem)

that does raise another question. You can apparently use a header or REMARK after the "model", but your header should not simply be a number. Apparently Angel knew that the number should be dropped when using ATOM.

For JSmol, I get a white screen: I made the combined Jmol.js
       my vanilla starter (works for Jmol) :
<html> <head> <script type="text/javascript" src="Jmol.js"></script>
<title>JmolinVB</title> </head>
<body> <script type="text/javascript">
jmolApplet(0.99), jmolBr(), jmolCommandInput()
</script> </body> </html>

As you suggested I also tried the file JmolApplet0.jar

thanks again,

Michael Marden


------------------------------------------------------------------------------
Slashdot TV.  Video for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to