Hi Nick
While jmolSetTarget() applies to UI controls, jmolScript() specifies its target
directly, as the 2nd parameter
http://jmol.sourceforge.net/jslibrary/#jmolScript
So you would use
javascript:jmolScript('load
model/miscellaneous/ene_reaction/1-pentene_decomposition.xyz', 'right')"
> I also use the JmolPopup.htm method to generate a new window with the
> contents of the the
> current Jmol applet in place e.g.
> http://138.253.125.70/~eleanorvail/externalslim/Main%20Page.html click the
> More Controls
> button. Would it be possible to make this work with one of two applets at
> will?
It sure will, but I'm not familiar with the source code of JmolPopup.htm. I
will
try and have a look.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users