Dear Bob,
thanks very much for your help.
Having seen that the misplacement of the J2S folder breaks the jmol-to-jsmol
conversion, and having decided that one copy of J2S in each subfolder of my
site is definitely too much…. :-)) I was just trying to re-write the whole
thing with JSmol, so the former jmobutton’s are now jmol.jmolbutton’s, etc.
Would that work across frames in the way you suggested? I tried to make it work
but to no avail…. may be it’s me… :-((
Ciao
Adriano
Il giorno 18/dic/2013, alle ore 19:32, Robert Hanson <hans...@stolaf.edu> ha
scritto:
> 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 <hans...@stolaf.edu> 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
> <adriano.ceccare...@unito.it> 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
> fax: +39(0)112365409
> mail: adriano.ceccare...@unito.it
>
>
> ------------------------------------------------------------------------------
> 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
> Jmol-users@lists.sourceforge.net
> 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
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
------------------------------------------------------------------------------
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
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users