[Jmol-users] radio buttons

2012-10-06 Thread Pshemak Maslak
I need help with a couple of radio buttons: The current code I'm using is: var radios = new Array(); radios[0] = [set background [xF0F0F0], light bckg, true]; radios[1] = [set background black, black bckg]; Jmol.jmolRadioGroup(jmol5, radios); And the error I keep getting is: Uncaught

Re: [Jmol-users] error when running recent revision from repository

2012-10-06 Thread Nicolas Vervelle
Hi, I suspect that Bob has modified the source code of vecmath that is included in Jmol adding methods. Bob, if that's the case, I think you should move the javax.vecmath package into a org.jmol... package, so that there's no conflicts with system javax.vecmath. Vecmath is included in some

Re: [Jmol-users] radio buttons

2012-10-06 Thread Robert Hanson
Oops. Clearly I never tested radio buttons with JmolJSO. Attached is a new JmolControls.js Bob JmolControls.js Description: JavaScript source -- Don't let slow site performance ruin your business. Deploy New Relic APM

Re: [Jmol-users] error when running recent revision from repository

2012-10-06 Thread Robert Hanson
[this should be on the developer list, not user, but...] It's probable that your .classpath file is not up to date. On the Jmol trunk I have removed the vecmath package from the required Jar set and replaced it with an optimized version in src/javax/vecmath. You need to right-click on project

Re: [Jmol-users] error when running recent revision from repository

2012-10-06 Thread Robert Hanson
right, that makes sense. Especially if Jmol is being used as an embedded piece, we need to do that. OK. That sounds smart. Will do that right now. Bob On Sat, Oct 6, 2012 at 3:35 PM, Nicolas Vervelle nverve...@gmail.comwrote: Hi, I suspect that Bob has modified the source code of vecmath

Re: [Jmol-users] error when running recent revision from repository

2012-10-06 Thread Alexander Rose
Thanks, just checked it out, solves my problem. Best Alexander Am 06.10.2012 um 22:57 schrieb Robert Hanson: right, that makes sense. Especially if Jmol is being used as an embedded piece, we need to do that. OK. That sounds smart. Will do that right now. Bob On Sat, Oct 6, 2012 at

Re: [Jmol-users] error when running recent revision from repository

2012-10-06 Thread Robert Hanson
of course, now you need to check it all out again, because I took Nico's advice On Sat, Oct 6, 2012 at 4:15 PM, Alexander Rose alexander.r...@weirdbyte.dewrote: Thanks, just checked it out, solves my problem. Best Alexander Am 06.10.2012 um 22:57 schrieb Robert Hanson: right, that