This must be a simple javascript problem, but I am having trouble with it:-) In my slider display I execute a jmolScript to limit the displayed volume: jmolScript( 'display within(-999,plane,z='+z1+') and within(999,plane,z='+z2+') and ...etc where z1, z2 etc are javascript variables proportional to the unit cell lengths a,b,c i.e. I want something like z1=c/40 etc...
So how do I factor the unit cell lengths into the the "within...plane" definition, or else how do I retrieve the unit cell dimensions as javascript constants so that I can write z1=c/40 etc... ? Alan. _____________________________________________________________ Dr Alan Hewat, ILL Grenoble, FRANCE<[EMAIL PROTECTED]>fax+33.476.20.76.48 +33.476.20.72.13 (.26 Mme Guillermet) http://www.ill.fr/dif/people/hewat/ _____________________________________________________________ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

