Feature Requests item #1455779, was opened at 2006-03-21 18:54
Message generated for change (Comment added) made by hansonr
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379136&aid=1455779&group_id=23629

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Closed
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Jmol Java Script Interface Improvements

Initial Comment:
Hello.

Could it be posible to pass variables between
applications, like the actual script selected in a
JmolMenu object to a jmolLink. I've created a function
to make clickable image  Jmol.js based on the jmolLink
function. I use it to load new data into the applet, i
would like to pass data from other controls, like menus
into this function along with the script I use it for.

For example the value propertie form the select in the
jmolMenu function is an script Index instead of the
actual value.

Thanks.

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

>Comment By: Bob Hanson (hansonr)
Date: 2006-04-05 10:32

Message:
Logged In: YES 
user_id=1082841

please contact me directly and I will assist you.

Bob Hanson
[EMAIL PROTECTED]

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

Comment By: Einar Coutin (einarc)
Date: 2006-04-05 10:26

Message:
Logged In: YES 
user_id=1475990

Take a look:
http://zeltix.cecalc.ula.ve/moleculas/documentos/ejemplo1_trabajo3a.html

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

Comment By: Bob Hanson (hansonr)
Date: 2006-03-30 10:45

Message:
Logged In: YES 
user_id=1082841

one last comment --

Einar, when you contact Jmol-Users, please provide a link to
a sample page that is misbehaving. 

Bob Hanson

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

Comment By: Nicolas (nicove)
Date: 2006-03-30 10:35

Message:
Logged In: YES 
user_id=1096197

Agreed with Tim, this has to be coded in Javascript by yourself.
Rather than issueing a simple "load .../jmol/molecule" as a
script, you have to add all the commands related to the
state of your controls in the script.
For example, if you have a checkbox that controls spinning,
you would use "load .../jmol/molecule; spin on" if the
checkbox is checked.

I am closing the item.

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

Comment By: Nobody/Anonymous (nobody)
Date: 2006-03-30 09:46

Message:
Logged In: NO 

As I mentioned before, please send you request to the Jmol users list directly, 
as most users do not follow this feature request board.  I am confident there 
are many users with 'out-of-the-box' solutions to your problem.  (I have not 
had time to write one up yet, and probably won't for at least a few days.)

also, please note that you are not describing a problem with Jmol itself; the 
applet is simply rendering the 3D structure.  the interface is the Web page 
with the javascript/html, written (I presume) by yourself.

you need to reset your html form elements when you send a new load 
command to Jmol... but it is not really a Jmol issue, which is why the Jmol-
users list is your best bet.


regards,

tim d

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

Comment By: Einar Coutin (einarc)
Date: 2006-03-29 13:41

Message:
Logged In: YES 
user_id=1475990

I really really need this to work since I need to pass the
scripts I send to the applet between controls, for instance:
a checkbox and a Link.

The problem comes from loading different molecules on the
applet... When you send the script load .../jmol/molecule  etc 
everything resets on the applet. If, for example I've
created a checkbox to make the model vibrate and it is
checked, If a load another molecule this new one wont be
loaded vibrating, I have to uncheck and recheck the
checkbox... This is really anoying for an interface...

Thanks

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379136&aid=1455779&group_id=23629


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to