bei "onchange" soll das Dropdown auf den ensprechend angeklickten artikel wechseln Artikel wechseln, aber es will einfach nicht.
Sieht jmd den Fehler?
im "output" vom Modul habe ich:
Code: Alles auswählen
echo '<form name="select1"><select name="select" onchange="Javascript:if(this.options.value != \'0\'){location=this.options.value;}">';
echo '<option selected value="0">Bitte wählen sie ein Produkt</option>';
while ($db->next_record())
{
echo '<option value="http://www.domain.de/neu/Kategorie/index-a-'.$db->f("idart").'.html">'.$db->f("title").'</option><br>'."\n";
}
echo '</select></form>'
Code: Alles auswählen
<form name="select1"><select name="select" onchange="Javascript:if(this.options.value != '0'){location=this.options.value;}"><option selected value="0">Bitte wählen sie ein Produkt</option><option value="http://www.domain.de/neu/KATEGORIE/index-a-3.html">KATEGORIE</option><br>
<option value="http://www.domain.de/neu/KATEGORIE/index-a-4.html">TITEL</option><br>
<option value="http://www.domain.de/neu/KATEGORIE/index-a-5.html">TITEL</option><br>
<option value="http://www.domain.de/neu/KATEGORIE/index-a-6.html">TITEL</option><br>
<option value="http://www.domain.de/neu/KATEGORIE/index-a-7.html">TITEL</option><br>
<option value="http://www.domain.de/neu/KATEGORIE/index-a-8.html">TITEL</option><br>
<option value="http://www.domain.de/neu/KATEGORIE/index-a-9.html">TITEL</option><br>
<option value="http://www.domain.de/neu/KATEGORIE/index-a-10.html">TITEL</option><br>
<option value="http://www.domain.de/neu/KATEGORIE/index-a-11.html">TITEL</option><br>
<option value="http://www.domain.de/neu/KATEGORIE/index-a-12.html">TITEL</option><br>
<option value="http://www.domain.de/neu/KATEGORIE/index-a-13.html">TITEL</option><br>
<option value="http://www.domain.de/neu/KATEGORIE/index-a-14.html">TITEL</option><br>
<option value="http://www.domain.de/neu/KATEGORIE/index-a-15.html">TITEL</option><br>
<option value="http://www.domain.de/neu/KATEGORIE/index-a-16.html">TITEL</option><br>
<option value="http://www.domain.de/neu/KATEGORIE/index-a-17.html">TITEL</option><br>
<option value="http://www.domain.de/neu/KATEGORIE/index-a-18.html">TITEL</option><br>
<option value="http://www.domain.de/neu/KATEGORIE/index-a-19.html">TITEL</option><br>
<option value="http://www.domain.de/neu/KATEGORIE/index-a-20.html">TITEL</option><br>
<option value="http://www.domain.de/neu/KATEGORIE/index-a-21.html">TITEL</option><br>
<option value="http://www.domain.de/neu/KATEGORIE/index-a-22.html">TITEL</option><br>
<option value="http://www.domain.de/neu/KATEGORIE/index-a-23.html">TITEL</option><br>
<option value="http://www.domain.de/neu/KATEGORIE/index-a-24.html">TITEL</option><br>
</select></form>
Vielen Dank für eure Mühe und schönes Wochenende