Autor Beitrag
hibbert
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1007

WinServer2003, Win XP, Linux
D6 Pers, D05
BeitragVerfasst: Do 26.02.04 18:52 
Hi,
ich habe eine "normale" PHP Seite, auf dieser Seite befiden sich 2 Iframes.
Nun sende ich von der PHP Seite Daten an den einen Iframe per Formular.

Die Daten werden nun in dem einen Iframe ausgewertet. Nun sollen die ausgewerteten Daten in den 2. Iframe übergeben werden, undzwar folgedermaßen:
  • Die Seite im 2. Iframe soll nicht neu geladen werden
  • Die Daten sollen an das Ende der Seite hinzugefügt werden
  • Die Seite soll immer bis zum Schluss scrollen

Ist das möglich?

thx hibbert

_________________
I kunnen väl svara endast ja eller nej
Om i viljen eller nej
Chatfix
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1583
Erhaltene Danke: 10

Win 10, Win 8, Win 7, Win Vista, Win XP
VB.net (VS 2015), MsSQL (T-SQL), HTML, CSS, PHP, MySQL
BeitragVerfasst: Do 26.02.04 19:59 
wenn du mit php daten an den iframe schickst muss die seite neu geladen werden...

wie das ist wenn du die daten mit javascript schickst (obs überhaupt geht) weiss ich nicht

_________________
Gehirn: ein Organ, mit dem wir denken, daß wir denken. - Ambrose Bierce
hibbert Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1007

WinServer2003, Win XP, Linux
D6 Pers, D05
BeitragVerfasst: Do 26.02.04 20:03 
es geht mir darum, dass die daten aus dem einen Frame (dieser kann ruhig neu geladen werden) in den anderen Frame übertragen werden (welcher nicht neu geladen werden soll).

Ich meine mal da was von gehört zu haben, dass es mit JS möglich sein, Infos zu übertragen...

thx hibbert

_________________
I kunnen väl svara endast ja eller nej
Om i viljen eller nej
StefanH
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1144

Win XP
D5 Standard, D7 Pers, D2005 Pers
BeitragVerfasst: Fr 27.02.04 15:10 
über location.search kannst du das "Geschwafel" hinter der Endung auslesen, z.b ?mode=reply&t=22552 :D

_________________
"Als es noch keine Computer gab, war das Programmieren noch relativ einfach."(Edsger W. Dijkstra)
"Ich bin nicht von Sinnen, sondern ich rede wahre und vernünftige Worte." (Paulus)
hibbert Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1007

WinServer2003, Win XP, Linux
D6 Pers, D05
BeitragVerfasst: Fr 27.02.04 17:12 
Hi,
mir geht es ja eigentlich nur um das versenden von Daten per JS, ohne die Seite im 2. Iframe neu laden zu müssen.

thx hibbert

_________________
I kunnen väl svara endast ja eller nej
Om i viljen eller nej
rokdd
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 329

Win XP
D6
BeitragVerfasst: Fr 27.02.04 18:11 
hallo, also das reinschreiben in den frame ist mit JS zeimlich einfach. Als erstes musst du den frame angeben, also irgendwie mit [br]parent[/br] und [br]frames[nr][/br]. framexxx.document.write("mein text"); Dann wird der Text an die Datei hinten drangeschreiben...

rokdd
hibbert Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1007

WinServer2003, Win XP, Linux
D6 Pers, D05
BeitragVerfasst: Sa 28.02.04 00:04 
jo, das mit dem übertragen funzt 1a :D

Doch wie kann ich jetzt die Seite bis zum Schluss scrollen?

thx hibbert

_________________
I kunnen väl svara endast ja eller nej
Om i viljen eller nej
rokdd
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 329

Win XP
D6
BeitragVerfasst: Sa 28.02.04 08:26 
morgen,
schau docch mal hier: Scrollen.
Hoffe das hilft dir weiter!

Rokdd
hibbert Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1007

WinServer2003, Win XP, Linux
D6 Pers, D05
BeitragVerfasst: Sa 28.02.04 10:35 
cool Danke das ist alles was ich brauche.

DANKE !!

Hibbert

_________________
I kunnen väl svara endast ja eller nej
Om i viljen eller nej