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.

Sound laden, und danach auf eine neue Seite

Empfohlene Antworten

Veröffentlicht

Ahoi,

also, ich möchte einen Sound laden. Wenn der Sound geladen ist, dann soll automatisch auf eine neue Seite gesprungen werden.

Wenn man anstatt eines Sounds ein Bild lädt, dann funktioniert das so:

<html>

<head>

<SCRIPT LANGUAGE="JavaScript"><!--

function change() {

location.href = "http://www.wetterfee.com";

}

//--></SCRIPT>

</head>

<body onLoad="change()">

<img src="images/xyz.jpg" onLoad="change()">

</body>

</html>

Mit dem Sound geht es nicht, dann der Sound wird ignoriert und der Sprung geht direkt auf die andere Seite.

Webentwickler

<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">Zitat:</font><HR>Original erstellt von beetFreeQ:

Hast du schonmal bei www.ideenreich.com nachgeschaut? Die haben ja meistens Lösungen für solche Probleme.

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.