Re: [Jmol-users] bug fixes

2014-08-13 Thread Simone Sturniolo
(I'm suspecting it might have been a corrupted download now though. What happened to the links? I can't seem to redownload, it says the St. Olaf webserver is unavailable) 2014-08-13 10:40 GMT+01:00 Simone Sturniolo : > Version does not work on MagresView - the error messages vary

Re: [Jmol-users] bug fixes

2014-08-13 Thread Simone Sturniolo
Version does not work on MagresView - the error messages vary from browser to browser. Chromium gives me a Jmol._Canvas2D (Jmol) "mainJmol"[x] l/j2s/core/package.js l/j2s/core/package.js -- required by w3c script failed error, while on Firefox I get two alerts when loading a file: Alert

Re: [Jmol-users] Changing language of JSMol

2014-06-16 Thread Simone Sturniolo
Thanks - the Info variable for some reason didn't work (even when I tried "en", "en_GB" and "en_US"), but "set languageTranslation OFF" did the trick for my purposes! Thanks anyway! Cheers, Simone 2014-06-16 18:05 GMT+01:00 Angel Herráez : > Oh, then also from the Info variable, but you just n

[Jmol-users] Changing language of JSMol

2014-06-16 Thread Simone Sturniolo
Hi all, does anyone know how to force JSMol to use a certain language instead of the system wide default? I tried setting the "language" option to language: "English", in the Info object passed to the applet creation method but it didn't work. Any other ideas? Cheers, Simone -- __

Re: [Jmol-users] Day of reckoning is today

2014-01-16 Thread Simone Sturniolo
Nah, now JSmol enters into some infinite or very long loop when loading the file and Firefox crashes (it happens on the line Script: file:///home/wml08325/Desktop/MagresViewHg/MagresView_1_2bis/jsmol/JSmol.min.js:331). Simone 2014/1/16 Robert Hanson > Right, the weak link now is surface creati

Re: [Jmol-users] Day of reckoning is today

2014-01-16 Thread Simone Sturniolo
I've been trying my page today with both Java and JS versions of Jmol. While JS of course works fine, I get a weird problem with the Java version - the applet loads fine, but I can't seem to load files into it. Anyone has experience with this, or knows if it could be related with the changes in sec

Re: [Jmol-users] Will unsigned applet be blocked soon?

2013-12-29 Thread Simone Sturniolo
Dear Eric, I did exactly that with my MagresView. I think it's going to be required starting January 2014, so in a few days, but I think Robert will know better on the topic of course. Simone 2013/12/28 Eric Martz > When running the unsigned Jmol applet under Java 1.7.0_45, I have > seen a re

Re: [Jmol-users] Jmol 14.0 released

2013-12-05 Thread Simone Sturniolo
Congrats Bob! I'll try to make the best of this - especially the changes to the Java applet! Cheers, Simone 2013/12/5 Greg Edwards > Bob, > > Thanks. This has been said before but it can't be said too often. Thanks > for all the work you put into this and the friendly spirit in which you > ta

Re: [Jmol-users] Firefox change

2013-09-03 Thread Simone Sturniolo
Thanks a lot! Did this happen two weeks ago? Because that's when we started having trouble as Firefox randomly stopped working with JMol at the CASTEP workshop... it was driving me mad. Is there any way to do this change through Javascript that you know of? I fear not, but if there is something...

Re: [Jmol-users] super light-weight JSmol?

2013-03-21 Thread Simone Sturniolo
This idea picks my interest, though for my application I'd like something slightly more functional (with capabilities to draw solids, lines and text, beyond the simple molecular plotting). A question: is it possible that such a JSMol "lite" version would also render faster? Or should we expect more

Re: [Jmol-users] Jmol | lcaocartoon

2013-03-15 Thread Simone Sturniolo
I think the point here is that CO2 has simple sp hybridization, not sp2... 2013/3/15 Pshemak Maslak > On 3/11/2013 2:18 PM, Robert Hanson wrote: > > Since when are they sp2 ? ;) > > Since freshman chemistry covered hybridization? > > I am guessing that there is no simple fix... > > PM > > > >

Re: [Jmol-users] R: Re: JSmol

2013-02-25 Thread Simone Sturniolo
I can add something to that - local file access with HTML5 will work with Firefox and Opera, could not work with some versions of Chrome, which has a weird security policy, if the html file is local itself. In the latter case, it can be fixed by running Chrome from command line with the option --al

Re: [Jmol-users] Problem with switching to JSMol

