PageSourceSearch

https://regroupement-rcms.org/wp-content/themes/rcms-theme/assets/js/menu-mobile.js?ver=1.0

js regroupement-rcms.org collected 2026-10-02 07:09:18 UTC 688 bytes, 17 lines download raw bytes

1const openMenu = document.getElementById('open-menu');
2openMenu.addEventListener('click', function () {
3    document.getElementById('menu-mobile-open').style.transform = 'translateX(0)';
4});
5const closeMenu = document.getElementById('fermer-menu');
6closeMenu.addEventListener('click', function () {
7    document.getElementById('menu-mobile-open').style.transform = 'translateX(100%)';
8});
9window.addEventListener('click', function (e) {
10    if (document.getElementById('menu-mobile-open').contains(e.target) == false) {
11        if (openMenu.contains(e.target) == false) {
12            document.getElementById('menu-mobile-open').style.transform = 'translateX(100%)';
13        }
14    }
15});
16
17

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.