So much to do, so little time to do it. That is my excuse at least. Right from my first post on this blog in 2008 I have tried to enhance it using Jmol, a Java-based applet (normally indicated with the caption Click for 3D). This has been pretty stable for some five years now, but a recent spate of security-based releases of the JRE (Java runtime environment) for desktop computers has impacted, the latest of which was released yesterday (Java 7, V 51). Put simply, when I started, an unsigned applet was fine. Now to run, it can only be a properly signed applet. Fortunately, there are two solutions:
- Install such a signed applet, and then invoke it correctly
I will shortly start the process of implementing solution 2 on this blog. Meanwhile I have started to implement solution 1 (which has the advantage that many of the surfaces I have included here, such as orbitals or NCI analyses, will render very much more quickly than with JSmol). It involves replacing all instances of
I have identified 935 such instances, and am pondering how to automate this. Meanwhile, if you have a particular page which you would like to be processed quickly, do please get in touch.
PS. This is a classic (ugly) hack, but it might save me time. I uploaded JmolAppletSigned.jar V 14.0.5 and renamed it JmolApplet.jar (having moved the old one). Then I made one change to the script that invokes it (Jmol.js), changing the instance of
"JmolAppletSigned" : "JmolApplet") + "<span style="color: #ff0000;">0</span>.jar"); to
"JmolAppletSigned" : "JmolApplet") + ".jar");. Sorry to spill the guts of this blog onto this page, but one does occasionally need to tinker under the hood, and it might be of interest to anyone else trying to do this. Meanwhile, there are instructions here on how to install JSmol.