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.

Webseite CSS + PHP

Empfohlene Antworten

Hallo

Folgendes Problem:

Ich bin gerade an einer Webseite welche folgenden Aufbau hat

Header

Mainmenu(left)

Content(right)

Footer

Ich möchte nun das wenn ich einen a href link im <div>content</div> anklicke diese neue Seite im content angezeigt wird. Das erstellte CSS Layout soll aber enthalten bleiben. Sprich es soll sich nur der content ändern. Wie würde der php Befehl lauten ?

wenn du die seite nicht neu laden darfst oder willst, wirst du sie dynamisch nachladen müssen - stichwort "Ajax". mit PHP alleine hast du keine möglichkeit, und schon garnicht einen einzelnen "befehl".

s'Amstel

Und wenn du PHP dafür einsetzen willst schau dir mal die Funktion Switch an.

Ok werde es dann nochmal mit switch - case probieren. Hatte das Mainmenu ja auch darüber laufen lassen was supi funktioniert.(Wenn Menüpunkt gewählt suche zugehörige Seite - Seite wurde mit einer ID gekennzeichnet im Body-Tag)

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.