I found it.
*>
$(jmolApplet0._applet.viewer.jmolpopup.popupMenu.container[0]).menu().menu('refresh').show()*
I don't know exactly what it going on there with the two versions of
jQuery, but if you issue this:
*jmolApplet0._applet.viewer.jmolpopup.popupMenu.container =
$(jmolApplet0._applet.viewer.jmolpopup.popupMenu.container[0])*
The menu will then work. This basically rewraps the actual menu DOM object
(.....[0]) in a wrapper for the jQuery 1.6 object, which apparently is
where the menu widget was added.
OK, I know.
Eric, you have somehow loaded a second version of jQuery after JSmol's
version. JSmolMenu uses the jQuery object directly. (This is a mistake on
my part.) It should be using JSmol's version of jQuery but instead is using
yours. So the menu widget was not implemented for JSmol.
I can actually fix that....
Bob
------------------------------------------------------------------------------
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users