Re: [Jmol-users] JSmol Lite and PDB files?

2014-03-18 Thread tinus updates
If I set the src: (or script: load ...) field in the Info variable to load anything other than a MOL file, there is nothing displayed: www.permafrost.ch/jsmol/eis-lite.htm (code from lite4.htm) The normal Jmol.getAppletHtml works fine, though: www.permafrost.ch/jsmol/eis.htm Sorry if I lack

Re: [Jmol-users] JSmol Lite and PDB files?

2014-03-18 Thread Angel Herráez
Hi Martin You need to read carefully the instructions. You are trying the lightweight object, with getTMApplet, but that does not use JSmol.min.js but the special JSmol.lite.js and not all Info parameters are supported and even if src was supported, it must be a script of commands, not a

Re: [Jmol-users] JSmol Lite and PDB files?

2014-03-18 Thread Robert Hanson
Also, you won't be able to read a binary file (.gz) with JSmol.lite.nojq.js. It is VERY light On Tue, Mar 18, 2014 at 10:59 AM, tinus updates tinusupda...@gmail.comwrote: If I set the src: (or script: load ...) field in the Info variable to load anything other than a MOL file, there is

Re: [Jmol-users] JSmol Lite and PDB files?

2014-03-18 Thread Robert Hanson
proto._parse = function(data) { // just MOL data for now this._parseSDF(data); } On Tue, Mar 18, 2014 at 10:59 AM, tinus updates tinusupda...@gmail.comwrote: If I set the src: (or script: load ...) field in the Info variable to load anything other than a MOL file, there is nothing

Re: [Jmol-users] JSmol Lite and PDB files?

2014-03-18 Thread tinus updates
Thank you all! I have understood that Jmol.getTMApplet uses JSmol.lite.js or JSmol.lite.nojq.js. So I adapted the lite4.htm file provided in the distribution. The other liteX.htm files did not work out of the box, so I left them aside. Robert, I found your quoted code in js/JSmol.full.lite.js

Re: [Jmol-users] JSmol Lite and PDB files?

2014-03-18 Thread Angel Herráez
Martin, replaced with the correct sz/ice.pdb. Please try src: load sz/ice.pdb, instead of src: sz/ice.pdb, I wonder by the way if a bigger molecule or structure is displayed clearly enough with the limited rendering. Bigger is not the issue (althugh i may respond slowly). Limited

Re: [Jmol-users] JSmol Lite and PDB files?

2014-03-18 Thread Robert Hanson
On Tue, Mar 18, 2014 at 2:48 PM, tinus updates tinusupda...@gmail.comwrote: Thank you all! I have understood that Jmol.getTMApplet uses JSmol.lite.js or JSmol.lite.nojq.js. So I adapted the lite4.htm file provided in the distribution. The other liteX.htm files did not work out of the box, so

[Jmol-users] JSmol Lite and PDB files?

2014-03-17 Thread tinus updates
Hi, I want to show some structures to my students on iPad 2. Somehow I can only get small MOL files to display, no PDB files. Is there a list of supported file formats? The normal JSmol works just fine, but is slow on iPad. Thanks! Martin

Re: [Jmol-users] JSmol Lite and PDB files?

2014-03-17 Thread Robert Hanson
On Mon, Mar 17, 2014 at 4:11 PM, tinus updates tinusupda...@gmail.comwrote: Hi, I want to show some structures to my students on iPad 2. Somehow I can only get small MOL files to display, no PDB files. Is there a list of supported file formats? The normal JSmol works just fine, but is slow on

[Jmol-users] JSmol lite

2013-01-30 Thread Robert Hanson
I'm wondering if we should try to produce a really trimmed-down lite version of Jmol -- a very very minimal core set of functionality that could have better load performance on mobile devices for very basic tasks. Maybe just wireframe spacefill ballssticks no text no math (just simple

Re: [Jmol-users] JSmol lite

2013-01-30 Thread Michael Evans
Bob, I feel like cherry picking functionality to include would present difficulties to users; e.g. I thought JSmol could do x, but it can't! This is a wild idea, but could the entire command-running apparatus be decoupled from display and mouse actions, with significant savings in code size? I'm

Re: [Jmol-users] JSmol lite

2013-01-30 Thread Otis Rothenberger
Bob, The ability to load minimal with the possibility of expanding as needed would be wonderful! Otis -- Otis Rothenberger o...@chemagic.com http://chemagic.com On Jan 30, 2013, at 1:23 PM, Robert Hanson wrote: I'm wondering if we should try to produce a really trimmed-down lite

Re: [Jmol-users] JSmol lite

2013-01-30 Thread Michael Evans
Agreed, Otis. I realized after reading your message that a version of JSmol that worked that way would be highly desirable, provided the process of loading files as needed is acceptable from a user experience perspective. Cheers, Mike --- Michael Evans Organic Chemistry Graduate Student, Moore

Re: [Jmol-users] JSmol lite

2013-01-30 Thread Jaime Prilusky
A fast, minimal JSmol, able to load additional features on demand, will be great. However, I think this will have little impact on model loading and management speed. Is this correct? Jaim On Jan 30, 2013, at 8:23 PM, Robert Hanson wrote: I'm wondering if we should try to produce a really

Re: [Jmol-users] JSmol lite

2013-01-30 Thread Paul Pillot
Minimified and Gzipped, Jsmol is a 700-800kB download. I am not sure that reducing the download is the way to go in order to improve user experience on mobile phones. I've seen JSmol once on an Iphone and it was really slow. Too slow to call it interactive. Maybe targeting at the graphic