[Jmol-users] JSmol Question

2012-11-14 Thread Otis Rothenberger
Bob, If I am directing the page load toward HTML5 only, do I have any inherent JavaScript "model loaded" notice (variable) available? Otis -- Otis Rothenberger o...@chemagic.com http://chemagic.com -- Monitor your p

[Jmol-users] JSmol Question

2013-01-23 Thread Otis Rothenberger
Bob, I've discovered that iPad actually has a hover that allows me to select a bond in JSmol prior to a conformation rotation. So this hover/click movement sets me up for conformation. I'm currently using the following binding for this: bind "CTRL-LEFT" "select WITHIN(BRANCH,{atomno=rot1}, {ato

Re: [Jmol-users] JSmol Question

2012-11-14 Thread Robert Hanson
you have all the normal callback methods. On Wed, Nov 14, 2012 at 2:47 PM, Otis Rothenberger wrote: > Bob, > > If I am directing the page load toward HTML5 only, do I have any inherent > JavaScript "model loaded" notice (variable) available? > > Otis > > -- > Otis Rothenberger > o...@chemagic.co

Re: [Jmol-users] JSmol Question

2012-11-14 Thread Robert Hanson
also, if you use script commands, it probably waits anyway. There's only one thread, and all files are loaded synchronously. So it's not like Jmol, where you don't know if it is done yet. On Wed, Nov 14, 2012 at 2:47 PM, Otis Rothenberger wrote: > Bob, > > If I am directing the page load toward

Re: [Jmol-users] JSmol Question

2013-01-23 Thread Robert Hanson
you can certainly use UNBIND LEFT to unbind LEFT-CLICK. On Wed, Jan 23, 2013 at 7:34 AM, Otis Rothenberger wrote: > Bob, > > I've discovered that iPad actually has a hover that allows me to select a > bond in JSmol prior to a conformation rotation. So this hover/click > movement sets me up f

Re: [Jmol-users] JSmol Question

2013-01-23 Thread Otis Rothenberger
Bob, OK, finally. I was screwing up with missing quotes on the bind. I had them in what I pasted below, but they were missing in my code. You can conformation rotate about a bond on an iPad. The hover on the bond is a bit tricky, but there's a learnable rhythm involved - touch/up/touch/up. It

Re: [Jmol-users] JSmol Question

2013-01-23 Thread Robert Hanson
isn't that called a "double-click"? :) On Wed, Jan 23, 2013 at 9:56 PM, Otis Rothenberger wrote: > Bob, > > OK, finally. I was screwing up with missing quotes on the bind. I had them > in what I pasted below, but they were missing in my code. > > You can conformation rotate about a bond on an iP

Re: [Jmol-users] JSmol Question

2013-01-24 Thread Otis Rothenberger
You might be right, but I think it's more subtle than that. From what I read, iPad Safari actually sends a hover event. You see it when you touch a link and hold for a second rather than click (a quick tap). The hold selects the link and brings up a hover box, albeit not the link title hover. I

Re: [Jmol-users] JSmol Question

2013-01-24 Thread Robert Hanson
On Thu, Jan 24, 2013 at 2:27 PM, Otis Rothenberger wrote: > You might be right, but I think it's more subtle than that. From what I > read, iPad Safari actually sends a hover event. You see it when you touch a > link and hold for a second rather than click (a quick tap). The hold > selects the lin