Hey Leute...
hab ein Dropdownmenü erstellt wo Leute ihren Lieblingsverein wählen können und anschließend wird ein Icon in der Userliste angezeigt.
Funktioniert auch soweit ganz gut. Jetz möchte ich allerdings, dass in dem Dropdownmenü neben dem Namen des Vereins auch ein kleines Wappen angezeigt wird. Finde aber irgendwie keine Lösung dafür. Hat vielleicht jemand ne idee?
hab ein Dropdownmenü erstellt wo Leute ihren Lieblingsverein wählen können und anschließend wird ein Icon in der Userliste angezeigt.
Funktioniert auch soweit ganz gut. Jetz möchte ich allerdings, dass in dem Dropdownmenü neben dem Namen des Vereins auch ein kleines Wappen angezeigt wird. Finde aber irgendwie keine Lösung dafür. Hat vielleicht jemand ne idee?
Quellcode
- <select name=icon style="width:50%"><option value="0" {IIF|$user_information.icon==0|selected}>Keins<option value="1" {IIF|$user_information.icon==1|selected}>Bayern <option value="2" {IIF|$user_information.icon==2|selected}>Stuttgart <option value="3" {IIF|$user_information.icon==3|selected}>Schalke <option value="4" {IIF|$user_information.icon==4|selected}>Dortmund <option value="5" {IIF|$user_information.icon==5|selected}>Bremen <option value="6" {IIF|$user_information.icon==6|selected}>Freiburg <option value="7" {IIF|$user_information.icon==7|selected}>Gladbach <option value="8" {IIF|$user_information.icon==8|selected}>Hertha BSC <option value="9" {IIF|$user_information.icon==9|selected}>LASK<option value="10" {IIF|$user_information.icon==10|selected}>Leverkusen<option value="11" {IIF|$user_information.icon==11|selected}>Hertha BSC<option value="12" {IIF|$user_information.icon==12|selected}>Frankfurt <option value="13" {IIF|$user_information.icon==13|selected}>Wolfsburg <option value="14" {IIF|$user_information.icon==14|selected}>Hannover<option value="15" {IIF|$user_information.icon==15|selected}>Osnabrück <option value="16" {IIF|$user_information.icon==16|selected}>1860 München <option value="17" {IIF|$user_information.icon==17|selected}>Deutschland
- </select>