![]() |
SELFHTML Forumsarchiv |
|
|
Die folgende Nachricht zum Thema stammt von: labos, 30. 06. 2006, 12:00
Hallo,
ich möchte ein Popup, das automatisch im Hauptfenster weiterleitet und sich selbst schließt. So weit, so gut, nur im Hauptfenster ist der Link innerhalb eines Frames, so dass beim weiterleiten die neue Seite im Frame geladen wird. Kann man dem opener.location sagen, dass er die neue Seite sozusagen _top öffnet?
<script LANGUAGE="JavaScript">
opener.location.href='www.seite.de';
self.close();
</script>
Die folgende Nachricht zum Thema stammt von: wahsaga, 30. 06. 2006, 12:28
hi,
»» Kann man dem opener.location sagen, dass er die neue Seite sozusagen _top öffnet?
Ja - du musst du doch das, was du hier beschreibst, nur noch in Javascript umsetzen:
»» opener.location.href='www.seite.de';
opener.top.location.href
gruß,
wahsaga
--
/voodoo.css:
#GeorgeWBush { position:absolute; bottom:-6ft; }
Die folgende Nachricht zum Thema stammt von: labos, 30. 06. 2006, 15:11
Hallo, so einfach ist das! Besten Dank
»» hi,
»»
»» »» Kann man dem opener.location sagen, dass er die neue Seite sozusagen _top öffnet?
»»
»» Ja - du musst du doch das, was du hier beschreibst, nur noch in Javascript umsetzen:
»»
»» »» opener.location.href='www.seite.de';
»»
»» opener.top.location.href
»»
»» gruß,
»» wahsaga
»»
»»
© 1998-2006
Impressum, Software: Classic Forum