wcf.regNote.message
|
|
Source code |
1 2 3 4 5 |
<?
echo "<DIV CLASS='blabla'>";
include('./bildergallerie/index.php');
echo"</DIV>";
?>
|
This post has been edited 1 times, last edit by "flo" (Sep 7th 2007, 5:42pm)
Quoted
Original von Prometheus
Funktioniert aber auch nur wenn es um die Ausgabe geht. Navigation auf die Art wird auch wieder nichts werden.
|
|
Source code |
1 |
<iframe src="../../galerie/index.php" frameborder="0" height="1600" width="100%">Sorry, your browser doesn't support iframes</iframe> |
This post has been edited 1 times, last edit by "Hexo" (Sep 7th 2007, 6:53pm)
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 |
<script type="text/javascript">
<!--
function getcontentheight() {
Hier muss was rein, was die benötigte Höhe des IFrame ermittelt.
resizeiframe(height);
}
function resizeiframe(hight) {
if(document.getElementById('iframe').height<height || document.getElementById('iframe').height>height) document.getElementById('iframe').height = height;
}
//-->
</script>
|
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
<script type="text/javascript">
<!--
function getcontentheight() {
Hier muss was rein, was die benötigte Höhe des IFrame ermittelt.
resizeiframe(height);
}
function resizeiframe(hight) {
if(document.getElementById('iframe').height<height || document.getElementById('iframe').height>height) document.getElementById('iframe').height = height;
}
//-->
</script>
<iframe src="../../galerie/index.php" height="100%" width="100%">Sorry, your browser doesn't support iframes</iframe>
|
This post has been edited 1 times, last edit by "Hexo" (Sep 10th 2007, 8:39pm)
|
|
Source code |
1 |
<iframe src="../../galerie/index.php" height="100%" width="100%" id="iframe">Sorry, your browser doesn't support iframes</iframe> |
|
|
Source code |
1 2 3 4 |
function getcontentheight() {
var height = '2000';
resizeiframe(height);
}
|
|
|
Source code |
1 |
<body ... onLoad="getcontentheight();" ...> |
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
<script language="javascript">
<!--
function iFrameHeight() {
if(document.getElementById && !(document.all)) {
h = document.getElementById('iframename').contentDocument.body.scrollHeight;
document.getElementById('iframename').style.height = h;
}
else if(document.all) {
h = document.frames('iframename').document.body.scrollHeight;
document.all.iframename.style.height = h;
}
}
//-->
</script>
|
|
|
Source code |
1 |
<iframe scroll="auto" scrolling="no" frameBorder="0" src="http://www.emsfriends.com/galerie/index.php" marginHeight="0" marginWidth="0" name="iframename" style="width: 100%" id="iframename"></iframe> |
This post has been edited 2 times, last edit by "Hexo" (Sep 11th 2007, 8:10pm)
|
|
Source code |
1 |
h = document.getElementById('iframename').contentDocument.body.offsetHeight;
|
Quoted
Original von Hexo
Leider kein Effekt beim Firefox.
Davon mal abgesehen. Wie würdest Du eine fremde Seite in eins Deiner Projekte einbinden? Vielleicht gibt es ja noch ne besser lösung?