2013-02-22 Thread Simone Sturniolo
n 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 >>

Re: [Jmol-users] Problem with switching to JSMol

2013-02-22 Thread Simone Sturniolo
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: >> >> >>

Re: [Jmol-users] Problem with switching to JSMol

2013-02-22 Thread Simone Sturniolo
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 mess

Re: [Jmol-users] Problem with switching to JSMol

2013-02-22 Thread 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 g

Re: [Jmol-users] Problem with switching to JSMol

2013-02-22 Thread 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 implemen

Re: [Jmol-users] Problem with switching to JSMol

2013-02-22 Thread Simone Sturniolo
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

Re: [Jmol-users] Problem with switching to JSMol

2013-02-22 Thread Simone Sturniolo
; 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

[Jmol-users] Problem with switching to JSMol

2013-02-22 Thread Simone Sturniolo
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:

Re: [Jmol-users] plotting tensors on atoms

2013-02-19 Thread Simone Sturniolo
ay to represent them in JMol, unless you turn your magnetic shielding information into "fake" data for the thermal ellipsoid, which would be quite a ugly workaround. Best regards, Simone Sturniolo 2013/2/19 Dominik Greim > Hi everybody, > I wanted to know if there's a way

Re: [Jmol-users] JMol applet stopped working on Opera...?

2013-02-06 Thread Simone Sturniolo
No, I'm sorry, it's a local file. It's still incomplete. 2013/2/6 Angel Herráez > Simone, do you have a url we can test? > > > > > -- > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before th

Re: [Jmol-users] JMol applet stopped working on Opera...?

2013-02-06 Thread Simone Sturniolo
Nope. That is one of the things that confuses me. 2013/2/6 N David Brown > Are any errors reported in the JavaScript console? > > David > > > On 6 February 2013 12:21, Simone Sturniolo wrote: > >> Greetings, >> >> I am experiencing a weird problem. I h

[Jmol-users] JMol applet stopped working on Opera...?

2013-02-06 Thread Simone Sturniolo
Greetings, I am experiencing a weird problem. I have been developing a page embedding the JMol Java applet with JSO interface, and it worked fine on all the browsers I tested it on - Firefox, Chrome, and Opera. After a while of not testing it anymore on Opera, I tried it again and it doesn't work

Re: [Jmol-users] Pick Callback behaviour?

2013-01-28 Thread Simone Sturniolo
Well, for now it works, but I am not running on the same system where I observed the bug first, so I won't be able to give a good answer for a while. 2013/1/28 Robert Hanson > > > > On Mon, Jan 28, 2013 at 1:12 PM, Simone Sturniolo < > simonesturni...@gmail.com>

[Jmol-users] Pick Callback behaviour?

2013-01-28 Thread Simone Sturniolo
Hi, I've stumbled upon a peculiar behaviour in the JMol applet. I was testing with the pickCallback with a simple function which only shows a dialog with the arguments passed to the callback printed in it whenever one picks an atom. This worked fine on Chrome. The same, however, did not happen on

Re: [Jmol-users] 2D lines - free drawing

2012-12-17 Thread Simone Sturniolo
hey can be given any sort of label, including none (just a > space character). They are very light-weight. > > > > On Mon, Dec 17, 2012 at 10:32 AM, Simone Sturniolo < > simonesturni...@gmail.com> wrote: > >> Not especially important... for now I'm using the cylind

Re: [Jmol-users] 2D lines - free drawing

2012-12-17 Thread Simone Sturniolo
; > On Mon, Dec 17, 2012 at 8:21 AM, Simone Sturniolo < > simonesturni...@gmail.com> wrote: > >> Hello everyone, >> >> maybe it's just me not being able to find this in the documentation, >> but... is there a way to draw 2D lines (lines that are not th

[Jmol-users] 2D lines - free drawing

2012-12-17 Thread Simone Sturniolo
Hello everyone, maybe it's just me not being able to find this in the documentation, but... is there a way to draw 2D lines (lines that are not thin cylinders) in Jmol freely, without them being measures or H-bonds? Thank you very much. Simone -- ___ Nuovo indirizzo e-mail: simones

[Jmol-users] Attachment

2012-12-13 Thread Simone Sturniolo
Sorry, forgot to attach the file. Here it is. Simone -- ___ Nuovo indirizzo e-mail: simonesturni...@gmail.com http://www.xml-cml.org/schema"; xsi:schemaLocation="http://www.xml-cml.org/schema../../schema.xsd"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:ccml="http:

[Jmol-users] Bug in CML reading?

