OK, I see. What you need to do is to define one frame's variables in terms
of the other. Presumably you have JSmol.min.js loading into each frame,
right? Then to set the controls on frameB to run commands in FrameA if they
are Jmol buttons, you must execute:

frameB.Jmol = frameA.Jmol

and, possibly, if your applet is named "jmolApplet0"

frameB.jmolApplet0 = frameA.jmolApplet0


Bob



On Wed, Dec 18, 2013 at 12:09 PM, Robert Hanson <[email protected]> wrote:

> Yes, that could be a problem. The methods of one frame are probably not
> usable by another frame because they see different variable spaces. I'm
> afraid JSmol is not "frame-friendly" (I'm assuming these are really old
> pages, right? I hope you are not using frames still for new designs.) I'll
> take a quick look.
>
>
> On Tue, Dec 17, 2013 at 10:01 AM, adriano ceccarelli <
> [email protected]> wrote:
>
>> Dear all,
>> having to deal with JSmol and frames, the applet in one frame and the
>> various buttons etc on the other frame, I notice that the latter will not
>> pass on anything to the applet. However, using ordinary href or button tags
>> and appropriately targeting the frame with the applet seems to work. I was
>> just curious to understand why it is so (my mistake? JSmol limit? bug?),
>> and if there is a way out or if I should convert all the pre-existing into
>> ordinary tags.
>> Namely, a jmolbutton will work as a <input type=button>, a jmolHtml will
>> work as a <a href> while I can’t see what could replace a JmolRadioGroup.
>>
>> All comments/suggestions very much appreciated
>>
>> Thanks
>> Ciao
>>
>> Adriano
>>
>>    *Prof. Adriano Ceccarelli*
>> *UniversitĂ  degli Studi di Torino*
>> *Neuroscience Institute Cavalieri Ottolenghi*
>> *Dipartimento di Scienze Cliniche e Biologiche*
>> *Regione Gonzole 10, 10043 Orbassano (Torino) - Italy*
>> *office: +39(0)116705409 <%2B39%280%29116705409>*
>> *fax: +39(0)112365409 <%2B39%280%29112365409>*
>> *mail: [email protected] <[email protected]>*
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Rapidly troubleshoot problems before they affect your business. Most IT
>> organizations don't have a clear picture of how application performance
>> affects their revenue. With AppDynamics, you get 100% visibility into your
>> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
>> Pro!
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Jmol-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>
>>
>
>
> --
> Robert M. Hanson
> Larson-Anderson Professor of Chemistry
> St. Olaf College
> Northfield, MN
> http://www.stolaf.edu/people/hansonr
>
>
> 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
>
>


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


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
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to