Microblogi: A very long article Wikipedia article on the orientation of toilet paper [7. kes klo 22:52] [V]

Tiistai, 16. syyskuuta 2008

Category Menu

Käännös: [ Google ]

Kategoriat: [ Blogi ]

I implemented menus for the category list, because it was uselessly long. Items that contain subitems are in bold font. Anyway, indenting subcategories with non-breakable spaces has been annoying me for a long time, but I never had a good reason to rewrite the categorytree module to get rid of them. It seems that making a menu was a good enough reason.

The mechanism for the menu (using purely CSS) is adapted from Eric Meyer's Pure CSS Menus. I have no idea if it works with IE (at the time Meyer implemented his menu in 2002, IE's CSS engine was too crappy to render them properly), but who cares about IE users anyway.

[ Postattu 16. syyskuuta 2008 klo 00.32 | ei kommenttia | ]