From: Bob H. <ha...@st...> - 2004-11-03 11:09:24
|
I think you just "show source" on that left-hand frame. But now that I look at it, you will probably also want to employ a couple of other tricks. If all you want to do is show two different arrangements of atoms, all you need to do is get your data in the form of that third "multiple model" .xyz format as a file, then load it as a set of models and display the frame you want. Or do you need it to be more flexible? Do you need to have some JavaScript determine on the fly what atoms to move (perhaps by user selection)? Then you need to use the .loadInline() method. In that case, you will want to preserve the orientation as well. For that you need something like what is being done in http://www.stolaf.edu/people/hansonr/jmol/docs/examples/moveto.htm with the "saveAngle()" command. Bob Adrian Brown wrote: >>From: Bob Hanson <ha...@st...> > > > Hi there Bob, > > >>To: jmo...@li... >>Subject: Re: [Jmol-users] movement of just some >>atoms >> >>I think you have to create an animation and display >>it >>as a series of frames. Does >> >>http://www.stolaf.edu/people/hansonr/jmol/inline/ >> >>work for you? [third example, "Use .loadinline()"?] > > > > Yes this does work for me - is it possible to get a > copy of the script so I can see how it is done? > > > Thanks, > > Adrian > > Find local movie times and trailers on Yahoo! Movies. > http://au.movies.yahoo.com > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Jmol-users mailing list > Jmo...@li... > https://lists.sourceforge.net/lists/listinfo/jmol-users -- Robert M. Hanson, ha...@st..., 507-646-3107 Professor of Chemistry, St. Olaf College 1520 St. Olaf Ave., Northfield, MN 55057 mailto:ha...@st... http://www.stolaf.edu/people/hansonr |