Rolf, you may be right, but

1. the css solution is much cleaner in code and smooth in behaviour; 
apart from window resize it responds perfectly to font size change or 
browser zoom setting

2. based on my past experience, the js code for resizing is rather 
browser-dependent and so tricky to achieve properly

3. I just checked and --despite my previous comment-- that is not the 
problem. See e.g.
http://biomodel.uah.es/Jmol/resizable/model-1_1a-js2.htm
where the popup menu works just fine

El 4 Feb 2015 a las 11:07, Rolf Huehne escribió:
> Since Javascript must be enabled in the page anyway, the 'window.resize' 
> event could be used to adjust panels automatically using Javascript.


Eric, I think you were seeing "display:none" because when you open 
the inspector the popup closes. If you reopen the popup and then move 
the inspector target, it says "block" -- I just saw that effect here



------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to