Re: [Jmol-users] JSME Qestion

2015-06-19 Thread Philip Bays
That fixed it. Thanks. > On Jun 19, 2015, at 6:43 PM, Robert Hanson wrote: > > It was an error in JSmolJME.js that I have fixed. If you want to just > download that, it goes in the jsmol/js directory. Find it at > > from http://chemapps.stolaf.edu/jmol/jsmol/js/JSmolJME.js >

Re: [Jmol-users] JSME Qestion

2015-06-19 Thread Otis Rothenberger
Thanks Bob, Now Phil can think outside the square! Otis > On Jun 19, 2015, at 6:43 PM, Robert Hanson wrote: > > It was an error in JSmolJME.js that I have fixed. If you want to just > download that, it goes in the jsmol/js directory. Find it at > > from http://chemapps.stolaf.edu/jmol/jsmo

Re: [Jmol-users] JSME Qestion

2015-06-19 Thread Robert Hanson
It was an error in JSmolJME.js that I have fixed. If you want to just download that, it goes in the jsmol/js directory. Find it at from http://chemapps.stolaf.edu/jmol/jsmol/js/JSmolJME.js On Fri, Jun 19, 2015 at 4:08 PM, Philip Bays wrote: > Bob, Angel, and Otis: > > Thanks for the suggesti

Re: [Jmol-users] JSME Qestion

2015-06-19 Thread Philip Bays
Bob, Angel, and Otis: Thanks for the suggestions. The width was not a problem for me. I had already gotten "out of the box". However, I have discovered the issue.It manifests in all three of Bob’s samples for loading JSMe: jsme.htm, jsmetest.htm, and jsmetest2.htm. In each example, the appl

Re: [Jmol-users] JSME Qestion

2015-06-18 Thread Robert Hanson
​I have increased the width of the JSME applet to be 350, even if I do like squares. :) Thanks, Angel. -- ___ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://li

Re: [Jmol-users] JSME Qestion

