frameset url ändern geht nicht unter windows
joMakaroni
- javascript
hallo,
ich habe eine frameset mit mehreren html seiten.
in einem der seiten rufe ich eine js function auf um die sprache zu wechseln:
changeLang('de');
function changeLang(spr)
{
parent.location.href='../'+spr+'/index.php';
}
also ich will das das frameset für de komplett neu läd.
warum geht das nicht unter Windows, unter MacOs gehts?
was ist falsch an meiner funktion??
gruß
joMakaroni
hallo,
also ich will das das frameset für de komplett neu läd.
Dann möchtest du _nicht_ "parent.location.href" nehmen, sondern "top.location.href"
Grüße aus Berlin
Christoph S.
Danke,
es funktiniert jetzt
:-)