paragraph id
This commit is contained in:
@@ -13,7 +13,9 @@ function toggleMenu(event) {
|
||||
}
|
||||
|
||||
|
||||
// faq reponse open
|
||||
// faq reponse open
|
||||
// Attention ouvre toutes les question en même temps
|
||||
|
||||
|
||||
var answers = document.getElementsByClassName("field--name-field-reponse");
|
||||
var questions = document.getElementsByClassName("field--name-field-question");
|
||||
@@ -31,6 +33,22 @@ function toggleFaq(event) {
|
||||
answer.classList.toggle('opened');}
|
||||
}
|
||||
|
||||
// fonction pour attribuer la class du parents
|
||||
|
||||
var fields = document.getElementsByClassName("field--name-field-titre");
|
||||
var paragraphs = document.getElementsByClassName("paragraph--type--texte");
|
||||
for (let i = 0; i < fields.length; i++) {
|
||||
const field = fields[i]
|
||||
}
|
||||
function giveIdParent(){
|
||||
document.field.classList="paragraphs";
|
||||
}
|
||||
|
||||
// Function mouseOut ()
|
||||
// {
|
||||
// document.getelementbyid("flashdiv").classname="flash-I";
|
||||
// }
|
||||
|
||||
// open external link in new window
|
||||
// $(".ext").each(
|
||||
// function(i,e){
|
||||
|
||||
Reference in New Issue
Block a user