From: Otis R. <osr...@ch...> - 2013-02-09 00:15:14
|
Bob, I'm pretty sure my code branch is not working on your Windows 8 system. My touch Move page does not contain reference to the words "hover" or "alt." That's the keyboard Move page. I need to put a select touch screen mode link on the page. On my touch screen page, I use only "LEFT" bindings for translation, rotation, and conformation rotation. If you enter the following (with tilde - this forces JavaScript) in my script field: ~isTouch = true and then click the Move button, you'll force the touch screen Move screen. The instructions use no key strokes at all. From everything I have read, a touch-pause is a hover on iPad and other touch screens, and that seems to work on my iPad. On your system, I think that small box you saw is a hover box. I've also read that this approach to hover (touch-puase) creates a double touch problems. This touch-pause can actually be used to trigger a style sheet a:hover style change. I think what's happening is that the touch first triggers a hover event and then it triggers a click event. Anyway, I'd sure be interested to see what you get with the instructions on the isTouch = true Move page. On this page, I actually use the instruction touch-pause-drag. Otis -- Otis Rothenberger ot...@ch... http://chemagic.com On Feb 8, 2013, at 5:26 PM, Robert Hanson wrote: > I have a touchscreen Windows 8 machine that I got specifically for this purpose. There are issues, primarily in that sometimes it starts firing BOTH mouse and touch events, resulting in an apparent double click. There must be a way around that, but I haven't figured it out yet. See below. > > > On Thu, Feb 7, 2013 at 11:46 PM, Otis Rothenberger <osr...@ch...> wrote: > I have our JSmol model kit set with a code branch for iPad and touch screen computers. I can test this on my iPad, but I don't have access to a touch screen computer. Consequently, I don't know if the code branch works or if the touch move models approach works on a touch screen computer at all. > > If anyone has access to a touch screen computer, would you test the following: > > 1) Load http://chemagic.com/modelkit/ > > > mouse operation is a bit slow - I don't fully understand why, unless you are doing some serious background processing for some reason. But the touch interface drag fails to do anything more than a slight motion of the structure. > > > > 2) On the initial Load screen, click the duplicate link. > > > 3) Click the Move button at the bottom of the page. > > > > Hopefully, the screen that shows is the touch/move screen for touch computers - not the keypress-drag screen for mouse action. > > yes > > 4) See if the move instructions work. > > > I have no idea what a "hover" would be with a touch. > > Regular drag seems stifled. Alt-drag does a z-axis rotation. > > Ah, if I touch and hold until a 1x1cm box appears briefly, then that starts a standard drag. > > > On the touch screen approach, a rather clumsy system of sequentially selecting multiple models is used. Repeated clicking sequentially selects models. > > > nothing happens with CTRL-drag. > > > Any help on this is appreciated. > > > If you go into core.z.js and find > > //// org\jmol\awtjs2d\Mouse.js > > you can add alert() or System.out.println()or > document.title statements that will allow you to do some > > tracking of what is going to the mouse. > > Bob > > > > > Otis > > -- > Otis Rothenberger > ot...@ch... > http://chemagic.com > > > > > > > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Jmol-users mailing list > Jmo...@li... > https://lists.sourceforge.net/lists/listinfo/jmol-users > > > > -- > Robert M. Hanson > Larson-Anderson Professor of Chemistry > Chair, Chemistry Department > 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 > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb_______________________________________________ > Jmol-users mailing list > Jmo...@li... > https://lists.sourceforge.net/lists/listinfo/jmol-users |