MT Drop Down Menu Codes

| No Comments
My friend, Justin asked me how to make the drop down menu for the selection of month or category archives which can be found on left side of my navigation, Archives. Here are the dirty codes:

Month Archives:
<select style="font-size:10px; font-family:Verdana, Arial, Helvetica, 
sans-serif;" onChange="document.location=options[selectedIndex].value">
<option>Select Month...</option>
<MTArchiveList archive_type="Monthly">
         <option value="<$MTArchiveLink$>"><$MTArchiveTitle$> - 
(<$MTArchiveCount$>)</option>
</MTArchiveList>
</select>

It should look like:

Category Archives:
<select style="font-size:10px; font-family:Verdana, Arial, Helvetica, 
sans-serif;" onChange="document.location=options[selectedIndex].value">
<option>Select Category...</option>
<MTArchiveList archive_type="Category">
<option value="<$MTArchiveLink$>"><$MTArchiveTitle$> - 
(<$MTArchiveCount$>)</option>
</MTArchiveList>
</select>

Yet, it should look like:

Reference via System.out.Blog, the girlie matters, and Movable Type User Manual.

Archives

Master Archives

What am I doing

    Tag cloud

    View All Tags

    SUBSCRIBE

    Powered by Movable Type 4.23-en