From: Robert H. <ha...@st...> - 2012-04-22 19:42:24
|
worse than that, I'm having a heck of a time loading that page and getting all the applets to load. I'll have to think about what is going on there. But here's the command for that checkbox: jmolSetTarget('Z') jmolScript('sync jmolAppletA,jmolAppletB;sync on;sync * "set syncscript false;set syncmouse true;select *;translateSelected @{-{visible}.xyz};center visible;zoom 0" ') Bob On Sun, Apr 22, 2012 at 1:59 PM, Eric Martz <em...@mi...>wrote: > At 4/21/12, Oberholser, Karl wrote: > >Eric, > > > >There is a Messiah biochemistry student that is have a problem with > >the sync command. She copied the code from the DNA forms page. I > >have exhausted my ideas to try. Could you take a look at it? The > >page is Interferons. This page is a spin off of a page on MS. > > > >Karl > > Dear Karl (and everyone): > > Indeed, sync is working great on this page (you have to check the > checkbox below the 3 Jmols): > > http://www.proteopedia.org/wiki/index.php/Forms_of_DNA > > Yet when sync is turned on here, > > http://www.proteopedia.org/wiki/index.php/Interferons > > and one of the 3 Jmols is rotated, the other two molecules jump off > center (and often out of the viewport) -- even though initially all 3 > are centered around their own centers of mass. > > I can't see any errors in the code in the Interferons page -- looks > identical to that in the DNA page. I'm stumped. > > Can anyone help? > > Eric > > > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Jmol-users mailing list > Jmo...@li... > https://lists.sourceforge.net/lists/listinfo/jmol-users > -- Robert M. Hanson Professor of Chemistry St. Olaf College 1520 St. Olaf Ave. Northfield, MN 55057 http://www.stolaf.edu/people/hansonr phone: 507-786-3107 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 |