[Jmol-users] two applets

2010-12-28 Thread Philip Bays
I am looking for a web page that loads and displays more than one jmol applet. That is causing me some issues with the latest beta of firefox. I have filed a bugzilla report, but I now want to make sure it is not my page but is a more universal issue. Just send me a URL : pb...@saintmarys.ed

Re: [Jmol-users] Two applets initialized with different scripts

2009-11-04 Thread Robert Hanson
OK, that fix is available now as http://chemapps.stolaf.edu/jmol/docs/examples-11/Jmol-11.zip On Wed, Nov 4, 2009 at 8:10 AM, Eran Hodis wrote: > Thanks Eric for the helpful tip that mailing lists like this one usually > remove attachments before sending a post (that's why my previous email >

Re: [Jmol-users] Two applets initialized with different scripts

2009-11-04 Thread Eran Hodis
Thanks Eric for the helpful tip that mailing lists like this one usually remove attachments before sending a post (that's why my previous email lacked the attachment that I was discussing). And also thanks for putting the files up on a server and properly describing the problem in a way that made i

Re: [Jmol-users] Two applets initialized with different scripts

2009-11-04 Thread Robert Hanson
It's going to be "static_" because that's really what it is and because of the other use of "global" -- variables not local to a function. On Wed, Nov 4, 2009 at 12:38 AM, wrote: > According to "Robert Hanson" : > > state scripts use that _ prefix. It was a poor choice all around. I've > now > >

Re: [Jmol-users] Two applets initialized with different scripts

2009-11-03 Thread jaime . prilusky
According to "Robert Hanson" : > state scripts use that _ prefix. It was a poor choice all around. I've now > set both Jmol 11.8.8 and Jmol 11.9.7 to consider all functions to be local > functions unless they explicitly start with "global_". Dear Bob, Thank you for a prompt action, and for choosi

Re: [Jmol-users] Two applets initialized with different scripts

2009-11-03 Thread Robert Hanson
Thank you very much for that careful assessment. Oy, my bad. In Jmol 11.7.45 I mistakenly turned all functions starting with _ global (shared between applets). Prior to that it was the other way around -- that functions NOT starting with _ were shared. But the reason those were NOT global was that

Re: [Jmol-users] Two applets initialized with different scripts

2009-11-03 Thread Eric Martz
Eran kindly provided me with his test files that demonstrate what appears to us to possibly be a bug in Jmol 11.8.7 and later versions that precludes getting the correct initial display when 2 jmols are on one page. I have adapted Eran's demo and put it here http://www.umass.edu/molvis/tests/Jm

Re: [Jmol-users] Two applets initialized with different scripts

2009-10-25 Thread Eran Hodis
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 c

Re: [Jmol-users] Two applets initialized with different scripts

2009-10-25 Thread Robert Hanson
is there some sort of sync command in one of those scripts? On Sat, Oct 24, 2009 at 12:51 PM, Eran Hodis wrote: > Hi All, > > Has anyone used Jmol 11.8+ to display two Jmol applets on the same webpage, > initialized using different scripts? For instance something like: > > > jmolAppletInline(40

Re: [Jmol-users] Two applets initialized with different scripts

2009-10-25 Thread Angel Herráez
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

[Jmol-users] Two applets initialized with different scripts

2009-10-24 Thread Eran Hodis
Hi All, Has anyone used Jmol 11.8+ to display two Jmol applets on the same webpage, initialized using different scripts? For instance something like: jmolAppletInline(400, '', 'script view1.spt','0'); jmolAppletInline(400, '', 'script view2.spt','1'); Using Jmol version 11.8.7 I'm noticing som