JM****@gmail.com wrote:
Not sure if this has been covered ( a google search came
up pretty bare).
The question gets asked, but there are not really any good 'off the
shelf' cascading menus so there tend to be few recommendations (and
especially recommendations by people who understand the issues).
I have a site that:
- has multi-level cascading menus
- floats center of the browser window
- Will have fairly heavy Safari and Firefox views (~25%)
Finding a cascading menu is easy, I trip over about half a
dozen of those a week. The problem is when you maximize on
a big screen in firefox, some pages will lose the right-hand
side scrollbar. Because the cascading menus float along with
the page, the "distance from center" most cascading menus
use is off by hte distance of what would be hte scroll bar.
You have a reason to notice that issue, but how many menus don't fall
apart as soon as you re-size the font, or can be keyboard navigated, or
spidered by search engines, or degrade cleanly on browsers that do not
support the required dynamic features (or scripting at all)?
Your offset issue probably follows from differences between the actual
width of the viewport and the innerWidth properties commonly used on
non-IE browsers to gauge viewport width, and compounded by making
assumptions about the width of scrollbars (usually 16px, but only on
default installations of the windows OS, and some others).
Does anyone know of a cascading meu that does NOT have this
problem (i.e. center foating screen, menus dont knock off
when the browser is maximized in Firefox?
There comes a point where if you have specific requirements it might be
best to hire someone to write the script for you. Of course you need to
find someone capable of doing so and willing to do it for what you are
capable of paying, and you need to give them a very clear and
comprehensive specification so that they have to create what you ask for
rather than their own limited approximation.
Richard.