oh -- so -- great! Please let me know what you figure out. I like the idea
of using jQuery. See if you can identify the minimum amount of code
(jQueryUI.js, more?) that is necessary to implement this. I assume you mean
something like what is shown at
http://jqueryui.com/menu/
right?
Bob
On Mon, Dec 17, 2012 at 11:52 AM, Robert Hanson <[email protected]> wrote:
> yes, and these are dynamically produced, so basically between the time the
> person right-clicks and the time the menu is displayed it is largely
> recreated.
>
> Bob
>
>
>
> On Mon, Dec 17, 2012 at 11:47 AM, Michael Evans <[email protected]>wrote:
>
>> Bob,
>> Not sure if anyone has touched base with you about this off-list, but I
>> played around with making a simple popup menu using jQuery. Parsing a .tab
>> to produce the appropriate menu structure shouldn't be too difficult;
>> figuring out submenus will be the trickiest part. Some time just became
>> available for me this afternoon, so I'll try to work on it. Just to make
>> sure I'm wrapping my mind around this correctly, the structure is...
>>
>> Item type/ID (tab) object "path" (tab) text to display (tab) Jmol
>> commands (tab) enabled
>>
>> Is this correct? Am I missing some subtle details? Let me know when you
>> get a chance. Thanks!
>>
>> Cheers, Mike
>>
>>
>> ---
>> Michael Evans
>> Organic Chemistry Graduate Student, Moore Group
>> University of Illinois, Urbana-Champaign
>>
>>
>>
>> On Sun, Dec 16, 2012 at 2:30 PM, Robert Hanson <[email protected]>wrote:
>>
>>> continuing this thread -- The only things missing from JSmol now, as far
>>> as I can tell, include:
>>>
>>> -- popup menu
>>> -- modelKit mode (no menu for that)
>>> -- language translation
>>> -- actual console
>>>
>>> Of these, it seems to me the popup menu might be the easiest to
>>> implement. Any ideas on that which would not involve huge additional
>>> resources? Something quite simple?
>>>
>>> The task is to take a tab-deliminated structure such as
>>> http://chemapps.stolaf.edu/jmol/docs/misc/menu.tab and turn that into a
>>> pop-up menu on the fly.
>>>
>>> Bob
>>>
>>>
>>> Bob
>>>
>>>
>>>
>>> On Sat, Dec 8, 2012 at 7:10 AM, Robert Hanson <[email protected]>wrote:
>>>
>>>> This is done. We now have full script queuing, try/catch, function,
>>>> delay, move, moveTo, compare, timeout, animation, spin, and vibration in
>>>> JSmol.
>>>>
>>>>
>>>> On Fri, Nov 30, 2012 at 11:53 AM, Robert Hanson <[email protected]>wrote:
>>>>
>>>>> OK, I remember: script queuing, as well as quit and exit commands.
>>>>> Very challenging with asynchronous execution of scripts, which I
>>>>> introduced
>>>>> to handle move, moveTo, delay, timeout, animation, spin, and vibration
>>>>> commands. Have to think hard on that this week end.
>>>>>
>>>>>
>>>>>
>>>>> On Wed, Nov 28, 2012 at 7:26 PM, Robert Hanson <[email protected]>wrote:
>>>>>
>>>>>> got it. -- required modifications to JSmoljQuery.js and JSmolCore.js
>>>>>>
>>>>>> Safari should be reading binary files properly now.
>>>>>> http://chemapps.stolaf.edu/jmol/jsmol/test2.htm?USE=HTML5 --
>>>>>> "water.xyz.gz" or "mo homo SQUARED" links in HTML5
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Robert M. Hanson
>>>>>> Larson-Anderson Professor of Chemistry
>>>>>> Chair, Chemistry Department
>>>>>> 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
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Robert M. Hanson
>>>>> Larson-Anderson Professor of Chemistry
>>>>> Chair, Chemistry Department
>>>>> 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
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Robert M. Hanson
>>>> Larson-Anderson Professor of Chemistry
>>>> Chair, Chemistry Department
>>>> 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
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Robert M. Hanson
>>> Larson-Anderson Professor of Chemistry
>>> Chair, Chemistry Department
>>> 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
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
>>> Remotely access PCs and mobile devices and provide instant support
>>> Improve your efficiency, and focus on delivering more value-add services
>>> Discover what IT Professionals Know. Rescue delivers
>>> http://p.sf.net/sfu/logmein_12329d2d
>>>
>>> _______________________________________________
>>> Jmol-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
>> Remotely access PCs and mobile devices and provide instant support
>> Improve your efficiency, and focus on delivering more value-add services
>> Discover what IT Professionals Know. Rescue delivers
>> http://p.sf.net/sfu/logmein_12329d2d
>> _______________________________________________
>> Jmol-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>
>>
>
>
> --
> Robert M. Hanson
> Larson-Anderson Professor of Chemistry
> Chair, Chemistry Department
> 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
>
>
>
--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Chemistry Department
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
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users