Page 1 of 1

Iframe

Posted: 25. March 2008 22:49
by MrNiceGuy
Hallo, wollte mal fragen wie ich ein Iframe ins Portal einbinden kann
so das das dann als Block unter dem anmelde block angezeigt wird

Danke schon mal im vorraus

<iframe src="xxx.php" width="150" height="300" scrolling="yes" marginheight="0" marginwidth="0" frameborder="0"></iframe>

Re: Iframe

Posted: 25. March 2008 23:23
by Christian_N
Schau dir mal dieses Thema an: viewtopic.php?p=2152#p2152 die Antwort nach dem Beitrag von Kevin ist nochmal das ganze in Deutsch wo thomas.d angepasst hat.

Einfach diese schritte befolgen und dort wo "Add your Code here" steht fügst dein Iframe-Code den haben willst ein - fertig. :)

Gruß Chris

Re: Iframe

Posted: 26. March 2008 17:40
by MrNiceGuy
danke für die schnelle hilfe hat super geplappt

Re: Iframe

Posted: 26. March 2008 22:47
by Christian_N
Kein Problem, dir ist aber schon gewusst das iframe in XHTML 1.0 Strict nicht erlaubt ist und dadurch deine Seite (Portal) nicht mehr valid ist?
Eine alternative wäre object statt iframe zu nutzen. :)

Falls

Code: Select all

<iframe src="xxx.php" width="150" height="300" scrolling="yes" marginheight="0" marginwidth="0" frameborder="0"></iframe>
dies dein Code ist, dann könnte der so ausschauen

Code: Select all

<object data="xxx.php" style="width:150px; height:300px; border:none;" type="text/html"></object>
Damit wäre die Seite dann wieder XHTML 1.0 Strict valid.

Nachtrag am 30.03: hier muss man wohl doch noch mal schauen, mir fiel gerade auf das dieses nicht unter IE7 angezeigt wird. :roll:

Gruß Chris