Is there any possibility that you are using an old version of jQuery? It looks like there is a compatibility issue there.
If you want to track this down... In jsmol/j2s/core there is a file, coremenu.z.js. Open it up and append this to it: Swing = Jmol.Swing; Swing.showMenu = function(menu, x, y) { // called by javajs.swing.JPopupMenu // allow for a user callback for customization of menu if (Jmol._showMenuCallback) Jmol._showMenuCallback(menu, x, y); if (menu.tainted) { menu.container.html(menu.toHTML()); menu.tainted = false; Swing.bindMenuActionCommands(menu, true); } menu.setPosition(); * menu.container.hide().menu().menu('refresh').show();* menu.visible = true; menu.timestamp = System.currentTimeMillis(); menu.dragBind(true); menu.container.unbind('clickoutjsmol'); if (!Jmol._persistentMenu) menu.container.bind('clickoutjsmol mousemoveoutjsmol', function(evspecial, target, ev) { if (System.currentTimeMillis() - menu.timestamp > 1000) Swing.hideMenu(menu); }); menu.container.bind("contextmenu", function() {return false;}) } Your job is to figure out what is happening in that. Bob
------------------------------------------------------------------------------
_______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users