Bob and Phil,
It does not work for me either in Safari for Mavericks, but know this: Safari
for Mavericks (iPad aside) is a JSmol disaster. I'm literally rewriting our
whole virtual model kit to deal with the quirks. I don't think these are JSmol
problems or bugs. This version of Safari is just not behaving normally.
Callbacks are a problem. Things that I do sequentially, no longer work. For
example, if I want to do a partial charge calculation in script, I must play a
game with two JavaScript functions:
function chargeStuff1() {
Jmol.script STUFF UP TO AND INCLUDING CHARGE CALCULATION
END ABOVE WITH Jmol.script javascript TO SECOND FUNCTION
}
function chargeStuff2() {
THE REST OS THE Jmolscript STUFF
}
I never had to do this before, and now I only have to do it for Mavericks
Safari. Currently, I'm looking for ways to avoid call backs.
Maybe this is about Safari bugs, but I have the feeling that Apple is just
doing things differently. I mentioned in a previous note that they purposely
degraded the functionality of Pages and Numbers just to make this office duo
compatible with hand held devices.
Otis
--
Otis Rothenberger
o...@chemagic.com
http://chemagic.com
On Nov 6, 2013, at 9:07 AM, Robert Hanson <hans...@stolaf.edu> wrote:
> still a problem? I just tested it with my 1st-gen iPad with Safari and it was
> fine.
>
>
> On Mon, Nov 4, 2013 at 11:32 AM, Philip Bays <pb...@saintmarys.edu> wrote:
> I have been out of the loop for a while taking care of my wife who has a
> broken and repaired knee cap. I knew we ought to pay off those gambling
> debts:-)
>
> I have been looking today at the Super Simple JSmol page
> (http://chemapps.stolaf.edu/jmol/jsmol/simpleOpt.htm).
>
> It works fine in Mavericks using Firefox 25 and on my iPhone (iOS7).
> However, the HTML5 link does not work in Safari. A new page is launched with
> the search bar, but the applet (or whatever we are now calling it) does not
> load even after waiting for 10 minutes.
>
> On the other hand, if I simply open the “Show Error Console” in the
> developers menu in Safari, the HTML5 loads fine. It is not clear to why
> simply having the console open allows jsmol to load. Is it a timing thing??
>
> I see the following error messages in the console for the incident when jsmol
> did not load:
>
> [Error] Failed to load resource: the server responded with a status of 503
> (Service Unavailable) (get-js, line 0)
> [Error] java.lang.NullPointerException
> (anonymous function) (core.z.js, line 398)
> (anonymous function) (core.z.js, line 2256)
> (anonymous function) (core.z.js, line 2248)
> (anonymous function) (core.z.js, line 2225)
> instantialize (JSmol.min.js, line 343)
> (anonymous function) (core.z.js, line 2223)
> innerTypeInstance (JSmol.min.js, line 358)
> (anonymous function) (core.z.js, line 2192)
> (anonymous function) (core.z.js, line 938)
> (anonymous function) (core.z.js, line 926)
> (anonymous function) (core.z.js, line 917)
> instantialize (JSmol.min.js, line 343)
> (anonymous function) (core.z.js, line 913)
> (anonymous function) (core.z.js, line 506)
> (anonymous function) (core.z.js, line 506)
> (anonymous function) (core.z.js, line 504)
> instantialize (JSmol.min.js, line 343)
> (anonymous function) (core.z.js, line 503)
> __startAppletJS (JSmol.min.js, line 256)
> __nextExecution (JSmol.min.js, line 261)
>
>
> Philip Bays
> Emeritus Professor of Chemistry
> Saint Mary's College
> Notre Dame, IN 46556
> pb...@saintmarys.edu
>
>
>
> ------------------------------------------------------------------------------
> Android is increasing in popularity, but the open development platform that
> developers love is also attractive to malware creators. Download this white
> paper to learn more about secure code signing practices that can help keep
> Android apps secure.
> http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
>
> --
> Robert M. Hanson
> Larson-Anderson Professor of Chemistry
> 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
>
> ------------------------------------------------------------------------------
> November Webinars for C, C++, Fortran Developers
> Accelerate application performance with scalable programming models. Explore
> techniques for threading, error checking, porting, and tuning. Get the most
> from the latest Intel processors and coprocessors. See abstracts and register
> http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk_______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users