Two comments:

I see the difference that you do except that the applet works fine in Safari when I come back to the page.  That is, I do not see a broken applet, it is just not refreshed.  (Mac OS 10.9.1)

I thought that the Safari behavior was the normal for the back button.   I hate it when I am reading and article, click a link to another page, and then when I come back to the original, the page reloads and I have to search for where I was.


On Jan 30, 2014, at 3:32 AM, Jaime Prilusky <jaime.prilusky@weizmann.ac.il> wrote:

Is there a way to force loading JSmol when loading/rendering a page? JQuery should be able to do this. 

This is why we might need to start with a fresh loaded JSmol: When clicking a ‘back to previous page’ button on On Mac 10.9.1, Safari 7.0.1, JSmol renders non-operational. On Firefox 26.0, same Mac, it works Ok.

To test (better than the previous explanation):


2. verify if JSmol is working, ie mouse rotates model, zooms, etc.

3. go to another page by clicking a link, like ‘About Proteopedia’ in the bottom mid section

4. click on the browser’s ‘back to previous page’ button to display again the page 3rec

5. verify if JSmol is working, ie mouse rotates model, zooms, etc.

The main difference is that Firefox actually reloads JSmol on page back. Safari simply tries to work with what’s available, rendering a broken applet.

Jaim
------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Philip Bays
Emeritus Professor of Chemistry
Saint Mary's College
Notre Dame, IN 46556
pbays@saintmarys.edu