Diese Funktion ist eine individuelle Programmierung für den Fall, dass der Kunde die Registrierung und Anmeldung in ein Pop-up-Fenster integriert haben möchte.
Die darauffolgende(n) Seite(n) werden damit nicht auch im Pop-up, sondern auf einer neuen Seite geöffnet.

1. Damit die Funktion auch im Chrome funktioniert, fügt zusätzlich in den iFrame, der im Pop-up eingebunden wird, ein:
sandbox="allow-forms allow-modals allow-orientation-lock allow-pointer-lock allow-popups allow-presentation allow-same-origin allow-scripts allow-top-navigation"

2. Für die Weiterleitung auf die neue(n) Seite(n), fügt jeweils ein „Eigener Code“ Fenster ein, mit folgendem Code:

body {background:none transparent;
}


if (parent.window.self !== parent.window.top) {
top.location=parent.self.location;
}

Schreiben Sie einen Kommentar

Your email address will not be published.

Post comment