![]() | Frames
![]() ![]() |
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).