/* "browser.js" Version 3.0 - Browser-abhängige Umleitung */ /* Webautor: Ingo FALK - Stand: 03-2002 */ function BrowserCheck() {//Browserversion ermitteln, Ladezeit mit Meldung überbrücken var DHTML = 0; var DOM = 0; var MS = 0; var NS = 0; var OP = 0; var JS = 0; var Pfad if (window.opera) {//Opera-Browser OP = 1; Pfad = self.location.href.slice(0,self.location.href.lastIndexOf("/")); } Meldung(); if (document.getElementById) {//Browser mit DOM-Implementation: >= MSIE 5.x, Mozilla/Netscape 5.x (V6.x), Opera 5.x JS = 1; DHTML = 1; DOM = 1; } if (document.all && !OP) {//MSIE >= 4.x JS = 1; DHTML = 1; MS = 1; } if (document.layers && !OP) {//NSCom 4.x bis 4.76 JS = 1; DHTML = 1; NS = 1; } if (document.images && !DHTML) {//2. Generation JavaScript ABER Browserversion < 4.00 JS = 1; } if (OP) {//NUR Opera-Browser = Ziel-Frame explizit angegeben if (DHTML) {//DHTML-fähiger Browser = Opera >= 5.12 top.location.replace(Pfad + "/" + "frameset.htm"); } else {//DHTML NICHT verfügbar, wenn 2. Generation = neuere Version: "Replace"-Methode - sonst "HREF"-Methode (JS) ? top.location.replace(Pfad + "/" + "standard.htm") : (top.location.href = Pfad + "/" + "standard.htm"); } } else {//ALLE anderen Browser if (DHTML) {//DHTML-fähige Browser, MSIE 4.x/5.x = "HREF"-Methode - sonst "Replace"-Methode (MS) ? (location.href = "frameset.htm") : location.replace("frameset.htm"); } else {//DHTML NICHT verfügbar, wenn 2. Generation = neuere Version: "Replace"-Methode - sonst "HREF"-Methode (JS) ? location.replace("standard.htm") : (location.href = "standard.htm"); } } } /* Funktion zum Herausfiltern von Browsern ab VERSION 4.XX und autom. Umleiten nach FRAMESET */ /* Aufruf "onLoad" von "index.htm" des jeweiligen Verzeichnisses */ function Meldung() {//Bildschirmmeldung während des Ladevorgangs with(document) {//NEUES HTML-Dokument generieren write('
');
write("Ich bitte um etwas Geduld,
die gewünschte Seite wird geladen...");
write('