von LazyJeff |
Hier ist noch mal der Quellcode funzt zu 100% have fun.
button.php FrameSet
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14: | <html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<frameset rows="500,*" frameborder="YES" border="1" >
<frame name="mainFrame" src="main.php">
<frame name="bottomFrame" scrolling="yes" noresize src="buttom.php">
</frameset>
<noframes>
<body bgcolor="#FFFFFF" text="#000000">
</body>
</noframes>
</html> |
main.php
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23: | <html>
<head>
<title>Testinger</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<?php
if ($submit=="test")
{
print"funzt";
}
print "<form action=\"$_SERVER[PHP_SELF]\" method=\"post\" enctype=\"multipart/form-data\" name=\"formular\">";
echo "<textarea name='text' rows='6' cols=\"50\">mainframe</TEXTAREA>";
print"<br \><input type=\"submit\" name=\"submit\" value=\"test\" />";
print "</form>";
?>
</body>
</html> |
buttom.php
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15: | <html>
<head>
<title>Testinger</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body topmargin="0">
<form>
<INPUT type="submit" value="verschicken" onClick="parent.mainFrame.document.formular.submit.click();" name="SubmitNOw">
</form>
</body>
</html> |
|
von rene007 |
Will mal dieses alte Thema neu aufrollen, da ich selber im Moment mit diesem Problem zu kämpfen habe. Habe ebenfalls 2 Frames. Frame 1 mit Submit Button und Frame 2 mit nem Formular. Bin auf dem Thema nicht so fit. Habe es also trotz diesem Beitrag noch nicht hinbekommen.
Könntet ihr mir das ganze nochmal ausführlich erklären??
Danke Ré |
von Al Blank |
Thx, jetzt funkts!
Hab vergessen einen Form-Tag um den Button zu legen!
Und es muß natürlich ein Submit-Button im Mainframe vorhanden sein den ich mit
1: | parent.mainframe.document.formular.submit.click(); |
ansprechen kann.
Al Blank |
von epitaxy |
weiss nicht ob es in deim orginal code so ist aber als ich mir die seite gespeichert habe um das mal lokal auszutesten hab ich bei dem name= im frameset noch "" setzten müssen und ich habe auch ein form tag um den input button gemacht im bottom frame und nochwas, habs aber schon gelöscht und weiss nimmer, ging aber bei mir gut ....
falls es doch eine alternative ist kann ich nochmal schauen ob es an meinen ergenzung lag und/oder es auch so beim mir läuft 
greetz |
von Al Blank |
Na da muß ich da natürlcih schon noch mal nachhaken,
wo habe ich "" vergessen? |