[Jmol-developers] JSmol multi-touch broken
JSmol multi-touch zoom and translate doesn't work anymore on my tablet with the latest release of JSmol from sourceforge (JSmol 14.2.3 July 23, 2014) Can anyone confirm this issue? -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/___ Jmol-developers mailing list Jmol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-developers
[Jmol-developers] Jmol.resizeApplet
On my tablet, Jmol.resizeApplet(JSmol, [w,h]) creates a new canvas insead of resizing the existing canvas causing JSmol to become useless. The console also told me this: Uncaught TypeError: Cannot read property 'processTwoPointGesture' of undefined Strangely, everything is alright in the current stable version of my application: http://molview.org which uses a slightly older version of JSmol. -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/___ Jmol-developers mailing list Jmol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-developers
Re: [Jmol-developers] Jmol.resizeApplet
I think I found it. It will be part of 14.3.7 and 14.2.7, probably later this weekend. On Sat, Sep 6, 2014 at 5:14 PM, Herman Bergwerf hermanbergw...@gmail.com wrote: On my tablet, Jmol.resizeApplet(JSmol, [w,h]) creates a new canvas insead of resizing the existing canvas causing JSmol to become useless. The console also told me this: Uncaught TypeError: Cannot read property 'processTwoPointGesture' of undefined Strangely, everything is alright in the current stable version of my application: http://molview.org which uses a slightly older version of JSmol. -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Jmol-developers mailing list Jmol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-developers -- Robert M. Hanson Larson-Anderson Professor of Chemistry Chair, Department 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 -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/___ Jmol-developers mailing list Jmol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-developers
Re: [Jmol-developers] Jmol.resizeApplet
Sorry - that was in response to your other message, about multitouch. I am not seeing any issue with Jmol.resizeApplet(appletid, width, height) Looks to me like you do not have an applet with id JSmol. These are two unrelated issues, right? On Sat, Sep 6, 2014 at 5:51 PM, Robert Hanson hans...@stolaf.edu wrote: I think I found it. It will be part of 14.3.7 and 14.2.7, probably later this weekend. On Sat, Sep 6, 2014 at 5:14 PM, Herman Bergwerf hermanbergw...@gmail.com wrote: On my tablet, Jmol.resizeApplet(JSmol, [w,h]) creates a new canvas insead of resizing the existing canvas causing JSmol to become useless. The console also told me this: Uncaught TypeError: Cannot read property 'processTwoPointGesture' of undefined Strangely, everything is alright in the current stable version of my application: http://molview.org which uses a slightly older version of JSmol. -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Jmol-developers mailing list Jmol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-developers -- Robert M. Hanson Larson-Anderson Professor of Chemistry Chair, Department 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 -- Robert M. Hanson Larson-Anderson Professor of Chemistry Chair, Department 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 -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/___ Jmol-developers mailing list Jmol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-developers
Re: [Jmol-developers] Jmol.resizeApplet
Bob, are both syntaxes supported? Jmol.resizeApplet(appletid, w, h) Jmol.resizeApplet(appletid, [w,h]) I only had the 2nd documented http://wiki.jmol.org/index.php/Jmol_JavaScript_Object/Functions#resizeApple t -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Jmol-developers mailing list Jmol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-developers