Unit::getMailForm
Aus iTrack
				
								
				(Unterschied zwischen Versionen)
				
																
				
				
								
				| Admin  (Diskussion | Beiträge) | Admin  (Diskussion | Beiträge)  | ||
| (25 dazwischenliegende Versionen von 4 Benutzern werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
| − | + | {|class="function" | |
| − | + | ||
| − | {|class=" | + | |
| |+Übersicht | |+Übersicht | ||
| !Modul | !Modul | ||
| − | |Unit | + | |[[Units|Unit]] | 
| |- | |- | ||
| !Name | !Name | ||
| Zeile 12: | Zeile 10: | ||
| |<code><nowiki>http://lib.itrack.de/unit/?getMailForm</nowiki></code> | |<code><nowiki>http://lib.itrack.de/unit/?getMailForm</nowiki></code> | ||
| |- | |- | ||
| − | ! | + | !HTML-TAG | 
| − | | | + | |<code>DIV</code> | 
| |- | |- | ||
| !HTML-ID | !HTML-ID | ||
| − | |<code># | + | |<code>#contact</code> | 
| |- | |- | ||
| − | ! | + | !HTML-Klasse | 
| − | |<code> | + | |— | 
| + | |- | ||
| + | !Technik | ||
| + | |[[#CSS-Definitionen|CSS]]<br />[[#JavaScript|JavaScript]] | ||
| + | |- | ||
| + | !Parameter | ||
| + | |<code>[[#css|css]]</code> | ||
| |} | |} | ||
| + | Ausgabe eines Mailformulars | ||
| + | |||
| + | ==Parameter== | ||
| + | ====css==== | ||
| + | {| class="parameter" | ||
| + | |+Übersicht | ||
| + | !Bedeutung | ||
| + | |Einbindung von CSS | ||
| + | |- | ||
| + | !Verwendung | ||
| + | |optional | ||
| + | |- | ||
| + | !Typ | ||
| + | |Integer | ||
| + | |- | ||
| + | !Werte | ||
| + | |<code>0<br />1</code> | ||
| + | |- | ||
| + | !Standard | ||
| + | |<code>1</code> | ||
| + | |} | ||
| + | <div> | ||
| + | Folgende Konstanten stehen zur Verfügung: | ||
| + | *<code>0</code><br />Ausgabe ohne CSS | ||
| + | *<code>1</code><br />Ausgabe mit CSS | ||
| + | </div> | ||
| + | |||
| + | ==Fehlermeldungen== | ||
| + | ''keine'' | ||
| + | |||
| + | ==Technik== | ||
| + | ===HTML-Struktur=== | ||
| + | |||
| + | ===CSS-Definitionen=== | ||
| + | Das Formular ist per CSS vorformatiert. Nachfolgend sehen Sie die verwendeten CSS-Definitionen: | ||
| + | |||
| + |  #contact label.label { | ||
| + |    width: 80px; | ||
| + |  } | ||
| + |  #contact select, | ||
| + |  #contact textarea, | ||
| + |  #contact input.text { | ||
| + |    border-color: #7f9db9; | ||
| + |  } | ||
| + |  #contact button, | ||
| + |  #contact input.button { | ||
| + |    width: 80px; | ||
| + |  } | ||
| + |  #contact textarea, | ||
| + |  #contact input.text { | ||
| + |    width: 240px; | ||
| + |  } | ||
| + |  #contact textarea { | ||
| + |  /* width: 312px;*/ | ||
| + |    height: 120px; | ||
| + |  } | ||
| + |  #contact div.button { | ||
| + |    margin: 20px 0 10px 0; | ||
| + |  } | ||
| + |  #contact .error p, | ||
| + |  #contact .error label, | ||
| + |  #contact p.error, | ||
| + |  #contact td.error, | ||
| + |  #contact span.error, | ||
| + |  #contact label.error { | ||
| + |    color: red; | ||
| + |  } | ||
| + |  #contact .error input, | ||
| + |  #contact .error textarea, | ||
| + |  #contact input.error, | ||
| + |  #contact select.error, | ||
| + |  #contact textarea.error { | ||
| + |    border-color: red; | ||
| + |  } | ||
| + | |||
| + | ===JavaScript=== | ||
| + | <code>initMail</code> | ||
| + | [[Category:Webmaster]] | ||
| [[Category:Module]] | [[Category:Module]] | ||
| [[Category:Units]] | [[Category:Units]] | ||
Aktuelle Version vom 14. August 2007, 14:55 Uhr
| Modul | Unit | 
|---|---|
| Name | getMailForm | 
| URL | http://lib.itrack.de/unit/?getMailForm | 
| HTML-TAG | DIV | 
| HTML-ID | #contact | 
| HTML-Klasse | — | 
| Technik | CSS JavaScript | 
| Parameter | css | 
Ausgabe eines Mailformulars
| Inhaltsverzeichnis | 
[Bearbeiten] Parameter
[Bearbeiten] css
| Bedeutung | Einbindung von CSS | 
|---|---|
| Verwendung | optional | 
| Typ | Integer | 
| Werte | 0 | 
| Standard | 1 | 
Folgende Konstanten stehen zur Verfügung:
- 0
 Ausgabe ohne CSS
- 1
 Ausgabe mit CSS
[Bearbeiten] Fehlermeldungen
keine
[Bearbeiten] Technik
[Bearbeiten] HTML-Struktur
[Bearbeiten] CSS-Definitionen
Das Formular ist per CSS vorformatiert. Nachfolgend sehen Sie die verwendeten CSS-Definitionen:
#contact label.label {
  width: 80px;
}
#contact select,
#contact textarea,
#contact input.text {
  border-color: #7f9db9;
}
#contact button,
#contact input.button {
  width: 80px;
}
#contact textarea,
#contact input.text {
  width: 240px;
}
#contact textarea {
/* width: 312px;*/
  height: 120px;
}
#contact div.button {
  margin: 20px 0 10px 0;
}
#contact .error p,
#contact .error label,
#contact p.error,
#contact td.error,
#contact span.error,
#contact label.error {
  color: red;
}
#contact .error input,
#contact .error textarea,
#contact input.error,
#contact select.error,
#contact textarea.error {
  border-color: red;
}
[Bearbeiten] JavaScript
initMail
