eeetc — 2010-03-02T09:14:48-05:00 — #1
How can I make a menu like Amazon's. Is it JS?
Please see attachment
paul_wilkins — 2010-03-02T16:24:36-05:00 — #2
stomme_poes — 2010-03-03T04:23:49-05:00 — #3
If the CSS is too difficult to read there (what's going on) then Sons of Suckerfish has a kinda more readable version.
They prolly changed it but I remember someone saying they liked the expansion menu at Amazon and I was like, what expansion menu?
Earlier, they had a JS expansion menu, where if you were like me and had no scripts, the menu was just completely open and looked like a regular list of links. With JS on, you only saw the main headers (books, music, etc).
alexdawson — 2010-03-04T18:56:01-05:00 — #4
stomme_poes — 2010-03-05T02:52:11-05:00 — #5
No, no display: none. Remember how screen readers deal with that.
It's the pull-offscreen in -bazillion units method.
What I have discovered is that if you want any keyboard functionality (if you're bringing the individual sub-list items back onscreen with :focus), your left or left-margin has to be in px. I don't know why, but it never worked for me with "em" units. ????