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.

Problem mit scriptaculous/Effect.SlideDown

Empfohlene Antworten

Hallöchen,

Kann mir jemand verraten, wie ich es schaffe, den SlideDown-Effekt zu nutzen, wenn der Ausgangszustand des div-Containers "display: none" ist? Das versteheh ich nämlich nicht, da der Effekt nicht funktioniert bei dieser Einstellung, aber das muss ja gehen. Wäre ja blöde wenn, das schon sichtbar sein müsste, bevor man es "downslidet". Also wie geht das? Hat jemand ne Ahnung?

Danke :)

ich meine mich zu erinnern das der effekt das automatisch macht, aber du kannst ja bei Aufruf des Effektes das CSS-Attribut ändern.

habe ich auch schon, aber du funktioniert nur bedingt. Wenn ich das CSS-Attribut per JS ändere, dann ist für den Bruchteil einer SEkunde das ganze <div>-Teil zu sehen, bevor es dann ausgefahren wird. Sieht eher unschön aus.

Ich dachte auch, der Effekt macht das automatisch, bei Effect.Appear iste s auf jeden Fall so ...

LG

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.