Help - Search - Members - Calendar
Full Version: Jump menu's
Movable Type Community Forum > Additional Resources > Tips and Tricks
sitelord
I was wondering if anyone had any clues/insight into building a jump menu for archives? Here's an example(some chick's greymatter blog) and wanted to know how it was done.
silverberry
For Monthly and Category Archives. For Daily -- you'd just change the type to Daily -- be sure you've got Daily archives turned on -- and wala.

CODE
                         <form>
<select onChange="document.location=options[selectedIndex].value;">
<option value="">Monthly Archives</option>
<MTArchiveList archive_type="Monthly">
<option value="<$MTArchiveLink$>"><$MTArchiveTitle$></option>
</MTArchiveList>
</select>
<br><br>
<select onChange="document.location=options[selectedIndex].value;">
<option value="">Categories</option>
<MTArchiveList archive_type="Category">
<option value="<$MTArchiveLink$>"><$MTArchiveTitle$></option>
</MTArchiveList>
</select>

</form>
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.