Re: [Jmol-users] Problem with switching to JSMol
email is fine. I have time today to look at it. I'm sure it will only take a few minutes. On Fri, Feb 22, 2013 at 11:53 AM, Simone Sturniolo < simonesturni...@gmail.com> wrote: > It's a bit of a big thing. 5 MB at least I'd say, all things included. How > do you prefer me to send it? > > Simone > > > 2013/2/22 Robert Hanson > >> If you send me a copy of the page or a link to it, I can help you track >> this down. Something simple, I'm sure. >> >> >> On Fri, Feb 22, 2013 at 6:46 AM, Simone Sturniolo < >> simonesturni...@gmail.com> wrote: >> >>> Tried that. Every other order either increases the number of error >>> messages, or leaves the situation unchanged. >>> >>> >>> 2013/2/22 Paul Pillot >>> Order matters in your js files links I use the following declaration: That is with the minified version and without webGL. Paul Le 22 févr. 2013 à 12:43, Simone Sturniolo a écrit : Hi, I'm trying to switch my JMol applet web page to JSMol - mainly to avoid all the problems related with ever increasing restrictive security policies for Java. I put all the main JSMol files in a folder, j2s in a subfolder, loaded the scripts: >>> src="jsmol/JSmolControls.js"> completed the info section as follows: var main_info = { width: jmolW, height: jmolH, addSelectionOptions: false, color: "#00", debug: false, defaultModel: "", memoryLimit: 512, readyFunction: null, script: "", use: "HTML5", j2sPath: "jsmol/j2s", serverURL: "http://chemapps.stolaf.edu/jmol/jsmol/jsmol.php";, console: "myJmol_infodiv", scriptCallback: "afterscript_callback", loadStructCallback: "afterload_callback", pickCallback: "pick_callback", src: null, } left the rest of the code unchanged, basically following the instructions found on http://wiki.jmol.org/index.php/JSmol, and now am running the thing on Firefox 18.0.2. I get this error: TypeError: Jmol._getElement(...).style is undefined Jmol._getElement(this, "infotablediv").style.display = (tf ? "block" : "none"); JSmol.js (line 395) What could be causing this, and what did I forget to do? Thank you very much! Simone -- ___ Nuovo indirizzo e-mail: simonesturni...@gmail.com -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb___ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users >>> >>> >>> -- >>> ___ >>> >>> Nuovo indirizzo e-mail: >>> simonesturni...@gmail.com >>> >>> >>> -- >>> Everyone hates slow websites. So do we. >>> Make your web apps faster with AppDynamics >>> Download AppDynamics Lite for free today: >>> http://p.sf.net/sfu/appdyn_d2d_feb >>> ___ >>> 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 >> Chair, Chemistry Department >> 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 >> >> >> >> -- >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://p.sf.net/sfu/appdyn_d2d_feb >> ___ >> Jmol-users mailing list >> Jmol-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/jmol-users >> >> > > > -- > ___ > > Nuovo indirizzo e-mail: > simonesturni...@gmail.com > > > --
Re: [Jmol-users] Problem with switching to JSMol
It's a bit of a big thing. 5 MB at least I'd say, all things included. How do you prefer me to send it? Simone 2013/2/22 Robert Hanson > If you send me a copy of the page or a link to it, I can help you track > this down. Something simple, I'm sure. > > > On Fri, Feb 22, 2013 at 6:46 AM, Simone Sturniolo < > simonesturni...@gmail.com> wrote: > >> Tried that. Every other order either increases the number of error >> messages, or leaves the situation unchanged. >> >> >> 2013/2/22 Paul Pillot >> >>> Order matters in your js files links >>> I use the following declaration: >>> >>> >>> >>> That is with the minified version and without webGL. >>> Paul >>> >>> Le 22 févr. 2013 à 12:43, Simone Sturniolo a écrit : >>> >>> Hi, >>> >>> I'm trying to switch my JMol applet web page to JSMol - mainly to avoid >>> all the problems related with ever increasing restrictive security policies >>> for Java. I put all the main JSMol files in a folder, j2s in a subfolder, >>> loaded the scripts: >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> completed the info section as follows: >>> >>> var main_info = { >>> width: jmolW, >>> height: jmolH, >>> addSelectionOptions: false, >>> color: "#00", >>> debug: false, >>> defaultModel: "", >>> memoryLimit: 512, >>> readyFunction: null, >>> script: "", >>> use: "HTML5", >>> j2sPath: "jsmol/j2s", >>> serverURL: "http://chemapps.stolaf.edu/jmol/jsmol/jsmol.php";, >>> console: "myJmol_infodiv", >>> scriptCallback: "afterscript_callback", >>> loadStructCallback: "afterload_callback", >>> pickCallback: "pick_callback", >>> src: null, >>> } >>> >>> left the rest of the code unchanged, basically following the >>> instructions found on http://wiki.jmol.org/index.php/JSmol, and now am >>> running the thing on Firefox 18.0.2. I get this error: >>> >>> TypeError: Jmol._getElement(...).style is undefined >>> >>> Jmol._getElement(this, "infotablediv").style.display = (tf ? "block" : >>> "none"); >>> >>> JSmol.js (line 395) >>> >>> What could be causing this, and what did I forget to do? >>> Thank you very much! >>> >>> Simone >>> >>> >>> >>> -- >>> ___ >>> >>> Nuovo indirizzo e-mail: >>> simonesturni...@gmail.com >>> >>> -- >>> Everyone hates slow websites. So do we. >>> Make your web apps faster with AppDynamics >>> Download AppDynamics Lite for free today: >>> >>> http://p.sf.net/sfu/appdyn_d2d_feb___ >>> Jmol-users mailing list >>> Jmol-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/jmol-users >>> >>> >>> >>> >>> -- >>> Everyone hates slow websites. So do we. >>> Make your web apps faster with AppDynamics >>> Download AppDynamics Lite for free today: >>> http://p.sf.net/sfu/appdyn_d2d_feb >>> ___ >>> Jmol-users mailing list >>> Jmol-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/jmol-users >>> >>> >> >> >> -- >> ___ >> >> Nuovo indirizzo e-mail: >> simonesturni...@gmail.com >> >> >> -- >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://p.sf.net/sfu/appdyn_d2d_feb >> ___ >> 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 > Chair, Chemistry Department > 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 > > > > -- > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > ___ > Jmol-users mailing list > Jmol-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jmol-users > > -- ___ Nuovo indirizzo e-mail: simonesturni...@gmail.com -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb___ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users
Re: [Jmol-users] Problem with switching to JSMol
If you send me a copy of the page or a link to it, I can help you track this down. Something simple, I'm sure. On Fri, Feb 22, 2013 at 6:46 AM, Simone Sturniolo wrote: > Tried that. Every other order either increases the number of error > messages, or leaves the situation unchanged. > > > 2013/2/22 Paul Pillot > >> Order matters in your js files links >> I use the following declaration: >> >> >> >> That is with the minified version and without webGL. >> Paul >> >> Le 22 févr. 2013 à 12:43, Simone Sturniolo a écrit : >> >> Hi, >> >> I'm trying to switch my JMol applet web page to JSMol - mainly to avoid >> all the problems related with ever increasing restrictive security policies >> for Java. I put all the main JSMol files in a folder, j2s in a subfolder, >> loaded the scripts: >> >> >> >> >> >> >> >> >> >> >> >> >> completed the info section as follows: >> >> var main_info = { >> width: jmolW, >> height: jmolH, >> addSelectionOptions: false, >> color: "#00", >> debug: false, >> defaultModel: "", >> memoryLimit: 512, >> readyFunction: null, >> script: "", >> use: "HTML5", >> j2sPath: "jsmol/j2s", >> serverURL: "http://chemapps.stolaf.edu/jmol/jsmol/jsmol.php";, >> console: "myJmol_infodiv", >> scriptCallback: "afterscript_callback", >> loadStructCallback: "afterload_callback", >> pickCallback: "pick_callback", >> src: null, >> } >> >> left the rest of the code unchanged, basically following the instructions >> found on http://wiki.jmol.org/index.php/JSmol, and now am running the >> thing on Firefox 18.0.2. I get this error: >> >> TypeError: Jmol._getElement(...).style is undefined >> >> Jmol._getElement(this, "infotablediv").style.display = (tf ? "block" : >> "none"); >> >> JSmol.js (line 395) >> >> What could be causing this, and what did I forget to do? >> Thank you very much! >> >> Simone >> >> >> >> -- >> ___ >> >> Nuovo indirizzo e-mail: >> simonesturni...@gmail.com >> >> -- >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> >> http://p.sf.net/sfu/appdyn_d2d_feb___ >> Jmol-users mailing list >> Jmol-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/jmol-users >> >> >> >> >> -- >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://p.sf.net/sfu/appdyn_d2d_feb >> ___ >> Jmol-users mailing list >> Jmol-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/jmol-users >> >> > > > -- > ___ > > Nuovo indirizzo e-mail: > simonesturni...@gmail.com > > > -- > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > ___ > 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 Chair, Chemistry Department 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 -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb___ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users
Re: [Jmol-users] Problem with switching to JSMol
I know ^^, I sent another email right after that, sorry for the mistake! 2013/2/22 N David Brown > You didn't list the error :-) > > > On 22 February 2013 15:07, Simone Sturniolo wrote: > >> Ok, the error message came up again, it's: >> >> >> >> 2013/2/22 Simone Sturniolo >> >>> I used the new package and, as suggested, included only the JSmol.min.js >>> script file. The result is a very similar error message, which now I can't >>> manage to reproduce because Firefox keeps simply getting stuck when I try >>> to load the page. I also lose all jQuery UI functionality that I had >>> implemented, but this might be a cascade error, so I wouldn't pay much >>> attention to it for now. >>> >>> Simone >>> >>> >>> >>> >>> 2013/2/22 Angel Herráez >>> Ah, OK JSmol distribution is still not well roganized, I'm afraid. There's also a bit of confusion between Jmol-JSO and JSmol (which I'm planning to sort out and explain in the wiki) I suggest that you download from StOlaf. The link is in the wiki http://wiki.jmol.org/index.php/JSmol (there used to be a problem with capitalization, but I checked it is ok recently): http://chemapps.stolaf.edu/jmol/jsmol.zip That one is the latest development version and should contain JSmol.min.js If you still find problems, then for sure Bob will reply and deal with them. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users >>> >>> >>> >>> -- >>> ___ >>> >>> Nuovo indirizzo e-mail: >>> simonesturni...@gmail.com >>> >> >> >> >> -- >> ___ >> >> Nuovo indirizzo e-mail: >> simonesturni...@gmail.com >> >> >> -- >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://p.sf.net/sfu/appdyn_d2d_feb >> ___ >> Jmol-users mailing list >> Jmol-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/jmol-users >> >> > > > -- > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > ___ > Jmol-users mailing list > Jmol-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jmol-users > > -- ___ Nuovo indirizzo e-mail: simonesturni...@gmail.com -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb___ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users
Re: [Jmol-users] Problem with switching to JSMol
You didn't list the error :-) On 22 February 2013 15:07, Simone Sturniolo wrote: > Ok, the error message came up again, it's: > > > > 2013/2/22 Simone Sturniolo > >> I used the new package and, as suggested, included only the JSmol.min.js >> script file. The result is a very similar error message, which now I can't >> manage to reproduce because Firefox keeps simply getting stuck when I try >> to load the page. I also lose all jQuery UI functionality that I had >> implemented, but this might be a cascade error, so I wouldn't pay much >> attention to it for now. >> >> Simone >> >> >> >> >> 2013/2/22 Angel Herráez >> >>> Ah, OK >>> >>> JSmol distribution is still not well roganized, I'm afraid. There's >>> also a bit of confusion between Jmol-JSO and JSmol (which I'm >>> planning to sort out and explain in the wiki) >>> >>> I suggest that you download from StOlaf. The link is in the wiki >>> http://wiki.jmol.org/index.php/JSmol >>> (there used to be a problem with capitalization, but I checked it is >>> ok recently): >>> http://chemapps.stolaf.edu/jmol/jsmol.zip >>> >>> That one is the latest development version and should contain >>> JSmol.min.js >>> If you still find problems, then for sure Bob will reply and deal >>> with them. >>> >>> >>> >>> >>> -- >>> Everyone hates slow websites. So do we. >>> Make your web apps faster with AppDynamics >>> Download AppDynamics Lite for free today: >>> http://p.sf.net/sfu/appdyn_d2d_feb >>> ___ >>> Jmol-users mailing list >>> Jmol-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/jmol-users >>> >> >> >> >> -- >> ___ >> >> Nuovo indirizzo e-mail: >> simonesturni...@gmail.com >> > > > > -- > ___ > > Nuovo indirizzo e-mail: > simonesturni...@gmail.com > > > -- > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > ___ > Jmol-users mailing list > Jmol-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jmol-users > > -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb___ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users
Re: [Jmol-users] Problem with switching to JSMol
Sorry, it seems like the mail was sent by mistake. The error message: TypeError: b._getElement(...).style is undefined ...!c&&(this._isInfoVisible=c,this._infoObject?this._infoObject._showInfo(c):b._get... JSmol.min.js (line 236) 2013/2/22 Simone Sturniolo > Ok, the error message came up again, it's: > > > > 2013/2/22 Simone Sturniolo > >> I used the new package and, as suggested, included only the JSmol.min.js >> script file. The result is a very similar error message, which now I can't >> manage to reproduce because Firefox keeps simply getting stuck when I try >> to load the page. I also lose all jQuery UI functionality that I had >> implemented, but this might be a cascade error, so I wouldn't pay much >> attention to it for now. >> >> Simone >> >> >> >> >> 2013/2/22 Angel Herráez >> >>> Ah, OK >>> >>> JSmol distribution is still not well roganized, I'm afraid. There's >>> also a bit of confusion between Jmol-JSO and JSmol (which I'm >>> planning to sort out and explain in the wiki) >>> >>> I suggest that you download from StOlaf. The link is in the wiki >>> http://wiki.jmol.org/index.php/JSmol >>> (there used to be a problem with capitalization, but I checked it is >>> ok recently): >>> http://chemapps.stolaf.edu/jmol/jsmol.zip >>> >>> That one is the latest development version and should contain >>> JSmol.min.js >>> If you still find problems, then for sure Bob will reply and deal >>> with them. >>> >>> >>> >>> >>> -- >>> Everyone hates slow websites. So do we. >>> Make your web apps faster with AppDynamics >>> Download AppDynamics Lite for free today: >>> http://p.sf.net/sfu/appdyn_d2d_feb >>> ___ >>> Jmol-users mailing list >>> Jmol-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/jmol-users >>> >> >> >> >> -- >> ___ >> >> Nuovo indirizzo e-mail: >> simonesturni...@gmail.com >> > > > > -- > ___ > > Nuovo indirizzo e-mail: > simonesturni...@gmail.com > -- ___ Nuovo indirizzo e-mail: simonesturni...@gmail.com -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb___ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users
Re: [Jmol-users] Problem with switching to JSMol
Ok, the error message came up again, it's: 2013/2/22 Simone Sturniolo > I used the new package and, as suggested, included only the JSmol.min.js > script file. The result is a very similar error message, which now I can't > manage to reproduce because Firefox keeps simply getting stuck when I try > to load the page. I also lose all jQuery UI functionality that I had > implemented, but this might be a cascade error, so I wouldn't pay much > attention to it for now. > > Simone > > > > > 2013/2/22 Angel Herráez > >> Ah, OK >> >> JSmol distribution is still not well roganized, I'm afraid. There's >> also a bit of confusion between Jmol-JSO and JSmol (which I'm >> planning to sort out and explain in the wiki) >> >> I suggest that you download from StOlaf. The link is in the wiki >> http://wiki.jmol.org/index.php/JSmol >> (there used to be a problem with capitalization, but I checked it is >> ok recently): >> http://chemapps.stolaf.edu/jmol/jsmol.zip >> >> That one is the latest development version and should contain >> JSmol.min.js >> If you still find problems, then for sure Bob will reply and deal >> with them. >> >> >> >> >> -- >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://p.sf.net/sfu/appdyn_d2d_feb >> ___ >> Jmol-users mailing list >> Jmol-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/jmol-users >> > > > > -- > ___ > > Nuovo indirizzo e-mail: > simonesturni...@gmail.com > -- ___ Nuovo indirizzo e-mail: simonesturni...@gmail.com -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb___ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users
Re: [Jmol-users] Problem with switching to JSMol
I used the new package and, as suggested, included only the JSmol.min.js script file. The result is a very similar error message, which now I can't manage to reproduce because Firefox keeps simply getting stuck when I try to load the page. I also lose all jQuery UI functionality that I had implemented, but this might be a cascade error, so I wouldn't pay much attention to it for now. Simone 2013/2/22 Angel Herráez > Ah, OK > > JSmol distribution is still not well roganized, I'm afraid. There's > also a bit of confusion between Jmol-JSO and JSmol (which I'm > planning to sort out and explain in the wiki) > > I suggest that you download from StOlaf. The link is in the wiki > http://wiki.jmol.org/index.php/JSmol > (there used to be a problem with capitalization, but I checked it is > ok recently): > http://chemapps.stolaf.edu/jmol/jsmol.zip > > That one is the latest development version and should contain > JSmol.min.js > If you still find problems, then for sure Bob will reply and deal > with them. > > > > > -- > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > ___ > Jmol-users mailing list > Jmol-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jmol-users > -- ___ Nuovo indirizzo e-mail: simonesturni...@gmail.com -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb___ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users
Re: [Jmol-users] Problem with switching to JSMol
Ah, OK JSmol distribution is still not well roganized, I'm afraid. There's also a bit of confusion between Jmol-JSO and JSmol (which I'm planning to sort out and explain in the wiki) I suggest that you download from StOlaf. The link is in the wiki http://wiki.jmol.org/index.php/JSmol (there used to be a problem with capitalization, but I checked it is ok recently): http://chemapps.stolaf.edu/jmol/jsmol.zip That one is the latest development version and should contain JSmol.min.js If you still find problems, then for sure Bob will reply and deal with them. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users
Re: [Jmol-users] Problem with switching to JSMol
Hello Angel, 1) I downloaded the version found on sourceforge as linked on the wiki, and I can't find JSmol.min.js, which I wanted to include at first 2) that could be the reason... I checked a few pages too though. I didn't find any notable mistakes in my code, but of course, I might be wrong 3) it's not me who uses it, the function call is in JSmol.js. Simone 2013/2/22 Angel Herráez > Hello Simone > > #1 > I believe (but am not sure) that with the latest versions you only > need to call JSmol.min.js > The call to j2sjmol.js will be done internally based on the path > specufied in the Info variable. > > #2 > Information in the Wiki is not up-to-date (must find time to do it, > and the WIki was blocked to edits until recently -- volunteers are > welcome, by the way), so be careful. > Check one of StOlaf's test/demo pages to see proper code. > > #3 > I'm not sure whether/how you can use Jmol._getElement(...) > Is that dcumented? I Don't see it and it may have changed. > > > > > -- > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > ___ > Jmol-users mailing list > Jmol-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jmol-users > -- ___ Nuovo indirizzo e-mail: simonesturni...@gmail.com -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb___ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users
Re: [Jmol-users] Problem with switching to JSMol
Hello Simone #1 I believe (but am not sure) that with the latest versions you only need to call JSmol.min.js The call to j2sjmol.js will be done internally based on the path specufied in the Info variable. #2 Information in the Wiki is not up-to-date (must find time to do it, and the WIki was blocked to edits until recently -- volunteers are welcome, by the way), so be careful. Check one of StOlaf's test/demo pages to see proper code. #3 I'm not sure whether/how you can use Jmol._getElement(...) Is that dcumented? I Don't see it and it may have changed. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users
Re: [Jmol-users] Problem with switching to JSMol
Tried that. Every other order either increases the number of error messages, or leaves the situation unchanged. 2013/2/22 Paul Pillot > Order matters in your js files links > I use the following declaration: > > > > That is with the minified version and without webGL. > Paul > > Le 22 févr. 2013 à 12:43, Simone Sturniolo a écrit : > > Hi, > > I'm trying to switch my JMol applet web page to JSMol - mainly to avoid > all the problems related with ever increasing restrictive security policies > for Java. I put all the main JSMol files in a folder, j2s in a subfolder, > loaded the scripts: > > > > > > > > > > > > > completed the info section as follows: > > var main_info = { > width: jmolW, > height: jmolH, > addSelectionOptions: false, > color: "#00", > debug: false, > defaultModel: "", > memoryLimit: 512, > readyFunction: null, > script: "", > use: "HTML5", > j2sPath: "jsmol/j2s", > serverURL: "http://chemapps.stolaf.edu/jmol/jsmol/jsmol.php";, > console: "myJmol_infodiv", > scriptCallback: "afterscript_callback", > loadStructCallback: "afterload_callback", > pickCallback: "pick_callback", > src: null, > } > > left the rest of the code unchanged, basically following the instructions > found on http://wiki.jmol.org/index.php/JSmol, and now am running the > thing on Firefox 18.0.2. I get this error: > > TypeError: Jmol._getElement(...).style is undefined > > Jmol._getElement(this, "infotablediv").style.display = (tf ? "block" : > "none"); > > JSmol.js (line 395) > > What could be causing this, and what did I forget to do? > Thank you very much! > > Simone > > > > -- > ___ > > Nuovo indirizzo e-mail: > simonesturni...@gmail.com > > -- > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > > http://p.sf.net/sfu/appdyn_d2d_feb___ > Jmol-users mailing list > Jmol-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jmol-users > > > > > -- > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > ___ > Jmol-users mailing list > Jmol-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jmol-users > > -- ___ Nuovo indirizzo e-mail: simonesturni...@gmail.com -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb___ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users
Re: [Jmol-users] Problem with switching to JSMol
Order matters in your js files links I use the following declaration: That is with the minified version and without webGL. Paul Le 22 févr. 2013 à 12:43, Simone Sturniolo a écrit : > Hi, > > I'm trying to switch my JMol applet web page to JSMol - mainly to avoid all > the problems related with ever increasing restrictive security policies for > Java. I put all the main JSMol files in a folder, j2s in a subfolder, loaded > the scripts: > > > > > > > > > > > > > completed the info section as follows: > > var main_info = { > width: jmolW, > height: jmolH, > addSelectionOptions: false, > color: "#00", > debug: false, > defaultModel: "", > memoryLimit: 512, > readyFunction: null, > script: "", > use: "HTML5", > j2sPath: "jsmol/j2s", > serverURL: "http://chemapps.stolaf.edu/jmol/jsmol/jsmol.php";, > console: "myJmol_infodiv", > scriptCallback: "afterscript_callback", > loadStructCallback: "afterload_callback", > pickCallback: "pick_callback", > src: null, > } > > left the rest of the code unchanged, basically following the instructions > found on http://wiki.jmol.org/index.php/JSmol, and now am running the thing > on Firefox 18.0.2. I get this error: > > TypeError: Jmol._getElement(...).style is undefined > Jmol._getElement(this, "infotablediv").style.display = (tf ? "block" : > "none"); > JSmol.js (line 395) > > What could be causing this, and what did I forget to do? > Thank you very much! > > Simone > > > -- > ___ > > Nuovo indirizzo e-mail: > simonesturni...@gmail.com > -- > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb___ > Jmol-users mailing list > Jmol-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jmol-users -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb___ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users