Hi Angel, Bob,

My mistake for using inline. I fixed that.

Bob, in response to your comment, there is no sync command in the scripts,
but maybe it is something else.

I've attached a simple example of a page (in a zipped folder called
"Webpage" here) that I've used to replicate the problem on my computer. I
didn't send a copy of Jmol since it increases the file size to about 12Mb.
You should either change the location of Jmol in the jmolInitialize command
in "index.html" or else just drop a copy of the appropriate version of Jmol
into the "Webpage" folder, naming the Jmol folder as "Jmol" to match with
the location of Jmol specified in index.html.

Yes Angel, as you said, Jmol 11.8.7 does not work for me, but 11.6.14 does,
which is curious.

view1.spt and view2.spt load different molecules (in fact both are state
scripts that Jmol outputted). When one applet loads view1 and one loads
view2 then I find that both actually load the same molecule in error, but
what looks to be the correct orientation and center of rotation for the
respective scripts. To clarify, you'll get view1's molecule on both applets,
but applet 1 will have view1's orientation and center of rotation while
applet 2 will have view2's orientation and center of rotation (I think).

Eran



2009/10/25 Angel Herráez <[email protected]>

> Hi Eran
>
> I've never had that problem. And I don't see the reason for it to fail as
> you describe. I
> understadn that you have used this with former versions without trouble.
>
> I've created a quick test page 11.8.7 and I don't see the problem.
>
> But, why are you using inline? The purpose of that is to provide the model
> data. If the
> second parameter is empty, as in your example, you should be using old
> plain jmolApplet()
>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to