Re: [Jmol-users] zooming out issue when loading compounds from separate files

2013-03-02 Thread Robert Hanson
When you load all the models in the same file, the 100% zoom level is based on all the models. But when you load them individually, the 100% zoom is set just for that first model. I suspect that's the problem. You could try adding FILTER center when you load the files. This will set the

Re: [Jmol-users] zooming out issue when loading compounds from separate files

2013-03-02 Thread Martin Guetlein
Hi Bob, ahaaa, that explains a lot. I had problems before with using viewer.getRotationRadius(), which appeared to be somehow broken to me, but I guess thats the same thing, it may depend on the first models only as well. Thanks a lot, Martin On Sat, Mar 2, 2013 at 2:16 PM, Robert Hanson

[Jmol-users] RCSB Search Popup

2013-03-02 Thread Otis Rothenberger
Bob, How can you close the RCSB PDB Search popup with code? In a more general sense, can you point me to docs (or code) that controls that window for writing, opening, and closing? Otis -- Otis Rothenberger o...@chemagic.com http://chemagic.com

Re: [Jmol-users] RCSB Search Popup

2013-03-02 Thread Robert Hanson
Jmol.setInfo(jmolApplet0, whatever, true/false) Jmol.showInfo(jmolApplet0, true/false) see http://wiki.jmol.org/index.php/JSmol#showInfo On Sat, Mar 2, 2013 at 9:36 AM, Otis Rothenberger osrot...@chemagic.comwrote: Bob, How can you close the RCSB PDB Search popup with code? In a more

Re: [Jmol-users] RCSB Search Popup

2013-03-02 Thread Otis Rothenberger
Bob, Thanks for code and reference. Very useful feature. Otis -- Otis Rothenberger o...@chemagic.com http://chemagic.com On Mar 2, 2013, at 11:25 AM, Robert Hanson wrote: Jmol.setInfo(jmolApplet0, whatever, true/false) Jmol.showInfo(jmolApplet0, true/false) see

Re: [Jmol-users] RCSB Search Popup

2013-03-02 Thread Robert Hanson
yes, sort of hiding there in the Wiki, but it has lots of potential. On Sat, Mar 2, 2013 at 12:36 PM, Otis Rothenberger osrot...@chemagic.comwrote: Bob, Thanks for code and reference. Very useful feature. Otis -- Otis Rothenberger o...@chemagic.com http://chemagic.com On Mar 2,

Re: [Jmol-users] Has anybody figured out how to cleanly flip between a server side image and a live JSmol entity?

2013-03-02 Thread Robert Hanson
shouldn't be hard to do this, but I haven't put any energy into it. Take a look in JSmolCore.js to see how those divs are being set up. You should just be able to swap divs in and out of being hidden. On Sat, Mar 2, 2013 at 7:54 PM, Gutow, Jonathan H gu...@uwosh.edu wrote: Has anybody figured