Chuck, the Info variable you pass is supplemented with default values.
.Partially so that doing exactly what you are doing you can see what more
options are.
On Tue, Jan 28, 2014 at 10:35 AM, Charles Harrison Shubert <cshub...@mit.edu
> wrote:
> Hi,
>
> Yesterday, I was experimenting with localStorage. My intent is to save
> my local javascript state so that the next time the user goes to my web
> site, they'll start up from where they left off.
>
> Part of the state that I saved is my Info for Jmol.
>
> I was surprised to find that Jmol had written stuff to my Info variable.
> I had anticipated that Jmol would use it's own Info variable and copy
> stuff from my Info variable. I'm assuming that Jmol uses my Info variable
> after it makes changes to it. If Jmol doesn't use my Info variable later,
> then why modify it.
>
> Am I missing something here?
>
> Thanks,
>
> --Chuck
>
> Info that I give to Jmol:
>
> Object {j2sPath: "myApp/jsmol/j2s", height: 640, width: 800, color:
> "green", debug: false...}
>
> 1. addSelectionOptions: false
> 2. color: "green"
> 3. debug: false
> 4. disableInitialConsole: true
> 5. disableJ2SLoadMonitor: true
> 6. height: 640
> 7. j2sPath: "myApp/jsmol/j2s"
> 8. readyFunction: null
> 9. script: "set antialiasDisplay;load myApp/samplepdbs/1EBM.pdb"
> 10. use: "HTML5"
> 11. width: 800
> 12. __proto__: Object
>
>
> Changes that Jmol makes to my Info variable:
>
> Object {j2sPath: "myApp/jsmol/j2s", height: 640, width: 800, color:
> "green", debug: false...}
>
> 1. addSelectionOptions: false
> 2. color: "green"
> 3. coverCommand: ""
> 4. coverImage: null
> 5. coverTitle: ""
> 6. debug: false
> 7. defaultModel: ""
> 8. deferApplet: false
> 9. deferUncover: false
> 10. disableInitialConsole: true
> 11. disableJ2SLoadMonitor: true
> 12. height: 640
> 13. isSigned: false
> 14. j2sPath: "myApp/jsmol/j2s"
> 15. jarFile: "JmolApplet0.jar"
> 16. jarPath: "java"
> 17. readyFunction: null
> 18. script: "set antialiasDisplay;load myApp/samplepdbs/1EBM.pdb"
> 19. serverURL: "http://your.server.here/jsmol.php"
> 20. src: null
> 21. use: "HTML5"
> 22. width: 800
> 23. __proto__: Object
>
>
>
> ------------------------------------------------------------------------------
> WatchGuard Dimension instantly turns raw network data into actionable
> security intelligence. It gives you real-time visual feedback on key
> security issues and trends. Skip the complicated setup - simply import
> a virtual appliance and go from zero to informed in seconds.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr
If nature does not answer first what we want,
it is better to take what answer we get.
-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable
security intelligence. It gives you real-time visual feedback on key
security issues and trends. Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users