Thanks Bob.  I'll look at that. 

Jonathan
On Jul 14, 2010, at 11:20 AM, [email protected] wrote:

> Date: Tue, 13 Jul 2010 17:16:15 -0500
> From: Robert Hanson <[email protected]>
> Subject: Re: [Jmol-users] problem setting element colors with
>       JmolColorPickerBox
> To: [email protected]
> Message-ID:
>       <[email protected]>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> That sounds like a great idea, Jonathan. You could follow the method I used
> for buttons:
> 
> // bh 1/2010  -- adds option to run a JavaScript function from any Jmol
> control.
> //               This is accomplished by passing an array rather than a
> script:
> //               jmolHref([myfunc,"my param 1", "my param 2"], "testing")
> //               function myfunc(jmolControlObject, [myfunc,"my param 1",
> "my param 2"], target){...}
> //               and allows much more flexibility with responding to
> controls
> 
> Bob

                         Dr. Jonathan H. Gutow
Chemistry Department                                [email protected]
UW-Oshkosh                                          Office: 920-424-1326
800 Algoma Boulevard                                FAX:920-424-2042
Oshkosh, WI 54901
                http://www.uwosh.edu/facstaff/gutow

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to