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.

Pop up

Empfohlene Antworten

Servus Leute,

Folgendes Problem. Ich habe auf meiner Seite ein Paar Popup´s die Links auf andere externe Seiten haben. Wenn man einen Link anklickt dann macht er ne neue Site für den link auf <target=_blank> Nur des Prob ist dass des Popup geöffnet bleib! Gibt es ne Möglichkeit, dass man dem Popup ne Anweisung geben kann, dass wenn man auf einen Link geht, sich des Popup automatisch schließt.

Ich habs bei Slfhtml schon angeschaut, aber die einzige anweisung war window.close(). erhats zwar geschloßen ist aber nicht auf den Link gegangen !?!?!:confused:

Danke Schonmal

Sebi

Das mit window.close() geht nr bei pop-ups, die mittels javascript geöffnet wurden, also mit: fenster=window.open("test.html","test","width=400 height=240");

Schliessen würdest du das pop-up dann so: fenster.close().

Dies geht aber, wie gessagt nur bei Javascript-Pop-Ups.

Dafür müsstest du ein neues Fenster öffnen und dann das alte schliessen.

Könnte in etwa wie folgt aussehen:

<script language="javascript">

<!--

function finalLink()

{

neuesFenster=winow.open("ziel.html",...)

//am der Function

self.close();

}

//-->

</script>

<body>

<a href="javascript:finalLink()">Text</a>

</body>

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.