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.

Ordnermenü in Websiten integrieren

Empfohlene Antworten

Veröffentlicht

Sicher habt ihr alle schon mal so ein Menü gesehen, dass dem Explorer Menü unter Windows gleicht. Also:

Ordner

|

|__ Unterordner

| |

| |__Unterordner

|

|

|__Unterordner ....

Wie wird sowas realisiert, JavaScript?,CGI?,CSS?

THX

Hi,

also ich habe sowas ähnliches erst vor kurzen gemacht!

Ich habe mir in meiner HTML-Seite einfach einen Absatz mit einer ID definiert.

z.B. <p id="Menu"></p>

Dann habe ich mit Hilfe einer Funktion und innerHTML so einen Baum wie du ihn willst dynamisch mit JS erzeugt. Dabei habe ich die ganzen Einträge praktisch als Link und wenn man also einen Eintrag anklikt, ruft man seine Funktion auf die den Baum neu darstellt. Durch das innerHTML muss noch nicht mal die Seite neu geladen werden!

Ich hoffe ich konnte helfen!

Ciao ;)

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.