00raphael: Code anpassen / in gleichem Fenster

Hi zusammen,

ich hab nen kleines Problem - hab einer Freundin ihre Homepage in iWeb ein bisschen netter gemacht und wollte jetzt ein "altes" Kontaktformular von ihrer früheren Seite mit einbinden.

Problem für mich ist, dass sich beim Anklicken von "Abschicken" immer ein neues Fenster öffnet... Und ich nicht weiss, wie ich das einfach im gleichen Fenster darstellen kann...

Vielleicht könnt ihr mir helfen? Habe leider kaum HTML Kenntnisse und probiere schon seit einigen Stunden aus - jedoch leider ohne Erfolg...

Das hier ist der Quelltext der Seite:

`` <html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta xmlns="http://www.w3.org/1999/xhtml" xmlns:i18n="http://www.schlund.de/tinc/runtimexsl/internationalization" http-equiv="content-language" content="de"></meta><meta xmlns="http://www.w3.org/1999/xhtml" xmlns:i18n="http://www.schlund.de/tinc/runtimexsl/internationalization" http-equiv="cache-control" content="no-cache"></meta><meta xmlns="http://www.w3.org/1999/xhtml" xmlns:i18n="http://www.schlund.de/tinc/runtimexsl/internationalization" http-equiv="pragma" content="no-cache"></meta><meta xmlns="http://www.w3.org/1999/xhtml" xmlns:i18n="http://www.schlund.de/tinc/runtimexsl/internationalization" name="title" content="Feedback"></meta><meta xmlns="http://www.w3.org/1999/xhtml" xmlns:i18n="http://www.schlund.de/tinc/runtimexsl/internationalization" name="description" content="TINCAS basierte CGI-Schnittstelle"></meta><meta xmlns="http://www.w3.org/1999/xhtml" xmlns:i18n="http://www.schlund.de/tinc/runtimexsl/internationalization" name="keywords" lang="de" content="CGI, Gästebuch, Counter, Forum, TINC, TINCAS"></meta><meta xmlns="http://www.w3.org/1999/xhtml" xmlns:i18n="http://www.schlund.de/tinc/runtimexsl/internationalization" name="keywords" lang="en" content="CGI, Guestbook, Counter, Forum, TINC, TINCAS"></meta><meta xmlns="http://www.w3.org/1999/xhtml" xmlns:i18n="http://www.schlund.de/tinc/runtimexsl/internationalization" name="author" content="1&amp;1 Internet AG"></meta><meta xmlns="http://www.w3.org/1999/xhtml" xmlns:i18n="http://www.schlund.de/tinc/runtimexsl/internationalization" name="copyright" content="1&amp;1 Internet AG"></meta><meta xmlns="http://www.w3.org/1999/xhtml" xmlns:i18n="http://www.schlund.de/tinc/runtimexsl/internationalization" name="publisher" content="1&amp;1 Internet AG"></meta><meta xmlns="http://www.w3.org/1999/xhtml" xmlns:i18n="http://www.schlund.de/tinc/runtimexsl/internationalization" name="robots" content="noindex"></meta><meta xmlns="http://www.w3.org/1999/xhtml" xmlns:i18n="http://www.schlund.de/tinc/runtimexsl/internationalization" name="DC.Format" content="text/html, charset=utf-8"></meta><meta xmlns="http://www.w3.org/1999/xhtml" xmlns:i18n="http://www.schlund.de/tinc/runtimexsl/internationalization" name="DC.Language" content="de"></meta><title>Feedback</title><style xmlns:i18n="http://www.schlund.de/tinc/runtimexsl/internationalization" xmlns:js="http://www.schlund.de/tinc/runtimexsl/js" type="text/css">

body {     margin:15px 10px 20px;    }

h2 {     text-decoration:underline;     /font-size:16px;/     font-size:133%;    }

h3 {     /font-size:14px/     font-size:116%;    }

input {     /font-size:11px;/     font-size:95%;    }

