Commit graph

11 commits

Author SHA1 Message Date
Adrian Rosin 47a8f70c00 state triggering animations or not instead of checking the style of the buttons, ensuring code isn't call when prefers-reduced-motion is enabled #30 2024-02-19 09:37:05 +01:00
ADRN d30acf4e37 WIP : quelques corrections, et un début de booléen 'animationEnabled' qui doit déterminer si l'on anime ou pas la page, en s'y prenant au plus tôt : pas de code appelé si pas d'animation demandée, et arrêt auto de l'animation si on toggle le booléen 2024-02-15 15:33:38 +01:00
Adrian Rosin 0c3e79cd94 added noindex for robots 2024-02-09 09:49:22 +01:00
Adrian Rosin 013f315c50 improved performance of the script for the loading of it and the scroll event listener 2024-02-07 09:52:32 +01:00
Adrian Rosin efeeba4743 feat: button disappear when scrolling down #16 2024-02-05 14:25:54 +01:00
Adrian Rosin 14cfee2aee feat: changed aria live attribute also if the prefers reduced motion is set to off and if the user clicks on the button to play/pause animations #30 2024-02-02 11:03:55 +01:00
Adrian Rosin 7c1b44bd29 added aria region live attribute on each region which animates according to prefers-reduced-motion option selected #30 2024-02-02 10:59:02 +01:00
Adrian Rosin 632986b36b feat: added prefered reduced motion (prm) condition which triggers to directly disable the animations if the prm equals to reduce #30 2024-02-02 10:43:48 +01:00
Adrian Rosin 06a73e6b10 added pause/play button which pauses/plays the animations as a nav 2024-01-31 09:26:29 +01:00
Adrian Rosin a396d36509 WIP pause the animation via button 2024-01-30 11:04:34 +01:00
Quentin 7dcd436b84
move root to static/ folder 2023-10-17 10:05:18 +02:00
Renamed from script-bon.js (Browse further)