also, if you want to align the centers of the models, you can use

frame align {*}

then, when you go from model to model, displaying a single model, it will
be centered with the previous one. (When you use frame *, you will still
see them in their true position in space, though.)



On Sun, May 19, 2013 at 2:54 PM, Angel Herráez <[email protected]> wrote:

> Hi again
>
> "load append" should work, but notice that once you load more than one
> model, you need ti use the "frame" or "model" command to display them.
> Also, they may be  in different coordinate systems, so one model could be
> off-screen.
>
> I does not matter if you use checkboxes, buttons or links. All that
> matters is
> the JmolScript attached to them.
>
> Try:
>
>  jmolCheckbox("load append '<?php echo $hit[$i];?>'; frame all;", "zap
> file=1;"," <?php echo
>  $id[$i];?>") ;
>
> then you will have a way to change that "1" to different values for each
> loaded model (e.g. set a counter in your php or javascript)
>
>
>
>
>
> ------------------------------------------------------------------------------
> AlienVault Unified Security Management (USM) platform delivers complete
> security visibility with the essential security capabilities. Easily and
> efficiently configure, manage, and operate all of your security controls
> from a single console and one unified framework. Download a free trial.
> http://p.sf.net/sfu/alienvault_d2d
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> 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
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to