Hi guys, I get a blank screen on all of my jmol pages on mozilla, running on linux, lately. The problem does not appear on explorer, (windows) firefox, or linux conqueror.
Any ideas of what might be going wrong suddenly? Thanks Samuel Flores Graduate Student Gerstein Lab Office: Bass 437 266 Whitney Avenue New Haven, CT 06520 203.432.5405 Home: 28 Pearl Street New Haven, CT 06511 cell: 203.747.2682 -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Hanson Sent: Friday, May 05, 2006 12:39 PM To: [email protected] Subject: Re: [Jmol-users] Jmol.js prototype: Jmol-new.js and jmolScriptWait Eric Martz wrote: > At 5/5/06, you wrote: > >> It's probably time I told people about some of the prototype Jmol.js >> niceties in >> <http://www.stolaf.edu/people/hansonr/jmol/test/proto/Jmol-new.js> > > > Dear Bob, > > This all looks extremely useful. At last there is a mechanism to keep > track of when the applet has completed a task! And better yet, whether > it completed the task successfully. > > 1. Is there any way to tell when the applet is initially loaded and > ready for the first script? My inability to do this caused lots of head > scratching when I began designing FirstGlance. This needs experimentation on a variety of platforms. > > 2. Is there any way to tell when the Protein Data Bank does not supply > the PDB file requested in a load command? FirstGlance presently just > leaves a blank applet (white, Jmol frank disappears), a very ungraceful > failure. myVar = jmolScriptWait("load jmol.js") The file exist, but the return message is "ERROR: ScriptException:unrecognized file format | Script line:load jmol.js" > 3. LACK OF JMOL.JS DOCUMENTATION. When I started coding FirstGlance, I > decided not to use jmol.js. This was partly because it didn't support > some functions I needed, but mainly because it is undocumented and I was > afraid to use it. From inspection of the contents of jmol.js, it appears > to do some sort of browser/java version testing, but I cannot tell what > this is supposed to accomplish. Until someone documents the situations > this is supposed to handle and what it is attempting to do, I will > continue to be reluctant to use jmol.js for FirstGlance. I want to avoid > a situation where a (common) client situation that I haven't tested > causes an unanticipated failure mode. For example, no java in Windows, > or a very old version of java. Right now, FirstGlance would fail to work > at all, or to work correctly, without any explicit error messages. That > is certainly not optimal. But I can't tell whether jmol.js would do better. You have to give Miguel credit for writing a VERY GOOD browser testing sequence into Jmol.js. Initially I felt the same as you -- too much of a black box. After using Jmol.js with touches of modification here and there, I can tell you that it is SUPERB. I don't think I'll ever write any page using Jmol without it now. I think you should sit down, take the time to understand it, and use it. No documentation will ever provide what you are asking for, I think -- a description of HOW it works. I'm not sure what more you could want than http://jmol.sourceforge.net/jslibrary/ > > One bit of code in jmol.js that particularly concerns me (and is > inscrutable to me) is this: > > windowsClassId: "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93", > windowsCabUrl: > "http://java.sun.com/update/1.5.0/jinstall-1_5_0_07-windows-i586.cab", > > I wish someone would explain to me what this is designed to do, and how > I could test it. Miguel can do that. > > More generally, I think we need thorough on-line documentation, in one > place, on what jmol.js is designed to do, how to use the functions in > it, etc. Is it possible you haven't seen http://jmol.sourceforge.net/jslibrary/ ? Bob -- Robert M. Hanson, [EMAIL PROTECTED], 507-646-3107 Professor of Chemistry, St. Olaf College 1520 St. Olaf Ave., Northfield, MN 55057 mailto:[EMAIL PROTECTED] http://www.stolaf.edu/people/hansonr "Imagination is more important than knowledge." - Albert Einstein ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

