This is the place for questions about learning design and pedagogy; how to use different page types for different purposes.

Adding Animation to Title Pages

Plus d'informations
il y a 6 ans 5 mois #6312 par drlara
Adding Animation to Title Pages a été créé par drlara
A subtle animation could be used in Title Pages to visually attract learners' attention.
It looks like Xerte doesn't provide any animation features, so I thought about sharing the CSS and JS code I used to create a subtle fading animation effect (see attached images). Having the Title Page selected, I added a "Styles" block, from the "Optional Properties" column, and entered the following code:
@keyframes fadeIn {
0% {opacity: 0; transform: scale(.3); }
100% {opacity: 1; transform: scale(1); }
}
.fadeIn {
animation: fadeIn 5s;
-webkit-animation: fadeIn 5s;
}


Then, added a "Script" block and pasted the following line:
$("#pageContents").addClass("fadeIn");

This code should work in any Title Page of XOT projects.
More elaborated animations could also be created, for instance, to display a pedagogical agent or avatar entering from the left.
Pièces jointes :
Les utilisateur(s) suivant ont remercié: ymoore, xlearn

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: ingdon
Temps de génération de la page : 0.128 secondes
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo