1. Im Frameset der Homepage (z.B. index.htm) über </head> einfügen:
Code: Alles auswählen
<script language="JavaScript">
<!--
function checkFramecall() {
var Adressanhang=location.search;
if(Adressanhang)
frames.hauptframe.location.href=Adressanhang.substring(1,Adressanhang.length);
}
//-->
</script>
Code: Alles auswählen
onLoad="checkFramecall()"
Code: Alles auswählen
<frameset framespacing="0" border="0" frameborder="0" rows="120,*,8,27" onLoad="checkFramecall()">
Code: Alles auswählen
<script type="text/javascript">
function checkFrameset() {
if(!parent.hauptframe)
location.href="http://www.Deine-Domain.de/index.htm?http://www.Subdomain.Deine-Domain.de" + location.pathname + location.search;
}
</script>
Code: Alles auswählen
<script type="text/javascript">
function checkFrameset() {
if(!parent.hauptframe)
location.href="http://www.vista-infos.de/index.htm?http://www.forum.vista-infos.de" + location.pathname + location.search;
}
</script>
Das Forum läuft bei mir in einer Subdomain http://www.forum.vista-infos.de
Sollte das bei euch nicht der Fall sein, einfach die Zeile unter Punkt 4:
Code: Alles auswählen
location.href="http://www.Deine-Domain.de/index.htm?http://www.Subdomain.Deine-Domain.de" + location.pathname + location.search;
Code: Alles auswählen
location.href="http://www.Deine-Domain.de/index.htm?" + location.pathname + location.search;
Code: Alles auswählen
onLoad='checkFrameset()'
Code: Alles auswählen
<body onload='checkFrameset()' "PreloadFlag = true;" style="CURSOR: url('{T_IMAGESET_PATH}/blue.cur')" background="{T_IMAGESET_PATH}/back.gif" style="background-attachment: fixed">