Re: [Jmol-developers] code revision of user interface for the JSmol pop-up menuu

2013-09-28 Thread Robert Hanson
I think perhaps the only classes the menu uses are these: class="jmolPopupMenu ui-menu ui-widget ui-widget-content ui-corner-all" class="ui-corner-all" class="ui-menu ui-widget ui-widget-content ui-corner-all" class="ui-menu-icon ui-icon ui-icon-carat-1-e" class="ui-menu-item" class="ui-state

Re: [Jmol-developers] code revision of user interface for the JSmol pop-up menuu

2013-09-28 Thread Robert Hanson
What I was thinking is that the preferred form is to do something like: $("#JmolMenu").css({width:"10px",height:"1px"}) where #JmolMenu is a Sizzle selector, allowing very specific processing of the css. But I guess we're not changing the CSS, just defining it, so what makes sense is to define

Re: [Jmol-developers] code revision of user interface for the JSmol pop-up menuu

2013-09-28 Thread Angel Herráez
On 27 Sep 2013 at 17:45, Robert Hanson wrote: > Give me a chance to learn how changing the CSS in jQuery is supposed to be > done. I'm sure it's > not with style sheets. Why not? As far as I can see what it's being done now is writing css properties into the tags when these are created. Nothin