js menu déroulant OK
This commit is contained in:
@@ -23,6 +23,11 @@ jQuery(document).ready(function($){
|
|||||||
|
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$(".bouton-contact").click(function(event) {
|
$(".bouton-contact").click(function(event) {
|
||||||
|
// Fermer .connexion-full s'il est déroulé
|
||||||
|
if ($(".connexion-full").is(":visible")) {
|
||||||
|
$(".connexion-full").slideUp();
|
||||||
|
}
|
||||||
|
// Ouvrir .field--type-text-long
|
||||||
$(".field--type-text-long").slideToggle();
|
$(".field--type-text-long").slideToggle();
|
||||||
|
|
||||||
});
|
});
|
||||||
@@ -31,6 +36,11 @@ jQuery(document).ready(function($){
|
|||||||
|
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$(".bouton-connexion").click(function(event) {
|
$(".bouton-connexion").click(function(event) {
|
||||||
|
// Fermer .field--type-text-long s'il est déroulé
|
||||||
|
if ($(".field--type-text-long").is(":visible")) {
|
||||||
|
$(".field--type-text-long").slideUp();
|
||||||
|
}
|
||||||
|
// Ouvrir .connexion-full
|
||||||
$(".connexion-full").slideToggle();
|
$(".connexion-full").slideToggle();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user