Bob,

Right now I pass it from a server variable to a hidden field on the page load. This is followed by an onLoad call to a TimeOut() load into Jmol. I suspect that timing is the issue. I have to find a better way to do it. AJAX per your subsequent email may be the answer. If I understand AJAX, I will not have to do a new page load.

I'm also having problems with triple bonds (#) in the query string. I guess I need to try sending escaped text.

Otis

On 5/31/2010 6:33 PM, Robert Hanson wrote:
Otis, I had to load that page twice to have it work. Don't know why...

Bob

On Mon, May 31, 2010 at 1:09 PM, Otis Rothenberger <osrot...@chemagic.com <mailto:osrot...@chemagic.com>> wrote:

    Hello Miguel,

    I have Bob's IU server page discovery hooked to an unsigned applet via
    our server at chemagic. The following link should take you directly to
    the model your son needs:

    http://chemagic.com/web_molecules/script_page_large.aspx?smiles=C=CCSO


    Otis




    On 5/31/2010 2:01 PM, Angel Herráez wrote:
    > Coolest method:
    >
    > 1. find the SMILES string for 2-propenyl sulfenic acid
    > 2. get the latest Jmol 12.0.RC
    > 3. open the script console
    > 4. type
    >     load "$C=CCSO"
    > 5. watch the 3D structure appear in Jmol
    >
    > Kudos to Bob!
    >
    >
    >
    >
    
------------------------------------------------------------------------------
    >
    > _______________________________________________
    > Jmol-users mailing list
    > Jmol-users@lists.sourceforge.net
    <mailto:Jmol-users@lists.sourceforge.net>
    > https://lists.sourceforge.net/lists/listinfo/jmol-users
    >
    >

    --
    Otis Rothenberger
    chemagic.com <http://chemagic.com>




    
------------------------------------------------------------------------------

    _______________________________________________
    Jmol-users mailing list
    Jmol-users@lists.sourceforge.net
    <mailto:Jmol-users@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/jmol-users




--
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


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


------------------------------------------------------------------------------


_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

--
Otis Rothenberger
chemagic.com

------------------------------------------------------------------------------

_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to