2015-06-18 Thread Philip Bays
Thanks > On Jun 18, 2015, at 11:59 AM, Angel Herráez wrote: > > It seems one of my former messages got lost. > > Phil, this simplest code works fine: > > > > > > > var JSMEditor; > function jsmeOnLoad() { > if ( document.getElementById('jsmeContainer') ) { >JSMEditor = new JSApplet.

Re: [Jmol-users] JSME Qestion

2015-06-18 Thread Angel Herráez
It seems one of my former messages got lost. Phil, this simplest code works fine: var JSMEditor; function jsmeOnLoad() { if ( document.getElementById('jsmeContainer') ) { JSMEditor = new JSApplet.JSME("jsmeContainer", { "options" : "multipart,polarnitro,oldLook,atommovebutton",

Re: [Jmol-users] JSME Qestion

2015-06-18 Thread Otis Rothenberger
Sorry Phil, I wasn’t clear. I mean both pages were driven by the same JSmol/JSME code. In other words, the problem is something on that Jmol/JME page template. I see the convenience of .js code that merges Jmol and JME, but I’ve always used these as separate entities on a page. With advances i

Re: [Jmol-users] JSME Qestion

2015-06-18 Thread Philip Bays
In the same folder as what? J. Philip Bays Emeritus Professor of Chemistry Saint Mary's College Norte Dame, IN Sent from my iPad > On Jun 18, 2015, at 1:05 AM, Otis Rothenberger wrote: > > Phil, > > I'm at a loss other than saying that there is something inherent in Bob's > JSmol/JSME page t

Re: [Jmol-users] JSME Qestion

2015-06-17 Thread Otis Rothenberger
Phil, I'm at a loss other than saying that there is something inherent in Bob's JSmol/JSME page that is causing the problem. If you use jsmol/jsme/JSME.html in the same jsmol folder, then the problem goes away. Clicking anywhere in the FG icon drops the menu. Wild, I don’t have a clue, guess:

Re: [Jmol-users] JSME Qestion

2015-06-17 Thread Philip Bays
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 wrote: > > Phil, > > Bob is doing something on those pages that is way over my head! The hidden FG > button actually throws a JS

Re: [Jmol-users] JSME Qestion

2015-06-17 Thread Philip Bays
I found the issue. Turns out all works well, except that you have to click the button at the very bottom, not in the center, That is true of the vertical elements as well as the FG button. Takes a steady hand. > On Jun 17, 2015, at 9:31 PM, Otis Rothenberger wrote: > > Phil, > > Bob is

Re: [Jmol-users] JSME Qestion

2015-06-17 Thread Otis Rothenberger
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

Re: [Jmol-users] JSME Qestion

2015-06-17 Thread Philip Bays
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. Sinc

Re: [Jmol-users] JSME Qestion

2015-06-17 Thread Otis Rothenberger
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 JavaScr

Re: [Jmol-users] JSME Qestion

2015-06-17 Thread Philip Bays
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 wrote: > > There is no option setting for FG, it should just be there.

Re: [Jmol-users] JSME Qestion

2015-06-17 Thread Philip Bays
I have to go to a local ACS meeting in a while. I will get back to you in a day or so. At this point the file is not online yet. > On Jun 17, 2015, at 2:33 PM, Otis Rothenberger wrote: > > Phil, > > Can you point me to the page that is not working? > > Historical Note: In the history of

Re: [Jmol-users] JSME Qestion

2015-06-17 Thread Otis Rothenberger
Phil, “Hydrogens" is actually the default. I would not need it. This option is for heteroatoms only. I want hydrogens on heteroatoms. The option “hydrogens” turns this heteroatom feature on. Otis > On Jun 17, 2015, at 2:29 PM, Philip Bays wrote: > > Otis: > I am looking at the second link.

Re: [Jmol-users] JSME Qestion

2015-06-17 Thread Philip Bays
Otis: I am looking at the second link. The FG function works, even if I have not begun drawing. Mine does not. I will put together an separate test page and see if it does there. I note that you have the following options set: "options" : "query,hydrogens,autoez,multipart,reaction,nocanoni

Re: [Jmol-users] JSME Qestion

2015-06-17 Thread Otis Rothenberger
Phil, Can you point me to the page that is not working? Historical Note: In the history of JME/JSME, this menu went through some transitions. At one point, cookies were involved. That goes back to the Java applet, I think. This should just work out of the box, I think. Otis > On Jun 17, 2015

Re: [Jmol-users] JSME Qestion

2015-06-17 Thread Philip Bays
If you go to a jmol distribution to the following demo file (I am testing in the latest jmol release on 6/16): jmol0616/jsmol/jsme/JSME.html You will, see the FG button activated. When I try to do that on the gismo I have inserted on page, the button is present, but not active. That is, you

Re: [Jmol-users] JSME Qestion

2015-06-17 Thread Otis Rothenberger
Phil, I put JSME into an iFrame. Here is the main model application page: http://chemagic.com/molecules/mini.html Here is the JSME page that is in the iFrame of the above page: http://chemagic.com/molecules/jsme.htm

Re: [Jmol-users] JSME Qestion

2015-06-17 Thread Philip Bays
I do not see where you set the options for jsme in your source. Do you have that in an ancillary file? > On Jun 17, 2015, at 2:49 PM, Angel Herráez wrote: > > Hi Phil > > Not much documentation. > I seem to remember that the display of buttons might depend on the size > (width) of the JSM

Re: [Jmol-users] JSME Qestion

2015-06-17 Thread Otis Rothenberger
Hi Phil, I use the version in Jmol, and FG works. Are you using it correctly? 1) Click FG to get drop menu. 2) Make a group selection . 3) The FG button stays gray, and your selection is now click atom active with the selection group item. Like other JME buttons FG is only active until you clic

Re: [Jmol-users] JSME Qestion

2015-06-17 Thread Angel Herráez
Hi Phil Not much documentation. I seem to remember that the display of buttons might depend on the size (width) of the JSME panel. See if my page gives you some insight: http://biomodel.uah.es/en/DIY/JSME/draw.en.htm or http://bit.ly/DIYmol Yes, I do have the FG button there! --

[Jmol-users] JSME Qestion

2015-06-17 Thread Philip Bays
I am working with Jmol and Jsme. I cannot find some information about jsme and wonder if someone has a link. I see the files in the jmol distribution and have jsme running on several pages. However, in most of Bob’s examples he does not show the FG button. I want that and have it displayed