When i click on the link i receive this alert message with this code and no 
display at all. I have last firefox on linux ubuntu 12.04Pino:3554.666748046875 
function (text, font3d, g3d) {
    var pixels = g3d.apiPlatform.getTextPixels(text, font3d, 
g3d.platform.getGraphicsForTextOrImage(this.mapWidth, this.height), 
g3d.platform.offscreenImage, this.mapWidth, this.height, this.ascent);
    if (pixels == null) {
        return;
    }
    this.tmap = Clazz.newByteArray(this.size, 0);
    for (var i = pixels.length; --i >= 0;) {
        var p = pixels[i] & 255;
        if (p != 0) {
            this.tmap[i] = org.jmol.g3d.TextRenderer.translucency[p >> 5];
        }
    }
}


----Messaggio originale----

Da: hans...@stolaf.edu

Data: 02/11/2012 18.38

A: "jmol-users@lists.sourceforge.net"<jmol-users@lists.sourceforge.net>

Ogg: [Jmol-users] JSmol load optimization



Great progress today with optimization of file loading. It's still a 3-MB file 
download (one single JavaScript file!), and that's not compressed at all, but 
still, way better than 300 individual downloads.

http://chemapps.stolaf.edu/jmol/jsmol/test2.htm 


full JavaScript code is in:

http://chemapps.stolaf.edu/jmol/JSmol.zip

At least on my machine the initial download (from St. Olaf, so relatively 
locally) is about 3 seconds, and cached loading is virtually instantaneous.

Bob

-- 
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Chemistry Department
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







 
------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to