Hi Harris,
On Thursday 01 March 2007 13:15:16 Harris Procopiou wrote:
> I try to load multiple files but i can't... I 'm working with perl :
>
> print "
> <form>
> <script>
> jmolInitialize("Jmol.js");
> jmolApplet(300, "load "fileset" "1BZ8.pdb"
> "1C26.pdb"; select */2; color red;");
> </script>
> </form>";
In Perl you can escape the quotes with \"... so try this:
print "
<form>
<script>
jmolInitialize(\"Jmol.js\");
jmolApplet(300, 'load \"fileset\" \"1BZ8.pdb\"
\"1C26.pdb\"; select */2; color red;');
</script>
</form>";
Egon
--
CUBIC
blog: http://chem-bla-ics.blogspot.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