And that is specific to Safari. Works in Firefox. On the other hand, Chrome has issues throwing error messages.
> On Jun 17, 2015, at 9:31 PM, Otis Rothenberger <osrot...@chemagic.com> wrote: > > Phil, > > Bob is doing something on those pages that is way over my head! The hidden FG > button actually throws a JS error when you expose it and click it. The way > over my head part comes via: > > js/JSmolJME.js > > I can see that he’s integrating JSmol with JSME, but I get lost real fast if > I try to get down to specifics in the .js file. As usual, Bob’s approach is > elegant. It allows very simple communication between JSmol (multiple applets) > and a single JSME applet with this code: > > Jmol.show2d(jmol, false) and Jmol.show2d(jmol, true) > > It may be that he is using 300X300 to hide the FG button because of something > js/JSmolJME.js is doing that interferes with the button. I vaguely recall > (years ago) some warnings from Bob about this implementation of Jmol with JME. > > The following JSME template would offer you an alternate approach: > > jsmol/jsme/JSME.html > > Alternatively, use > > http://chemagic.com/molecules/jsme.htm > <http://chemagic.com/molecules/jsme.htm> > > It’s stripped down to absolute bare bones. You have to write separate > JavaScript to make JSmol and JSME talk to each other, but the JSME and JSmol > functions are there to do that - Jmol functions that were not in place when > Jmol first started using JME. Back then I was using a clumsy Jmol load-data > approach. Jmol 2015 vs Jmol 2008: Thanks in large part to Bob, it’s come a > long way. > > Otis > > > >> On Jun 17, 2015, at 4:50 PM, Philip Bays <pb...@saintmarys.edu >> <mailto:pb...@saintmarys.edu>> wrote: >> >> OK. I have found the source of my issue, but not the solution yet. >> Please note the jsmol>jsmetest2 file in the distribution. If you edit the >> file to expand the width to 400, you see the FG button. But if you try to >> use this applet, none of the vertical buttons work, nor does the FG. Since >> I was using that as my coding pattern, I reproduced the problem. Now to >> look at it in more detail tomorrow. >> >> >> >> >>> On Jun 17, 2015, at 3:58 PM, Otis Rothenberger <osrot...@chemagic.com >>> <mailto:osrot...@chemagic.com>> wrote: >>> >>> Phil, >>> >>> Nah, Bob just likes squares! The JSME applet needs to be 400X300 to see all >>> the buttons. The 300X300 applet just cuts off the buttons after cyclooctane. >>> >>> You could definitely teak the old JME FG button. Again this goes back to >>> JME Java applet. In fact, it was not a button. It was a JavaScript drop >>> down menu that could be modified by some type of cookie structure that >>> remembered your drop entries. This is where I got the idea of using Local >>> Storage to store JME structures. Users can store 50 JME structures in our >>> application page that I linked to earlier. >>> >>> Otis >>> >>> >>> >>>> On Jun 17, 2015, at 3:33 PM, Philip Bays <pb...@saintmarys.edu >>>> <mailto:pb...@saintmarys.edu>> wrote: >>>> >>>> If you look at some of Bob’s examples, you will find that they are biasing >>>> some of the buttons, including FG. I vaguely recall that there was a way >>>> to turn them on and off. >>>> >>>> >>>>> On Jun 17, 2015, at 2:21 PM, Otis Rothenberger <osrot...@chemagic.com >>>>> <mailto:osrot...@chemagic.com>> wrote: >>>>> >>>>> There is no option setting for FG, it should just be there. At least I >>>>> think that’s the case. You can check my options in the above JSME page. >>>> >>>> Philip Bays >>>> Emeritus Professor of Chemistry >>>> Saint Mary's College >>>> Notre Dame, IN 46556 >>>> pb...@saintmarys.edu <mailto:pb...@saintmarys.edu> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> _______________________________________________ >>>> Jmol-users mailing list >>>> Jmol-users@lists.sourceforge.net <mailto:Jmol-users@lists.sourceforge.net> >>>> https://lists.sourceforge.net/lists/listinfo/jmol-users >>>> <https://lists.sourceforge.net/lists/listinfo/jmol-users> >>> >>> ------------------------------------------------------------------------------ >>> _______________________________________________ >>> Jmol-users mailing list >>> Jmol-users@lists.sourceforge.net <mailto:Jmol-users@lists.sourceforge.net> >>> https://lists.sourceforge.net/lists/listinfo/jmol-users >>> <https://lists.sourceforge.net/lists/listinfo/jmol-users> >> >> Philip Bays >> Emeritus Professor of Chemistry >> Saint Mary's College >> Notre Dame, IN 46556 >> pb...@saintmarys.edu <mailto:pb...@saintmarys.edu> >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Jmol-users mailing list >> Jmol-users@lists.sourceforge.net <mailto:Jmol-users@lists.sourceforge.net> >> https://lists.sourceforge.net/lists/listinfo/jmol-users > > ------------------------------------------------------------------------------ > _______________________________________________ > Jmol-users mailing list > Jmol-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jmol-users Philip Bays Emeritus Professor of Chemistry Saint Mary's College Notre Dame, IN 46556 pb...@saintmarys.edu
------------------------------------------------------------------------------
_______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users