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.

Counter in der Statusleiste

Empfohlene Antworten

Hello

Hätte da mal ne Frage. Wäre es möglich einen Counter in der Statusleiste zu erstellen? Meine ich habe sowas noch nie gesehen auf einer Page.

Weiß jemand mehr ?

Dachte dann an einer Meldung in der Statusleiste bei jedem Aufruf...."Sie sind der XXXXXX Besucher"

Also hat jemand eine Idee sowas mit JavaScript hinzubekommen?

Gruß M

du musst erst deine Anzahl auslesen... (wahrscheinlich mit php)

und dann



$anzahlBesucher = "......."

echo '
<script type="text/javascript">
window.status = "Sie sind der '. $anzahlBesucher .'. Besucher!"
</script>';

[/PHP]

Hm, warum heisst die Statusleiste denn so?

Weil man da den Status sehen kann.. (und nicht irgendwelche Werbung etc.pp..)

Ich würde das nicht machen, weils mich persönlich auch auf anderen Seiten stört, und zudem auch nicht auffällt... (und andere Brauser als IE auch so Ihre Problem damit haben oder es nicht anzeigen)

@spike: Ja, ich weiss.... :e@sy

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.