Feature Requests item #1676604, was opened at 2007-03-08 07:31
Message generated for change (Comment added) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379136&aid=1676604&group_id=23629

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: friedar (friedar)
Assigned to: Nobody/Anonymous (nobody)
Summary: zoomTo, moveTo improvement

Initial Comment:
It would be great if zoomTo and moveTo would
 
1 - check to see if they are already in the desired position before taking the 
time to make the move. IOW, if they are already at the desired zoom and center 
(for zoomTo) or already at the desired orientation etc. (for moveTo), then the 
command would be ignored. This would prevent the delay that currently occurs 
when a script calls for a smooth transition to a position that the molecule 
currently is in.

2- check to see if spin is on; if it is, stop spin, execute the command, and 
then resume the spin. An example of what happens currently with spin on when a 
zoomTo command is issued can be seen at:

http://moleculesinmotion.com/eric_jmol_tutorials/hemoglobin/hbsstruc.htm

by clicking on any button twice in a row. You will see that the structure 
wiggles around - this is because it is already at the desired zoom level. To 
see why I build in the zoomTo command, click any of buttons 1-4, then click any 
of buttons 5-8, or 10. The zoomTo is really meant for the transitions between 
those two groups of buttons, but leads to wiggling if you click the buttons in 
the same group consecutively.

To see the desired effect, click any of 5-8, then click 9 - an instant 
transition, no hesitation, no wiggling. (This script is not a solution to the 
problem - it has no zoomTo, so if it is clicked after any of buttons 1-4, the 
structure remains too zoomed out).

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2007-03-21 11:34

Message:
Logged In: NO 

you should be able to check if spin is on using a script. I have to think
if that is really possible -- it might not be, but in any case, it doesn't
hurt to add "spin off" to any command on a page where spinning might be
turned on. I think this is a web designer's responsibility -- if you make
spinning readily available, make sure you supply code that turns it off
when appropriate. The business with the molecule being in the correct
position already, thus not appearing to respond but still setting the delay
is an interesting problem. There might be something that can be done about
that. 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379136&aid=1676604&group_id=23629

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to