Unit::getMailForm
Aus iTrack
(Unterschied zwischen Versionen)
Admin (Diskussion | Beiträge) |
Admin (Diskussion | Beiträge) |
||
| Zeile 19: | Zeile 19: | ||
|<code>#contact</code> | |<code>#contact</code> | ||
|- | |- | ||
| − | ! | + | !Technik |
| − | + | |[[CSS-Definitionen|CSS]]<br />[[#JavaScript|JavaScript]] | |
| − | |- | + | |
| − | + | ||
|<code>initContact</code> | |<code>initContact</code> | ||
|} | |} | ||
Ausgabe eines Mailformulars | Ausgabe eines Mailformulars | ||
| − | ==CSS-Definitionen== | + | ==Technik== |
| + | ===CSS-Definitionen=== | ||
Das Formular ist per CSS vorformatiert. Nachfolgend sehen Sie die verwendeten CSS-Definitionen: | Das Formular ist per CSS vorformatiert. Nachfolgend sehen Sie die verwendeten CSS-Definitionen: | ||
| Zeile 68: | Zeile 67: | ||
border-color: red; | border-color: red; | ||
} | } | ||
| + | |||
| + | ===JavaScript=== | ||
| + | <code>initJoin</code> | ||
[[Category:Webmaster]] | [[Category:Webmaster]] | ||
[[Category:Module]] | [[Category:Module]] | ||
[[Category:Units]] | [[Category:Units]] | ||
Version vom 6. März 2007, 01:48 Uhr
| Modul | Unit | |
|---|---|---|
| Name | getMailForm
| |
| URL | http://lib.itrack.de/unit/?getMailForm
| |
| Parameter | keine | |
| HTML-TAG | DIV
| |
| HTML-ID | #contact
| |
| Technik | CSS JavaScript |
initContact
|
Ausgabe eines Mailformulars
Technik
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
initJoin