@lists.sourceforge.net
Subject: Re: [Jmol-users] problem setting element colors with JmolColorPickerBox
Actually it would not be hard to make an extended version of the ColorPickerBox
that doesn't take a script but a name of a function which would generate the
scriptstr with $COLOR$ in the appropriate
Subject: Re: [Jmol-users] problem setting element colorswith
JmolColorPickerBox
Piero,
Please include the part where you call the ColorPickerBox. You are supposed to
pass the ColorPickerBox the string, which in the formulation you provide may
not have the necessary space before
Thanks Bob. I'll look at that.
Jonathan
On Jul 14, 2010, at 11:20 AM, jmol-users-requ...@lists.sourceforge.net wrote:
Date: Tue, 13 Jul 2010 17:16:15 -0500
From: Robert Hanson hans...@stolaf.edu
Subject: Re: [Jmol-users] problem setting element colors with
JmolColorPickerBox
Piero, I don't get the whole picture of your problem, but you have
select name=colourbyElementList id=colourbyElementList size=1
class= onchange=elementSelected(value)
var scriptColor = ;
function elementSelected(element){
scriptColor = ' color + element + $COLOR$';
return
13, 2010 2:08 PM
To: jmol-users@lists.sourceforge.net
Subject: Re: [Jmol-users] problem setting element colors with
JmolColorPickerBox
Piero, I don't get the whole picture of your problem, but you have
select name=colourbyElementList id=colourbyElementList size=1
class= onchange=elementSelected
I still think you are mixing javascript with JmolScript. The
elementSelected() function is called by onchange of the select
control
El 13 Jul 2010 a las 14:59, P.Canepa escribió:
yes u pass it to Jmol with strApp+=JmolColorPickerBox( + scriptColor +
,[255,255,255]); \n
-requ...@lists.sourceforge.net wrote:
Date: Tue, 13 Jul 2010 11:44:57 +0100
From: P.Canepa pc...@kent.ac.uk
Subject: [Jmol-users] problem setting element colors with
JmolColorPickerBox
To: jmol-users@lists.sourceforge.net
jmol-users@lists.sourceforge.net
Message-ID
:
Date: Tue, 13 Jul 2010 11:44:57 +0100
From: P.Canepa pc...@kent.ac.uk
Subject: [Jmol-users] problem setting element colors with
JmolColorPickerBox
To: jmol-users@lists.sourceforge.net
jmol-users@lists.sourceforge.net
Message-ID:
42054e10c02cd44d81ef510077a30a073829ed4
8 matches
Mail list logo