/* not found /    /.gross {     font-size:16px    }/    / found in messageboard.xsl. formatting of links in entryhandle and entrymenu templates.    formatting of submitted fields in guest/moderator html mails (template entry).    formatting of user name and submission date of an entry in layout mode 2.    formatting of response type message in templates preview and updateform*/    .klein {     font-size:90%;     /font-size:10px/    }    /* found in messageboard.xsl. formatting of | chars in template entryhandle.    formatting of entry subject (template entry) in layout mode 2*/    .mittel {     font-size:116%;     /font-size:14px;/    }    /* found in messageboard.xsl. formatting entryhandle and entrymenu template contents /    .rechts {     text-align:right    }    / found in messageboard.xsl. formatting entry number */    .riesig {     /font-size:20px;/     font-size:166%;    }

/* not found /    /.noline {     text-decoration: none    }*/

.admin {     margin:0 4px;    }

.warn {     color:#000000;     font-weight:bold;    }   </style><style xmlns:i18n="http://www.schlund.de/tinc/runtimexsl/internationalization" xmlns:js="http://www.schlund.de/tinc/runtimexsl/js" type="text/css">    body,table,tr,td,li,a {     color:#000000;     font-family:Arial, Helvetica, sans-serif;;     font-size:12px;    }

body, table, td, .bgnorm {     background-color:#FFFFFF    }

/* found in messageboard.xsl and feedback.xsl */    .invert {     background-color:#000000;     color:#FFFFFF    }

input,textarea {     border:0px none #FFFFFF;     color:#383838;     scrollbar-base-color:#FFFFFF;     scrollbar-shadow-color:#383838;     scrollbar-darkshadow-color:#FFFFFF;     scrollbar-track-color:#FFFFFF;     scrollbar-3dlight-color:#FFFFFF;     scrollbar-face-color:#FFFFFF;     scrollbar-highlight-color:#FFFFFF;     scrollbar-arrow-color:#383838    }

/* found in messageboard.xsl and feedback.xsl */    .high,input,textarea {     background-color:#D8D8D8    }

/* found in messageboard.xsl and feedback.xsl. styling of input fields in case of    wrong/missing input.*/    .warn {     background-color:#F71F1F    }

/* found in messageboard.xsl. formatting of admin link texts in template entryhandle. */    .admin {     color:#F71F1F;    }

/* found in messageboard.xsl and feedback.xsl. border around table components.*/    .dborder {     border:1px dotted #383838;     padding:2px 2px 2px 2px;    }

/* found in messageboard.xsl, feedback.xsl and counter.xsl. submit buttons. */    .button {     border:1px solid #383838;    }

/* found in messageboard.xsl. formatting of header for guest html reply mail (template entry).    formatting of entry body (both modes) (template entry).    found in feedback.xsl. formatting of header for reply mail.*/    .message {     border-bottom:1px solid #ECECEC;     border-left:1px solid #ECECEC;     /line-height:18px;/     line-height:150%;     padding:3px 3px 3px 3px    }   </style><script xmlns:i18n="http://www.schlund.de/tinc/runtimexsl/internationalization" xmlns:js="http://www.schlund.de/tinc/runtimexsl/js">    try {     if (window.parent.CSSInject) {      document.writeln("<link rel='stylesheet' type='text/css' href='"+window.parent.CSSInject.url+"'/>");     }   } catch (ex) {}  </script>  <script type="text/javascript"> function FensterOeffnen1 (Adresse) { Fenster1 = window.open(Adresse, "Zweitfenster", "width=520,height=420,left=100,top=200"); Fenster1.focus(); } </script>  </head><body><div id="tinc_content"><center>    <table xmlns="http://www.w3.org/1999/xhtml" xmlns:i18n="http://www.schlund.de/tinc/runtimexsl/internationalization" class="dborder" width="95%"><tr><td colspan="2" class="invert"><b>Bitte geben Sie Ihre Daten ein:</b></td></tr><form method="post" accept-charset="utf-8" action="http://www.kirstin-rothe.com/tinc"><tr><td colspan="2"><table width="100%" cellspacing="0" cellpadding="1"><colgroup><col width="14%"></col><col width="35%"></col><col width="2%"></col><col width="14%"></col><col width="35%"></col></colgroup><tr height="2"><td colspan="2" height="2"></td></tr><tr><td><b>Vorname:</b></td><td><input type="text" name="givenname" size="30" style="width: 100%" value=""></input></td><td width="2%"> </td><td><b>Name:</b></td><td><input type="text" name="name" size="30" style="width: 100%" value=""></input></td></tr><tr><td><b>E-Mail:</b></td><td><input type="text" name="email" size="30" style="width: 100%" value=""></input></td><td width="2%"> </td></tr><tr></tr><tr><td><b>Telefon:</b></td><td><input type="text" name="phone" size="30" style="width: 100%" value=""></input></td><td width="2%"> </td><td><b>Fax:</b></td><td><input type="text" name="fax" size="30" style="width: 100%" value=""></input></td></tr><tr height="1"><td colspan="5" height="1"> </td></tr><tr><td> </td><td colspan="4"><input class="bgnorm" type="checkbox" name="info" value="yes">  </input><b> Bitte schicken Sie mir Ihre Sedcard zu.</b></td>  </tr><tr><td> </td><td colspan="4"><b>Kontaktieren Sie mich via:</b><input class="bgnorm" type="radio" name="contact" value="email" checked></input>E-Mail<input class="bgnorm" type="radio" name="contact" value="phone"></input>Telefon</td></tr><tr height="1"><td colspan="5" height="1"> </td></tr><tr><td valign="top"><b>Kommentar:</b></td><td colspan="4"><textarea cols="50" rows="10" name="comment" style="width: 100%"></textarea></td></tr><tr><td> </td><td colspan="5"><p>  <input class="button" type="submit" value="Abschicken">    </input>  </p>      <p align="center"><strong><a href="javascript:window.close()"> .:: Fenster schliessen ::. </a></strong></p></td>  </tr></table></td></tr><tr><td width="80"> </td><td></td></tr><input type="hidden" name="key" value="njrxw77E"></input><tr><td class="invert" colspan="2" align="center"></td></tr></form></table></center></div></body></html> ``

  1. Das wird daran liegen, dass aus diesem Code nicht ersichtlich wird, warum ein neues Fenster geöffnet wird. Weder steht im Form-Tag ein target="_blank" noch wird die Funktion "FensterOeffnen1", die ganz offensichtlich dient, ein Popup zu öffnen, irgendwo auf der Seite aufgerufen.

    Daraus kann ich nur schlussfolgern, dass der von Dir geschriebene Code nicht alles ist, was diese Seite ausmacht.

    Gruß, LX

    --
    X-Self-Code: sh:( fo:) ch:~ rl:° br:> n4:& ie:% mo:) va:) de:] zu:) fl:{ ss:) ls:~ js:|
    X-Self-Code-Url: http://emmanuel.dammerer.at/selfcode.html
    X-Will-Answer-Email: Unusual
    X-Please-Search-Archive-First: Absolutely Yes
  2. Mahlzeit 00raphael,

    ich hab nen kleines Problem - hab einer Freundin ihre Homepage in iWeb ein bisschen netter gemacht und wollte jetzt ein "altes" Kontaktformular von ihrer früheren Seite mit einbinden.

    Was ist das "iWeb"? Und Du weißt auch, dass "nett" der kleine Bruder von "Scheiße" ist? ;-)

    Problem für mich ist, dass sich beim Anklicken von "Abschicken" immer ein neues Fenster öffnet... Und ich nicht weiss, wie ich das einfach im gleichen Fenster darstellen kann...

    Tja ... wie LX schon andeutete: aus dem von Dir geposteten Code (der im Übrigen absolut unformatiert war, was eine ziemliche Frechheit Deinen Lesern gegenüber ist - denn so mutest Du ihnen zu, Dein Posting erstmal auseinanderdröseln zu müssen) geht das nicht hervor.

    Darüber hinaus enthält der Code 44 Fehler: This page is not Valid (no Doctype found)!

    MfG,
    EKKi

    --
    sh:( fo:| ch:? rl:( br:> n4:~ ie:% mo:} va:) de:] zu:) fl:{ ss:) ls:& js:|