Microblog: A very long article Wikipedia article on the orientation of toilet paper [Jun 7th, 22:52] [R]

Tuesday, September 16th, 2008

Category Menu

Categories: [ Blog ]

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.

[ Posted on September 16th, 2008 at 00:32 | no comment | ]

Trackback Address

https://weber.fi.eu.org/blog/Blog/category_menu.trackback

Comments

No comment

Add comments

You can use the following HTML tags: <p>, <br>, <em> <strong>, <pre>. URLs starting with http:// will automatically be turned into hyperlinks.

(optional)
(optional)


Save my Name and URL/Email for next time

4 / 1 =