Verwendung: Animierte Überschrift - wo anpassen?

mpeccator's Avatar

mpeccator

20 Jul, 2023 05:47 PM

Produkt: Oneo Contao
Contao-Version: 4.13

Wenn ich im Header einen Text+Image-Slider verwende, dann kann ich die "animierte Überschrift" auswählen.
Ich finde aber nirgends die Stelle, an der diese Animation verändert werden kann, es ist offenbar kein Frontend-Modul.
Wo finde ich das?
Hab auch versucht, die Animation ganz auszublenden (class: not-animated), dann wird die Überschrift aber nicht ohne Animation angezeigt, sondern überhaupt nicht mehr.
Könnten Sie mir da weiterhelfen?

  1. Support Staff 1 Posted by RockSolid Theme... on 21 Jul, 2023 08:25 AM

    RockSolid Themes's Avatar

    Vielen Dank für Ihre Frage.

    Die Animation wird über die Datei files/oneo/js/script.js gesteuert. Der hierfür relevante Bereich befindet sich unter var initTypingAnimation = function (element) {.

    Die Geschwindigkeit können Sie in der Zeile data.interval = setInterval(type, 100); anpassen indem Sie 100 mit der Anzahl an Millisekunden ersetzen die pro Buchstabe verwendet werden soll.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac