|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
Klausi Smarty n00b
Joined: 24 Feb 2005 Posts: 1
|
Posted: Thu Feb 24, 2005 8:24 am Post subject: Probleme mit html_select_time |
|
|
Hallo,
habe ein Problem mit html_select_time, und zwar sollte laut Doku minute_extra einen weiteren Select-Eintrag hinzufügen, tut es aber bei mir nicht.
mein Code:
{html_select_time display_seconds=false minute_interval=5 minute_extra="--" }
Hat hier jemand schon dasselbe Problem gehabt?
Ist das ein Bug oder liegts an mir?
vielen Dank für Eure Hilfe |
|
Back to top |
|
dan_zm Smarty Rookie
Joined: 25 Feb 2005 Posts: 6 Location: Zella-Mehlis, Germany
|
Posted: Sat Feb 26, 2005 12:32 pm Post subject: |
|
|
Hi,
also 'minute_extra' fügt keinen weiteren auswählbaren wert hinzu, sondern fügt nach Code: | <select name="Time_Minute" | noch was ein, z.b. wenn du css-werte zuweisen willst oder so.
ein beispiel:
Code: | {html_select_time display_seconds=false minute_interval=5 minute_extra="style='background-color:#667788;'" } |
da hat dann halt die dropdown-liste für die minuten eine andere hintergrundfarbe.
ich glaube das was du suchst, also einen eigenen wert zur liste hinzuzufügen, geht mit dieser funktion nicht.
(zumindest was ich im manual gelesen habe) _________________ The following sentence is a lie. The preceding sentence is true. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|