[Jmol-developers] JSmol multi-touch broken

2014-09-06 Thread Herman Bergwerf
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

[Jmol-developers] Jmol.resizeApplet

2014-09-06 Thread Herman Bergwerf
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

Re: [Jmol-developers] Jmol.resizeApplet

2014-09-06 Thread Robert Hanson
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

Re: [Jmol-developers] Jmol.resizeApplet

2014-09-06 Thread Robert Hanson
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

Re: [Jmol-developers] Jmol.resizeApplet

2014-09-06 Thread Angel Herráez
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 --