Jörg Peschke: frameset soll URI zusammensetzen

Beitrag lesen

Hallo,
Wie wärs damit?


if ((top.frames.length == 0) && (window.opener != null)){

parts = top.location.pathname.split("/");
top.location.href="welcome.html?" + parts[parts.length-1];
}

(WENN die Seite in keinem frameset ODER einem Popup geladen wird, dann....)

Viele Gruesse,
Joerg