10.04.2006, 00:14
Also...
als erstes kommt in den header bereich ein script das so aussheit
[php:1]<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>[/php:1]
Dann sieht es bei der ausgabe im body bereich so aus
[code:1]<div id="Layer1" style="position:absolute; left:20px; top:100px; width:383px; height:204px; z-index:1">
<p>dein text</p>
</div>[/code:1]
das left und top sind die xy axen. das kann auch mit top and right oder right und bottom gemacht werden. Wichtig das was von der seite kommt also left oder right. :wink:
Falls ihr Fragen hierzu habt...
...nur her damit.
ansonsten viel spaß damit.
als erstes kommt in den header bereich ein script das so aussheit
[php:1]<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>[/php:1]
Dann sieht es bei der ausgabe im body bereich so aus
[code:1]<div id="Layer1" style="position:absolute; left:20px; top:100px; width:383px; height:204px; z-index:1">
<p>dein text</p>
</div>[/code:1]
das left und top sind die xy axen. das kann auch mit top and right oder right und bottom gemacht werden. Wichtig das was von der seite kommt also left oder right. :wink:
Falls ihr Fragen hierzu habt...
...nur her damit.
ansonsten viel spaß damit.
