Hi...
hab ein problem...ich möchte eine seite in meine laden (keine angst es geht alles mit rechten dingen zu icon_smile.gif )... dazu benutze ich einen IFrame doch sind die seiten nicht immer gleich lang ...kann ich mit hilfe irgendeines befehls oder einens scripts die länge vorher auslesen und der iframe wird der länge nach angepasst??
ich hoffe es kann mir jemand helfen..
Hier der quelltext:
PHP-Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Unbenanntes Dokument</title>
</head>
<body>
<table width="620" border="0" cellpadding="00" cellspacing="0">
<tr>
<td width="15" height="48" valign="top" background="../images/frameset/design01_11.gif">&</td>
<td height="48" valign="bottom" background="../images/frameset/design01_12.gif"><div align="right">[url="javascript:history.back()"][img]../images/buttons/zur-uebersicht.gif[/img][/url]</div></td>
<td width="15" height="48" background="../images/frameset/design01_13.gif">&</td>
</tr>
<tr>
<td width="15">[img]../images/frameset/design01_14.gif[/img]</td>
<td>[img]../images/frameset/design01_15.gif[/img]</td>
<td width="15">[img]../images/frameset/design01_16.gif[/img]</td>
</tr>
<tr>
<td bgcolor="#FFFFFF">&</td>
<td bgcolor="#FFFFFF"><iframe width="620" height="8000" frameborder="0" scrolling="no" src="
<?
if(isset($_GET['info'])) {
$info=$_GET['info'];
}
else {
die('Variable nicht gefunden');
}
if($info=="1") {
print('http://www.acteam.de/cgi-bin/elwoms.pl?s=A1601&mID=688');
}
if($info=="2") {
print('http://www.acteam.de/cgi-bin/elwoms.pl?s=A21&mID=688');
}
if($info=="3") {
print('http://www.acteam.de/cgi-bin/elwoms.pl?s=A01&mID=688');
}
if($info=="4") {
print('http://www.acteam.de/cgi-bin/elwoms.pl?s=C56&mID=688');
}
if($info=="5") {
print('http://www.acteam.de/cgi-bin/elwoms.pl?s=A26&mID=688');
}
if($info=="6") {
print('http://www.acteam.de/cgi-bin/elwoms.pl?s=A11&mID=688');
}
if($info=="7") {
print('http://www.acteam.de/cgi-bin/elwoms.pl?s=C51&mID=688');
}
if($info=="8") {
print('http://www.acteam.de/cgi-bin/elwoms.pl?s=C46&mID=688');
}
?>"></iframe></td>
<td background="../files/images/frameset/design01_19.gif">&</td>
</tr>
</table>
</body>
</html>
ich übergebe..von der index seite folgenden link
index.php?page=information&info=*
der wird dann zu info.php seite weitergeleitet und dort ausgewertet...
allerdings möchte ich ne variable höhe beim iframe haben...
gruß Lomion