Inhaltsverzeichnis Smarty Smarty Funktionen {input} Color

Color

Erstellt ein Eingabeelement für Farbauswahl.

Vorschau

 color

Beispiel

QuelltextSmarty Code:
  1. <form name="extra">
  2. <div align="center">
  3. <table class="table">
  4.     <tr>
  5.         <td class="cell">
  6.             {input version=5 type="color" name="input_color" title="Color Picker" short="Wählen Sie eine Farbe"}
  7.             <br />
  8.         </td>
  9.     </tr>
  10.            
  11. </table>
  12. </div>
  13. </form>
  14. <script language="javascript">
  15. {literal}
  16. function do_load()
  17. {
  18. }

  19. function do_unload()
  20. {
  21.     window.parent.unload_extra();
  22. }
  23. {/literal}
  24. </script>