Eric,
That script is way too complex for me to reproduce here, but I did fix the
echo alignment. There were a couple of bugs there, particularly with the
y-offset of centered echos. All should be fixed. I'll see if we can get RC13
out this weekend so you can check it.
Anything else you are finding?
Bob
On Fri, Sep 5, 2008 at 4:25 PM, Eric Martz <[EMAIL PROTECTED]>wrote:
> Hi, Bob,
>
> This does not have to work in 11.6 (final release).
>
> On April 13, 2007, you announced that echos can be made into buttons
> that, when clicked, execute a specified script, giving this example:
> http://chemapps.stolaf.edu/jmol/docs/examples-11/buttons.htm
> This works fine for me. I can use this for now.
>
> The manual states that an image file can be displayed as an echo.
>
> I am trying to combine the two: display an image of a button, and
> have it respond to a click by executing a specified script. Because
> it will look like a button, I can avoid the long label that I might
> think best with a text echo "Click Here to Center All", just labeling
> the button "Center All". Plus, it will be more intuitive -- and COOL!
>
> I am having several problems displaying the image correctly, and
> these also keep the portion of the image that is clickable to be very
> tiny. I have placed a demo listing the issues here:
>
> http://www.bioinformatics.org/jmol-tutorials/jtat_2008_08_05/jtatdemo/test1/contents.htm
>
> Thanks, -Eric
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
--
Robert M. Hanson
Professor of Chemistry
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
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users