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.

javamann

User
  • Registriert

  • Letzter Besuch

  1. Liebe Community, ich möchte einen A/B Test erstellen um herauszufinden welche der Variante mehr Newsletter Registrierungen erzielt. Dementsprechend habe ich mit ein Testing Tool besorgt und per Java folgenden Code eingefügt: $("body").append("<div id=\"overlay\"></div><div id=\"lightbox\" class=\"dialog wide\" style=\"z-index: 3000; display: block;\">\n\t<div class=\"closer\"></div>\n\t<div class=\"content panes\">\n\t\t<div class=\"custom-css pane\" style=\"display: block;\">\n\t\t\t<div class=\"header\">\n\t\t\t\t<h1>Sample Lightbox</h1>\n\t\t\t</div>\n\t\t\t<div class=\"content-body\" style=\"max-height: 634px;\">\n\t\t\t<center><img src=\"//cdn.optimizely.com/img/69234495/c5026e72bbf84890994b2323633061ad.png\"></center>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</div>"); Ich gebe es zu, dieser Code stammt von Optimizely und erstellt das gewünschte PopUp Fenster. Nun möchte ich aber noch eine Zeitverzögerung, ich denke am besten per settimeout von 30 Sekunden erstellen, bekomme es aber nicht hin Kann mir jemand weiterhelfen und zeigen wie ich den oberen Befehl mit einem settimeout verbinden kann, bei mir entsteht immer ein Syntax error. Ich wäre euch tausendfach dankbar!

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.