Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

frames, opener, location ???

Empfohlene Antworten

Veröffentlicht

hallo jungs und medls,

bin grad mal wieder am verzweifeln. ich weiß so schwer is das nicht aber ich hab jetzt schon x möglichkeiten durchprobiert und es haut nicht ab!

also ich mache aus dem hauptfenster mit zwei frames ( html navi-, und php main - frame) ein neues fenster auf in dem ich eine Datei öffne und dann speichern kann. nach dem speichern soll das pop up geschlossen werden und der php-main-frame auf der hauptseite neu geladen werden.

nach der datei-schreib funktion rufe ich eine JS Funktion leave() auf die bis jetzt so aussieht:

function leave()

{

opener.location.href = "http://"+location.host+"/rotel/admin/import.php?tagesprogramm";

opener.focus();

self.close();

}

das funktioniert soweit aber ich will ja nicht die kompletten frames neuladen sondern nur den main frame (heist übrigens auch "main")

also irgendwie so: opener.main.location......

hab schon zig möglichkeiten ausprobiert aber krieg es nicht hin .

im selfhtml is das auch nicht so gut beschrieben oder ich find nicht das richtige. aber dort steht das opener von window abgeleitet ist und somit alle methoden unterstützt

also müsste doch opener.main.location.href = funken ; oder?

danke für eure hilfe

wack JS ! außer man kanns ; )

ciao

jakob

window.opener.parent.frames['mainframe'].location.reload();

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.