Achmed: top.location.href will nicht im Netscape

Hallo,

unsere Seite besteht aus Framesets - mal mit 2, mal mit 3 Frames. In der Kopfzeile der jeweiligen "index.html", die die Framesets definieren, habe ich eingebaut, dass diese Datei immer
on top liegt:

if(top.frames.length > 0)
      top.location.href=self.location;

Jetzt mein Problem: Will ich per Dropdownmenü (.... 'target=rechts') eine "index.html" in das rechte Target laden, macht der MSIE keine Probleme, mein NN schmiert mir hemmungslos ab. Hat jemand eine Idee, was ich beachten muss? Vielen Dank, Achmed

  1. Hallo,

    weis nicht ob das dir hilft musst es noch anpassen ich benutze dies auch wg. den frames

    <script language="JavaScript">
    <!--
    function showframe(file)
    {
    var url = file;
    var browser = navigator.appName;
    var version = navigator.appVersion.charAt(0);

    if(browser=="Netscape" && version >=4)
    {
    parent.frames[1].location.href = url;
    }

    if(browser=="Microsoft Internet Explorer" && version >=4)
    {
    parent.frames[1].location.href = url;
    }
    }
    // -->
    </script>

    tschau

    Michael