On 28 Sep 2006 at 12:01, Wayne Decatur wrote:
[snip]
> However, it didn't
> seem overly simple to implement and the directions/guidance on that
> page, particularly about getting things to work offline vs. online, are
> quite confusing, i.e. a lot more technical and less clear than one might
> expect for a so-called simple example.
Hi Wayne
Sorry if the example page is not clear. I wrote the explanation, since before
that it was just a
sample page, no code visible. Indeed, I added the explanation after some
messages from
novice users having trouble with local use of files.
I have tested your problem page and doesn't work for me either on IE. I think
some of the
OBJECT code must be not what IE expects.
HOWEVER, you are not using the code in the example page. You are using an
OBJECT tag,
which must have precise parameters (that I don't know myself, that's what
Jmol.js is made
for). The SIMPLE example is written to use Jmol.js functionality, hence
jmolInitialize() and
jmolApplet().
I suggest that you try this code (same as jssample0 but adapted to your paths
and example):
<html>
<head>
<script src="jm/Jmol.js" type="text/javascript"></script><!-- REQUIRED -->
</head>
<body>
<table border="0"><tbody><tr valign="top">
<td
nowrap="nowrap">
<form>
<script type="text/javascript">
var myScript = "load jm/model/2hvy.pdb;select all;wireframe off;backbone off;"
+ "spacefill off;cartoon on;select :a; color cartoon [Xafafff];"
+ "select :b; color cartoon [Xaaffbb];select :c; color cartoon pink;"
+ "select :d; color cartoon [Xe6de67];select :e; color cartoon [Xffaaff];"
+ "select zn; spacefill on;move 180 0 0 0 0 0 0 0 4;"
+ "move 0 0 0 30 0 0 0 0 3;spin on;"
jmolInitialize("jm/")
jmolApplet(600, myScript )
</script>
</form>
</td>
</tr>
</tbody></table>
</body></html>
In any case, if you can propose a better explanation or introduction to the use
of Jmol, I'll be
glad to add it to the website. We know there is need for better documentation.
Cheers
-------------------------------------------------------------------------
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