PDA

View Full Version : smarter dropdowns




decksnap
Mar 12, 2008, 05:48 PM
I'm looking for a dropdown system that doesn't require the level 1 navigation elements to be equally sized. I have a text-based L1 nav that obviously has different length titles, but every dropdown tutorial I find seems to require forcing a fixed-width onto the L1 menu items.

The reason is we're plugged into a CMS that allows the client to turn nav items on and off, rearrange them etc. Essentially looking for a drop-down scheme that can figure out where to draw itself without the L1 items being fixed in position or width.

Is this even possible? Sorry.:o



ChicoWeb
Mar 12, 2008, 11:14 PM
Have you tried just not declaring a width, just padding. Just a thought, I don't know if it would work, but thats how tables work.