Quoting Angel Herráez <[email protected]>: > Hello Phil, and welcome to Jmol! > > Let's see: > >> <script type="text/javascript"> >> jmolCheckbox("script ./Pgradsorted", "script ./reset", "Chain P" ) >> </script> > > This is OK, but the "script" command assumes that the following is > the name of a file. From > your description, I am not sure if you have a plain-text file with > the name "Pgradsorted" and > another named "reset" (both with no extension). Please make sure of > that first. Maybe > having a file extension like "spt" or "txt" helps (it shouldn't make > a difference, but particularly > from a web server extensions sometimes matter). > > >> my script Pgradsorted contains2 commands per amino acid ~ 200 commands > > OK, as long as you mean "your script file", as I said above. > > >> the top 10 lines of the script are:- >> $ head Pgradsorted > > I don't see what this $ line is, but it may be blocking Jmol from > reading the content as a > script, since it will not understand that "command". > Apart from that, everything looks good. > I think the '$' line is not part of the file but just shows the standard Unix/Linux command 'head' that Phil used to display the first lines of the file 'Pgradsorted'. The '$' sign at the beginning is the prompt displayed by the Unix/linux command shell to say it is ready to accept a command.
Regards, Rolf ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

