Bob,
I moved the bind/unbind directly into the Jmol load script. The only thing
the javascript function does now is enter some field information after the
applet loads, at least that's the intent. Moving the bind/unbind directly
into the script solved the bind/unbind problem in MSIE, but MSIE is not
getting the javascript. The page is our virtual model kit that involved
exploring Jmol editor features. The goal here was not so much building
molecules, but rather manipulating them the same way freshman and sophomore
students manipulate Prentice/Hall models during a models lab. Nevertheless,
it turns out the build feature is an important component. The URL:
http://chemagic.com/web_molecules/script_page_large.aspx
My friend at USM is working on instruction docs, but the Molecular Editor
link leads to some page instructions.
Otis
On Thu, Mar 4, 2010 at 1:59 PM, Robert Hanson <hans...@stolaf.edu> wrote:
> where's the page?
>
>
> On Tue, Mar 2, 2010 at 11:50 PM, Otis Rothenberger <o...@chemagic.com>wrote:
>
>> Bob,
>>
>> Here is what's not working for me:
>>
>> jmolApplet(450, "load /models/alkane!ethane_mm.mol;moveto 0 1 1 1
>> 66;hover off;frank off;set PickCallBack 'processPick';javascript
>> appletLoadedA()", "01")
>>
>> MSIE picks up everything but the last javascript call. I've tried
>> appletLoadedA()
>> with and without quotes. Chrome and Firefox get it, MSIE does not.
>>
>> I have a command text field that runs Jmol script and JavaScript. If I
>> send appletLoadedA() via the javascript route in this field, MSIE gets
>> it, and the bind works. If I send it via the Jmol script route, MSIE does
>> not seem to get it. It's almost as if Jmol script javascript is not working
>> at all on MSIE.
>>
>> Otis
>>
>>
>>
>>
>>
>> On Tue, Mar 2, 2010 at 11:25 PM, Robert Hanson <hans...@stolaf.edu>wrote:
>>
>>> That makes no sense. None of this bind/unbind stuff is browser dependent.
>>> What could this be? Could be that CTRL-LEFT doesn't work in MSIE 8, period
>>> -- bound or unbound. Maybe MSIE 8 uses CTRL-LEFT for something else and
>>> doesn't pass it on the the applet. It should call up the menu.
>>>
>>>
>>>
>>> On Tue, Mar 2, 2010 at 8:49 PM, Otis Rothenberger <o...@chemagic.com>wrote:
>>>
>>>> Hello-
>>>>
>>>> I'm using the "bind" command on Jmol 11.9.30_dev to set up mouse
>>>> rotation and translation of individual molecular models or molecular
>>>> fragments in a window. The fragments are in the same frame, and they are
>>>> click pick selected for rotation/translation action.
>>>>
>>>> The following script is run via an applet loaded function at start-up.
>>>>
>>>> jmolScript("frank on;unbind 'CTRL-LEFT'; bind 'CTRL-LEFT'
>>>> 'rotateSelected Y _DELTAX;rotateSelected X _DELTAY;';unbind 'CTRL-RIGHT';
>>>> bind 'CTRL-RIGHT' 'translateSelected {_DELTAX/100 _DELTAY/-100 0};'",
>>>> "01");
>>>>
>>>> On XP, the subsequent mouse rotations and translations work fine on
>>>> Firefox and Chrome, but MSIE 8.0.6... does not "bind" or "unbind." In
>>>> MSIE,
>>>> the fragment selections are working, but the mouse bindings stay on the
>>>> Jmol
>>>> defaults.
>>>>
>>>> Does anyone know if there is a MSIE tweak for "bind" and "unbind" or is
>>>> this simply a case of it does not work on MSIE? I don't have any Mac
>>>> information on this at this point.
>>>>
>>>>
>>>> Otis
>>>>
>>>> --
>>>> Otis Rothenberger
>>>> http://chemagic.org
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Download Intel® Parallel Studio Eval
>>>> Try the new software tools for yourself. Speed compiling, find bugs
>>>> proactively, and fine-tune applications for parallel performance.
>>>> See why Intel Parallel Studio got high marks during beta.
>>>> http://p.sf.net/sfu/intel-sw-dev
>>>> _______________________________________________
>>>> 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
>>> 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
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Download Intel® Parallel Studio Eval
>>> Try the new software tools for yourself. Speed compiling, find bugs
>>> proactively, and fine-tune applications for parallel performance.
>>> See why Intel Parallel Studio got high marks during beta.
>>> http://p.sf.net/sfu/intel-sw-dev
>>>
>>> _______________________________________________
>>> Jmol-users mailing list
>>> Jmol-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>>
>>>
>>
>>
>> --
>> Otis Rothenberger
>> http://chemagic.org
>>
>>
>> ------------------------------------------------------------------------------
>> Download Intel® Parallel Studio Eval
>> Try the new software tools for yourself. Speed compiling, find bugs
>> proactively, and fine-tune applications for parallel performance.
>> See why Intel Parallel Studio got high marks during beta.
>> http://p.sf.net/sfu/intel-sw-dev
>> _______________________________________________
>> 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
> 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
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
>
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
--
Otis Rothenberger
http://chemagic.org
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users