The problem may be the use of quotes here:
jmolApplet(600, "load "myfiles" "1F88.pdb" "1tl9.pdb"","test");

try
jmolApplet(600, 'load "myfiles" "1F88.pdb" "1tl9.pdb"","test" ');

note the single quotes bracketing the command, since you use double quotes within the command.

Frieda

On Feb 26, 2007, at 8:39 AM, stefanie neumann wrote:

hi, sorry but i use jmol the first time. how do i insert this command?? this is my code: <title>J MOl Versuch</title> <script src="c:\jmol_zeug\jmol-11.0 \Jmol.js"></script> </head> <body>


  <tbody>
    <tr>
      <td style="vertical-align: top;">
      <script>
jmolInitialize("c:\jmol_zeug\jmol-11.0");
jmolApplet(600, "load "myfiles" "1F88.pdb" "1tl9.pdb"","test");
//load "myfiles" "1F88.pdb" "1tl9.pdb";
jmolBr();

        </script>

      <br>
      </td>

        <p align="left">

how ist it right??
thanks, steffi



-------- Original-Nachricht --------
Datum: Mon, 26 Feb 2007 08:15:02 -0500
Von: Frieda Reichsman <[EMAIL PROTECTED]>
An: [email protected]
CC:
Betreff: Re: [Jmol-users] two structures in one applet

Hi Steffi,

To have two structures in one applet, use this command:

load "myfiles" "filename1.pdb" "filename2.pdb"

the word myfiles stands for any any word you choose to name the file
set you are loading.
The files do not have to be pdb files, I just used that as an example.
the filenames do have to appear with double quotes around them.

See the Jmol documentation for the "load" command at
http://www.stolaf.edu/academics/chemapps/jmol/docs/

To display both structures and rotate them together, use the command
file 0

There are other commands that enable you to display and rotate them
singly, but I am not sure where to direct you for the documentation -
perhaps someone else can supply that.

Frieda


On Feb 26, 2007, at 7:56 AM, stefanie neumann wrote:

hi, i like to have two structures in one applet. ist this possible?
maybe if both were rotate the same way. i am looking forward to
your answer. steffi
--
"Feel free" - 5 GB Mailbox, 50 FreeSMS/Monat ...
Jetzt GMX ProMail testen: www.gmx.net/de/go/mailfooter/promail-out

-------------------------------------------------------------------- --
---
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to
share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?
page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

///////////////////////////////////////////

Frieda Reichsman, PhD
Molecules in Motion
Interactive Molecular Structures
http://www.moleculesinmotion.com

///////////////////////////////////////////



--
"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: www.gmx.net/de/go/mailfooter/topmail-out

---------------------------------------------------------------------- ---
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php? page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

///////////////////////////////////////////

Frieda Reichsman, PhD
Molecules in Motion
Interactive Molecular Structures
http://www.moleculesinmotion.com

///////////////////////////////////////////


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to