2012-12-13 Thread Simone Sturniolo
Hello, I've been playing around with the various XML file readers in the latest update of Jmol available on SourceForge, and I found what could be a bug. I tried opening the attached file, which opens just fine in older Jmol versions. In the last one, though, it gives off a Error reading XML: nul

Re: [Jmol-users] LoadInline function in JSO...?

2012-11-29 Thread Simone Sturniolo
Oh, you're right, thank you very much. I took it for granted that it would be a Javascript function and didn't think about looking into actual scripting. Sorry for that. Simone 2012/11/29 Angel Herráez > Simone, the command is "load data" > follow that in the documentation > > > > ---

[Jmol-users] LoadInline function in JSO...?

2012-11-29 Thread Simone Sturniolo
Hello everyone, I'm developing a webpage embedding the JMol applet using JSO. I would like to be able to load molecular models stored in strings - created either via scripting, or by loading user files. I can't seem however to find a JSO equivalent for the old jslibrary "jmolLoadInline" function.

Re: [Jmol-users] Jmol call function

2012-11-28 Thread Simone Sturniolo
I have just started working with JSO, but I can tell you at least that you can replace the jmol script ("model NEXT") with a Javascript function. You only have to pass an array [, , ...] to the jmolButton function. If your function does simple operations which can be coded in Javascript, that would

Re: [Jmol-users] Jmol 13.0.9/13.1.9 released

2012-11-26 Thread Simone Sturniolo
26, 2012 at 9:28 AM, Robert Hanson wrote: > >> >> >> On Mon, Nov 26, 2012 at 6:00 AM, Simone Sturniolo < >> simonesturni...@gmail.com> wrote: >> >>> ellipsoid test axes {1.0 0.0 0.0} {0.0 0.5 0.0} {0.0 0.0 0.5} >> >> >> Ah, OK. I may have mi

Re: [Jmol-users] Jmol 13.0.9/13.1.9 released

2012-11-26 Thread Simone Sturniolo
0 0.5} and I still get a ball). Simone 2012/11/26 Robert Hanson > send me the offending file, please. I was sure I fixed that. > > > > On Mon, Nov 26, 2012 at 5:34 AM, Simone Sturniolo < > simonesturni...@gmail.com> wrote: > >> Hi, >> >> I tried down

Re: [Jmol-users] Jmol 13.0.9/13.1.9 released

2012-11-26 Thread Simone Sturniolo
Hi, I tried downloading the new 13.1.9 release from Sourceforge, and even compiling the source code for 13.1.10_dev, but I still have bugs with ellipsoids. Now, instead of a dot, I see a large square when I try them. It seems odd to me that it could be system-specific, but just to stay on the safe

Re: [Jmol-users] More oddities

2012-11-23 Thread Simone Sturniolo
me reason? Simone 2012/11/23 Robert Hanson > color ellipsoids translucent > > > > > On Thu, Nov 22, 2012 at 11:30 AM, Simone Sturniolo < > simonesturni...@gmail.com> wrote: > >> Hi everyone, >> >> I've been working with JMol version 13.1

[Jmol-users] More oddities

2012-11-22 Thread Simone Sturniolo
Hi everyone, I've been working with JMol version 13.1.9_dev, especially with the console, for a scripting project. In particular, I've been playing around with ellipsoids. I found out that there is some weird behaviour on their part: 1) in versions 13.1.9 and 13.1.8, ellipsoids created with the c

Re: [Jmol-users] Application oddities - V13.1.9_dev

2012-11-22 Thread Simone Sturniolo
Ah, good one! Thanks. Now that I check, atomno is one of the [atom properties], so it's an analogous syntax to some other expressions I've used already. The @ shortcut however is really convenient. 2012/11/22 Angel Herráez > Yes, welcome to Jmol community > > Ah, you can also use the atom numb

Re: [Jmol-users] Application oddities - V13.1.9_dev

2012-11-22 Thread Simone Sturniolo
Oh, good to know. Currently I am working on 13.1.9_dev, so it's a new bug. I am interested into using this notation because it's very regular and seems more practical for scripting than, say, using the full chemical name. By the way, hello everyone. I'm a new one but I'm going to hang around on th

Re: [Jmol-users] Application oddities - V13.1.9_dev

2012-11-22 Thread Simone Sturniolo
I support this idea. Also, I remember reading somewhere that selectionHalos is supposed to be set ON by default when a file is loaded - which in my case actually does not happen when I load from the scripting console. Also on the topic of selection & scripting console (but otherwise slightly off-t