Frames

Diese Seite (frame1.htm) wird grundsätzlich nur als Bestandteil eines Frame-Sets dargestellt. Wenn die Seite einzeln aufgerufen wird, so wird das Frame-Set automatisch erzeugt.

frame1.htm:

<head>
<script language="JavaScript">
<!--
  if(parent == null || parent == self) {
    if(document.images != null) {  // Version 1.1 ?
      window.location.replace("frame0.htm?"+window.location.pathname);
    } else {
      window.location="frame0.htm?"+window.location.pathname;
    }
  }
//-->
</script>


frame0.htm:

<script language="javascript">
<!--
  document.write('<frameset rows="*,50">');
  var search=window.location.search;
  document.write('<frame src="'+search.substring(1,search.length)+'">');
  document.write('<frame src="frame2.htm">');
  document.write('</frameset>');
//-->
</script>

Hinweis: diese Vorgehensweise funktioniert mit MSIE nicht in Verbindung mit dem Protokoll file: (also lokal).

[zurück]

home
Erstellt von © Uwe Brinkmann - bingo e.V. - Stand 18.05.98