Bob,

Got it. Thanks.


Now that you point me, I also see a "atomName set." These strings will let 
me set the JavaScript globals.


Otis

--


Otis Rothenberger

Department of Chemistry

Illinois State University
Normal, IL 61790-4160

http://chemagic.org


----------------------------------------
From: "Robert Hanson" <[email protected]>
Sent: Wednesday, January 12, 2011 1:33 PM
To: [email protected], [email protected]
Subject: Re: [Jmol-users] Edited Model Question 

you will see a bunch of connect commands and probably load data ....

On Wed, Jan 12, 2011 at 10:58 AM, Otis Rothenberger <[email protected]> 
wrote:

Bob,

Is there any unique marker in the model state text that would identify a 
model as having been edited?

My interest in this is to pick up this information when a remote user loads 
a model state saved by another user. In our application, I have JavaScript 
that treats an edited model differently than an unedited model. Locally, I 
can hold the editing status in a global variable. This global, of course, 
will not be set properly on the remote users computer. I can pass this 
information with the state text and parse it on the other end, but if the 
information is already in the state text, I'll set the remote global with 
that.

The new state transfers between multi users seem faster. My imagination or 
has something changed to make state reading and loading faster?

Otis

--


Otis Rothenberger

Department of Chemistry

Illinois State University
Normal, IL 61790-4160

http://chemagic.org  

----------------------------------------------------------------------------
--

Protect Your Site and Customers from Malware Attacks

Learn about various malware tactics and how to avoid them. Understand

malware threats, the impact they can have on your business, and how you

can protect your company and customers by using code signing.

http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________

Jmol-users mailing list

[email protected]

https://lists.sourceforge.net/lists/listinfo/jmol-users

-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr

phone: 507-786-3107

If nature does not answer first what we want,
it is better to take what answer we get. 

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900

 
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to