Frieda,

The drag motion that you want may be too complex for this suggestion, but I’ll 
put it out there anyway. It’s a variation of Angel’s non-key-modifier 
suggestion. I’ve been increasingly mindful of keeping touch screens in the 
JSmol loop. Mouse modifier keys present a problem. One way out of this dilemma 
is to bind actions to double click (touch). Double clicking can then be set up 
to toggle drag actions. Here’s an example:

http://chemagic.org/molecules/mini.html 
<http://chemagic.org/molecules/mini.html>

1) Click the Duplicate button to get two models in the window.
2) Click the Move button.
3) The resulting screen echo message explains how to use double tap to toggle 
two drag actions handled natively by JSmol with mouse modifier keys.

This is a small model app, and I’m not familiar with the intricacies of slab 
dragging, but it might work. This is really very similar to Angel’s slider 
suggestion, but it focuses on the “tactile” nature of the models in a Jmol 
window. I always liked that aspect of Jmol - touching molecules.

Otis

--
Otis Rothenberger
o...@chemagic.org
http://chemagic.org

> On Feb 1, 2016, at 2:02 PM, Angel Herráez <angel.herr...@uah.es> wrote:
> 
> Dear Frieda,
> 
> I'm afraid the Mouse Manual page is quiet old. I cannot really help you on 
> whether JSmol must behave (it should in principle).
> 
> As an alternative: it is easy to insert a slider in the page using just html5 
> tags 
> and to bind it to a JSmol script, so offering a more intuitive interface for 
> the 
> user.
> See e.g. http://biomodel.uah.es/en/model1/prot/hidrofobo.htm
> 
> 
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to