Ich bins "schon" wieder. Ich möchte gern für spezielle Kategorien rechts in der Sidebar ein Dropdown-Menü einfügen. Nun habe ich ca. 28 Kategorien und würde gerne nicht jede einzelne definieren, also so wie hier:
PHP
<?php if(is_category(3)) {?>
<h2>Schnellübersicht</h2>
<ul>
<form>
<select size=1 name="Auswahl" onChange="Go(this.form.Auswahl.options[this.form.Auswahl.options.selectedIndex].value)" style="border: 1px solid #999999; font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 10px; font-style: normal; line-height: 12px; color: black; clear: none; float: none; width: 150px; background-color: #FFFFFF;">
<option value="nichts">Filme nach Titel
<option value="http://blog-plus.de/?cat=3"><?php list_cats_alt(1,'All','name','asc','',false,0,1,0,1,false,0,0,0,'','','3',FALSE); ?>
<option value="http://blog-plus.de/?cat=4"><?php list_cats_alt(1,'All','name','asc','',false,0,1,0,1,false,0,0,0,'','','4',FALSE); ?>
<option value="http://blog-plus.de/?cat=5"><?php list_cats_alt(1,'All','name','asc','',false,0,1,0,1,false,0,0,0,'','','5',FALSE); ?>
<option value="http://blog-plus.de/?cat=6"><?php list_cats_alt(1,'All','name','asc','',false,0,1,0,1,false,0,0,0,'','','6',FALSE); ?>
<option value="http://blog-plus.de/?cat=7"><?php list_cats_alt(1,'All','name','asc','',false,0,1,0,1,false,0,0,0,'','','7',FALSE); ?>
</select></form>
<?php }?>
Alles anzeigen
Leider ist es nicht möglich das hier so zu schreiben:
.
.
.
Gäbe es noch eine andere Möglichkeit? Vielen Dank im Voraus.