Phil,

I'm just curious about something: On a browser that throws the error loading chlorophyll, what happens if you execute the following JavaScript command from the location window (address field) while the first stucture is displayed in Jmol?

javascript:jmolScript("load Structures/chlorophyll.pdb")

I'm just bypassing the button above to see if the problem is via the button route???

Otis

Otis Rothenberger
chemagic.com


On 7/24/2010 6:38 AM, Philip Bays wrote:
Ok, I got the code right. But it does not work on all browsers. I see no difference with this code than what I was observing before. Namely, on the Mac, and the Mac only, and a freshly started mozilla browser (Firefox, Camino, SeaMonkey), the first structure loads fine, but the chlorophyll structure throws a java access error with the unsigned applet.



On Jul 23, 2010, at 5:51 PM, Robert Hanson wrote:

http://www.saintmarys.edu/~pbays/JStest/HTMLFiles/NT1.html <http://www.saintmarys.edu/%7Epbays/JStest/HTMLFiles/NT1.html> http://www.saintmarys.edu/~pbays/JStest/HTMLFiles/NT2.html <http://www.saintmarys.edu/%7Epbays/JStest/HTMLFiles/NT2.html>

Ah, yes, these pages look much better. So what are the results?

The page NT1 should load on all platforms with no issues at all. It is precisely the stated way of doing things.

Same for NT2. And from this one I can save the state - see attached. (Just drag that PNG file into the app or applet.)

Was that just the issue? That Phil was trying to load models before the applet was ready?

One of the nice things about the signed applet on the web is that all the file references are http:// references and you have the menu option to save the PNG image. This image actually contains the full Jmol state (as a trailing comment), so when you save the IMAGE to your hard drive, you can still load that image into Jmol and it will work. Really quite magical. I just did this with the chlorophyll example, and it still amazes me that it is possible.

Bob


On Fri, Jul 23, 2010 at 3:38 PM, Otis Rothenberger <[email protected] <mailto:[email protected]>> wrote:

    Phil and Bob,

    I'm confused about Bob's last note, but the following point may
    be relevant:

    I get the same message as below, but it looks like Phil is on a
    Unix system - case sensitive.

    http://www.saintmarys.edu/~pbays/JSTest/HTMLFiles/NT1.html
    <http://www.saintmarys.edu/%7Epbays/JSTest/HTMLFiles/NT1.html>
    does not exist, buts
    http://www.saintmarys.edu/~pbays/JStest/HTMLFiles/NT1.html
    <http://www.saintmarys.edu/%7Epbays/JStest/HTMLFiles/NT1.html>
    does exist.

    Otis

    Otis Rothenberger
    chemagic.com  <http://chemagic.com/>


    On 7/23/2010 4:03 PM, Robert Hanson wrote:

        
    ------------------------------------------------------------------------

        *We're sorry...*

        The page you are looking for:

        */~pbays/JSTest/HTMLFiles/NT1.html*



    On Fri, Jul 23, 2010 at 2:44 PM, Philip Bays
    <[email protected] <mailto:[email protected]>> wrote:

        OK Bob, et. al.:

        I have tried to mimic a piece of one of your pages, namely:

        http://chemapps.stolaf.edu/jmol/docs/examples-11/simple.htm

        I also tried to view this page in Firefox, but you are using
        the signed applet.   Everything I have tried, even the stuff
        I should never, ever, ever do:-) works with the signed
        applet for me, and I may ultimately go that route.

        However, I have the same issues with Firefox on the Mac with
        the new script.  I have loaded it at:

        www.saintmarys.edu/~pbays/JSTest/HTMLFiles/NT1.html
        <http://www.saintmarys.edu/%7Epbays/JSTest/HTMLFiles/NT1.html>

        The equivalent path to NT2.html is the signed applet.



        J. Philip Bays
        Professor of Chemistry
        Science Hall 172
        Saint Mary's College
        Notre Dame IN 46556
        (574) 284-4663


        
------------------------------------------------------------------------------
        This SF.net <http://SF.net> email is sponsored by Sprint
        What will you do first with EVO, the first 4G phone?
        Visit sprint.com/first <http://sprint.com/first> --
        http://p.sf.net/sfu/sprint-com-first
        _______________________________________________
        Jmol-users mailing list
        [email protected]
        <mailto:[email protected]>
        https://lists.sourceforge.net/lists/listinfo/jmol-users




-- Robert M. Hanson
    Professor of Chemistry
    St. Olaf College
    1520 St. Olaf Ave.
    Northfield, MN 55057
    http://www.stolaf.edu/people/hansonr
    phone: 507-786-3107


    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


    
------------------------------------------------------------------------------
    ThisSF.net  <http://SF.net>  email is sponsored by Sprint
    What will you do first with EVO, the first 4G phone?
    Visitsprint.com/first  <http://sprint.com/first>  -- 
http://p.sf.net/sfu/sprint-com-first


    _______________________________________________
    Jmol-users mailing list
    [email protected]  <mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/jmol-users

    
------------------------------------------------------------------------------
    This SF.net <http://SF.net> email is sponsored by Sprint
    What will you do first with EVO, the first 4G phone?
    Visit sprint.com/first <http://sprint.com/first> --
    http://p.sf.net/sfu/sprint-com-first
    _______________________________________________
    Jmol-users mailing list
    [email protected]
    <mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/jmol-users




--
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


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
<chlorophyll.png>------------------------------------------------------------------------------
This SF.net <http://SF.net> email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first <http://sprint.com/first> -- http://p.sf.net/sfu/sprint-com-first_______________________________________________
Jmol-users mailing list
[email protected] <mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/jmol-users

J. Philip Bays
Professor of Chemistry
Department of Chemistry and Physics
Saint Mary's College
Notre Dame, IN 46556
(574) 284-4663
[email protected] <mailto:[email protected]>




------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first


_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to