<iframe src="1.html" width="100%" height="35%" scrolling="no" frameborder="1">
</iframe><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>iFrame set</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<script language="javascript" type="text/javascript">
<!--
function setFrame() {
var main = iframe.document.getElementById('main');
var inlineframe = document.getElementById('iframe');
var mainhoehe = parseInt(main.style.height);
var neuehoehe = mainhoehe + 10; //<--- puffer (+10px)
inlineframe.style.height = neuehoehe + "px";
}
//-->
</script>
</head>
<body >
<iframe src="test.html" name="iframe" id="iframe" border="0" scrolling="no" style="height: 100px; width: 510px;" onload="setFrame()">
<p>ihr browser unterstützt keine Iframes</p>
</iframe>
</body>
</html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>test</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
</head>
<body style="margin: 0px;">
<div id="main" style=" height: 500px; width: 500px; margin 0px;">
<!------------ inhalt ------------>
</div>
</body>
</html>
| Frameset! aber wiE? Forum: HTML, PHP & Co. Autor: alcohol is pwnage Antworten: 1 |
frameset geht ned Forum: HTML, PHP & Co. Autor: seLFhaTe Antworten: 8 |
html frameset Forum: HTML, PHP & Co. Autor: seLFhaTe Antworten: 7 |
Frameset auf der Topseite Forum: HTML, PHP & Co. Autor: nicky777 Antworten: 2 |
Frameset selber machen, nur wie? Forum: HTML, PHP & Co. Autor: Learner Antworten: 7 |
Mitglieder in diesem Forum: 0 Mitglieder und 0 Gäste