There was a bug that was recently fixed that caused problems with language;
RCSB probably has an older version of Jmol. If they switch up to 14.4 (just
released), then that may go away.
forwarding this message to RCSB.
On Wed, Oct 14, 2015 at 4:27 AM, Angel Herráez wrote:
> Ok, this is not goi
Ok, this is not going to help much, but I will throw my comment in...
I've also had the problem of popup menu not showing in some of my pages,
but I could never isolate the circumstances. I was suspecting a CSS conflict,
indeed.
I'm happy to hear that some feasible cause has been discovered.
OK, JSmol is now set up to make sure it uses Jmol's version of jQuery, not
some later overlaid version, for the menu.
And the CSS looks great!
[image: Inline image 1]
On Tue, Oct 13, 2015 at 9:27 PM, Robert Hanson wrote:
> I found it.
>
> *>
> $(jmolApplet0._applet.viewer.jmolpopup.popupMenu.
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.view
... but here is the real issue:
*> jmolApplet0._applet.viewer.jmolpopup.popupMenu.show(null, 40, 40)*
This is supposed to work, but it does not. An error is thrown in that
method, which is in JSmolMenu.js:
TypeError: a.container.hide(...).menu is not a function
That's a jQuery call that looks
... so let's check that page. Using the page Inspector in Firefox, we see:
So there it is. id jmolApplet0_popupMenu_top_1. That's our ticket. I
see there that it is display: none. Let's change that.
*> $("#jmolApplet0_popupMenu_top_1").show()*
Yup, there it is. Looks pretty sickly, though
... it's enabled:
*> jmolApplet0._applet.viewer.menuEnabled()*
true
... this is supposed to call up the menu, but it does not. (It does at
http://chemapps.stolaf.edu/jmol/jsmol/jsmol.htm)
*> jmolApplet0._applet.viewer.popupMenu(100, 100, 'j')*
... let's check the Jmol JavaScript console:
*>
Here we go...
At http://bioinformatics.org/firstglance/fgij/fg.htm?mol=1d66&NOJAVA with
the developer console, we see that this is jmolApplet0. You have the menu
code:
*> jmolApplet0._applet.viewer.getMenu("j")*
"# popupMenu.mnu Jmol version 14.3.7_2014.09.20 2014-09-20 12:23
# Part I -- Menu
OK, I will try this again.
On Tue, Oct 13, 2015 at 4:48 PM, Eric Martz
wrote:
> In FirstGlance in Jmol (firstglance.jmol.org) I have not yet experimented
> with platformSpeed. It is on my "to do" list.
>
> Suggestions are welcome.
>
> Can the speed of the platform be determined somehow, so that
In FirstGlance in Jmol (firstglance.jmol.org) I have not yet
experimented with platformSpeed. It is on my "to do" list.
Suggestions are welcome.
Can the speed of the platform be determined somehow, so that
platformSpeed can be automatically set to an appropriate value without
user interventio
Dear Gabriel,
I have been unable to find out why FirstGlance will not show the JSmol
menu. As you said, when using Jmol with Java, the menu does appear.
Several times I have asked for help. Some help was offered but still I
cannot find the problem.
But why do you need the menu? In FirstGlanc
For large systems such as large proteins or extensive surfaces, it is
important to
set platformSpeed
to a suitable number for efficient rotations. You cannot expect it to run
as fast as you are used to on Java.
--
___
12 matches
Mail list logo