Quite a dirty trick, but this code

<style type="text/css">
.jmolPopupMenu { top:0 !important; }
</style>

puts the popupmenu aligned to the top of the page.

It seems that the popup menu div is created outside of the body. I douv¡bt 
this is good practice; it should rather be a child of the main JSmol div, 
shouldn't it?

In addition, the entries in the menu can be made closer so the menu is not 
so high in total, with a little CSS too.
Example:
.jmolPopupMenu a { 
  padding-top:1px !important; 
  padding-bottom:0px !important; 
}




------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to