November 22, 2004
Pull Down Menus
To save space on your sidebar listing of categories or monthly archives, you might want to use a pull-down menu like so:
To do this for your category list, make sure that you have category archiving selected as an archiving option in your weblog config, and add the following code to your sidebar:
You can also create a pulldown menu for your monthly archives using the following code:
Note you can use a different MT date format in place of the one given. Also, you can create a new form name and select name; just swap out the new names on the OnChange line.
Expandable List Menus - a way of showing a list of entries by category, used in LMT in the Table of Contents.
Hierarchical Dropdown List of Category Archives - David Raynes' drop down menus that show the category hierarchy if you use subcategories.
Brad Choate's PHP solution for Pull Down Menus that preserve subcategory hierarchy
Has this tutorial been helpful? Please consider linking to Learning Movable Type at http://learningmovabletype.com/ . Thanks!
If you would like to send a trackback
please use the following URL: http://learningmovabletype.com/cgi-bin/mt32/mt-tb.cgi/385
First, there was the monthly archive dropdown featured on Learning Movable Type. I thought it was a great idea, especially......[read more]
Tracked: February 10, 2005 04:22 AM