Suche im Forum:
Suchen


« Vorheriges Thema anzeigen :: Nächstes Thema anzeigen »  
Autor Nachricht
Beitrag25.08.2007 um 13:04 (UTC)    
Titel: design versagt

immer wen ich auf einer seite das hier einfüge

den code für eine externes kontakt formular

Code:
<!-- Start Code dw-Formgenerator -->
<style type="text/css">
body {
 background-color: #FFFFFF;
}
.font-big {
 font-family:Verdana, sans-serif;
 font-size:16px; font-weight:bold;
 color:#FFFFFF;
}
.font-small {
 font-family:Verdana, sans-serif;
 font-size:10px; font-weight:normal;
 color:#000000;
}
.table {
 background-color:#FFFFFF;
 width:90%;
}
.head {
 background-color:#83ADDD;
}
.main {
 background-color:#ECECEC;
 font-family:Verdana, sans-serif;
 font-size:12px; font-weight:normal;
 color:#000000;
}
.foot {
 background-color:#83ADDD;
}
.align {
 text-align:left;
}
.textarea {
 background-color:#ECECEC;
 color:#000000;
 font-family : Verdana, Helvetica, sans-serif;
 font-size: 12px;
 font-weight: bold;
 border : 1px solid #808080;
}
.input {
 background-color:#ECECEC;
 color:#000000;
 font-family : Verdana, Helvetica, sans-serif;
 border : 1px solid #808080;
 font-size: 12px;
}
.select {
 background-color:#ECECEC;
 color:#000000;
 font-family : Verdana, Helvetica, sans-serif;
 font-size: 12px;
}
.button {
 width: 130px;
}
</style>
<script language="JavaScript" type="text/javascript">
<!--
function VerifyEmailAddress(EmailAddress) {
 if (window.RegExp) {
  var reg1str = "(@.*@)|(\\.\\.)|(@\\.)|(\\.@)|(^\\.)";
  var reg2str = "^.+\\@(\\[?)[a-zA-Z0-9\\-\\.]+\\.([a-zA-Z]{2,4}|[0-9]{1,4})(\\]?)$";
  var reg1 = new RegExp(reg1str);
  var reg2 = new RegExp(reg2str);
  if (!reg1.test(EmailAddress) && reg2.test(EmailAddress)) {
   return true
  }else {
   return false
  }
 }else {
  if (EmailAddress.indexOf("@") >= 0) {
   return true
  }else {
   return false
  }
 }
}
function rest(a,b,c,d) {
 var keyCode = d.keyCode ? d.keyCode : d.which ? d.which : d.charCode;
 if (keyCode == 38 || keyCode == 40)
  return;
 r = (b - a.value.length);
 if (r < 0)
  r = 0;
 if ( (e = document.getElementById(c)) != null)
  e.innerHTML = r;
 if (a.value.length > b) {
  a.value = a.value.substr(0,b);
 }
}
function check_form(f) {
 if (f.elements['absender_mail'].value=='') {
  alert("Bitte alle Pflichtfelder ausfüllen! \n(Deine E-Mail-Adresse)");
  f.elements['absender_mail'].focus();
  return false;
 }else {
  if (!VerifyEmailAddress(f.elements['absender_mail'].value)) {
   alert("Bitte geben Sie eine gültige E-Mail Adresse ein!");
   f.elements['absender_mail'].focus();
   return false;
  }
 }
 if (navigator.appName=="Microsoft Internet Explorer") {
  for (i=0;i<f.length;i++) {
   var e=f.elements[i];
   if (e.type == 'submit' || e.type == 'reset')
    e.disabled=true;
  }
 }
 return true;
}
//-->
</script>
<form name="dwmailer" action="http://www.dw-formmailer.de/cgi-bin/dwmailer/dwmailer.pl" enctype="multipart/form-data" method="post" onsubmit="return check_form(this);">
<input type="hidden" name="empfaenger_mail" value="stephan.ju@gmx.net" />
<input type="hidden" name="betreff" value="Kontaktformular2" />
<input type="hidden" name="html_template_url" value="http://feuerwehr-aktuell.de.tl/Danke.htm" />
<input type="hidden" name="error_redirect_url" value="http://www.feuerwehr-aktuell.de.tl" />
<input type="hidden" name="language" value="de" />
<input type="hidden" name="page_background_color" value="#FFFFFF" />
<input type="hidden" name="page_font_color" value="#000000" />
<table align="center" class="table" border="0" cellspacing="1" cellpadding="3">
<tr>
<td colspan="2" class="head" height="17" width="100%" align="left">
<span class="font-big">Umfrageformular</span></td>
</tr>
<tr>
<td class="main" colspan="2" height="16" width="100%">
<span class="font-small">Bitte füllen Sie alle mit * markierten Felder aus. (Pflichtfelder)</span></td></tr><tr><td class="main" width="30%"><div class="align">Dein Name</div></td>
<td class="main">
<input class="input" type="text" name="absender_name" size="20" /></td></tr>
<tr><td class="main" width="30%"><div class="align">Deine E-Mail-Adresse*</div></td>
<td class="main">
<input class="input" type="text" name="absender_mail" size="20" /></td></tr>
<tr><td class="main" width="30%"><div class="align">ICQ-Nummer</div></td>
<td class="main">
<input class="input" type="text" name="absender_number" size="20" /></td></tr>
<tr><td class="main" width="30%"><div class="align">Wie habem Sie meine Homepage gefunden?</div></td>
<td class="main">
<input class="input" type="text" name="absender_gut" size="20" /></td></tr>
<tr><td class="main" width="30%"><div class="align">Was würden Sie ändern/verbessern ?</div></td>
<td class="main">
(Restzeichen: <span id="count_1">2500</span>)<br /><textarea class="textarea" name="absender_text" id="absender_text" cols="20" rows="3" onkeydown="rest(this,2500,'count_1',event)" onkeyup="rest(this,2500,'count_1',event)" onchange="rest(this,2500,'count_1',event)"></textarea></td></tr>
<tr><td class="main" width="30%"><div class="align">Was hat ihnen besonders gut gefallen?</div></td>
<td class="main">
<input class="input" type="text" name="absender_good" size="20" /></td></tr>
<tr><td class="main" width="30%"><div class="align">Wie war das Design?</div></td>
<td class="main">
<input class="input" type="text" name="absender_design" size="20" /></td></tr>
<tr><td class="main" width="30%"><div class="align">Welches Thema soll noch auf die HP?</div></td>
<td class="main">
<input class="input" type="text" name="absender_thema" size="20" /></td></tr>
<tr><td class="main" width="30%"><div class="align">Wie ist das Fotoalbum gelungen?</div></td>
<td class="main">
<input class="input" type="text" name="absender_photos" size="20" /></td></tr>
<tr><td class="main" width="30%"><div class="align">Sonstiges/Nachricht</div></td>
<td class="main">
(Restzeichen: <span id="count_2">2500</span>)<br /><textarea class="textarea" name="absender_news" id="absender_news" cols="30" rows="5" onkeydown="rest(this,2500,'count_2',event)" onkeyup="rest(this,2500,'count_2',event)" onchange="rest(this,2500,'count_2',event)"></textarea></td></tr>
<tr><td class="foot" colspan="2" align="center" height="25" width="100%">
<input class="button" type="submit" value="Abschicken" />    <input class="button" type="reset" value="Zurücksetzen" /></td></tr>
</table>
</form>
<p align="center"><span style="font-size:9px;font-family:Verdana,sans-serif;"><a href="https://www.dw-formmailer.de" target="_blank">dw-FormGenerator 4.4.0</a></span></p>
<!-- End Code dw-Formgenerator -->
Beitrag26.08.2007 um 12:12 (UTC)    
Titel:

Beiträge der letzten Zeit anzeigen:   


Powered by phpBB © 2001, 2005 phpBB Group
Deutsche Übersetzung von phpBB.de