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.

Link

Empfohlene Antworten

Ich möchte, wenn man auf einen Link klickt die seite test.htm im _self angezeit wird und gleichzeitig ein javascript ausgeführt wird... wie mache ich das ?

Hi

Ich habe einfach bei dem Klick eine Java-Script funktion aufgerufen. Dieser Funktion übergebe ich die Seite, die ich aufrufen möchte.

Nun setze ich in der Funktion im gewünschten Frame die gewünschte Seite und führe anschliessend das gewünschte Script aus

Gruß Erbeere

oder ein onClick Event bei dem <a>-Tag hinzufügen

Bsp:


<a href="test.htm" target="_self" onClick="window.close();">neues fenster oeffnen und dieses schliessen</a>

(okay, ich weiss, isn selten dämliches beispiel, aber mir fiel grad nix anderes ein)

@Erdbeere: Kannst du mir da mal einen Beispielcode posten ?

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

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.