Files
drupal-reha/web/themes/custom/reha/js/reha.js
T
2023-11-24 10:22:50 +01:00

41 lines
566 B
JavaScript

/**
* @file
* reha behaviors.
*/
(function (Drupal) {
'use strict';
Drupal.behaviors.reha = {
attach: function (context, settings) {
console.log('It works!');
}
};
} (Drupal));
jQuery(document).ready(function($){
// menu déroulant
$(document).ready(function() {
$(".bouton-contact").click(function(event) {
$(".field--type-text-long").slideToggle();
});
});
$(document).ready(function() {
$(".bouton-connexion").click(function(event) {
$(".connexion-full").slideToggle();
});
});
});