Ricerche recenti
Nessuna ricerca recente

AirDroid
Data ingresso 16 apr 2021
·
Ultima attività 01 feb 2022
Seguiti
0
Follower
0
Attività totali
9
Voti
0
Abbonamenti
3
PANORAMICA ATTIVITÀ
BADGE
ARTICOLI
POST
COMMENTI NELLA COMMUNITY
COMMENTI AGLI ARTICOLI
PANORAMICA ATTIVITÀ
Ultima attività di AirDroid
AirDroid ha commentato,
How can I contact you to get the solution?
Visualizza commento · Data ultimo post: 01 lug 2021 · AirDroid
0
Follower
0
Voti
0
Commenti
AirDroid ha commentato,
I didn't mean to have this working for multiple forms, I would like to have this working for only one form but for multiple ticket fields.
Visualizza commento · Data ultimo post: 30 giu 2021 · AirDroid
0
Follower
0
Voti
0
Commenti
AirDroid ha commentato,
Thank you for your information. it works for me.
I have another question. Currently, this code only works for only one ticket filed. If I would like them to work for others ticket filed too, what should I do?
Thanks.
Visualizza commento · Data ultimo post: 25 giu 2021 · AirDroid
0
Follower
0
Voti
0
Commenti
AirDroid ha commentato,
Hi,
I have a question, how to add multiple languages for the predefined answers?
Visualizza commento · Data ultimo post: 19 giu 2021 · AirDroid
0
Follower
0
Voti
0
Commenti
AirDroid ha commentato,
Sure.
In script.js, I add the code below:
var acc = document.getElementsByClassName("accordion");
var i;
for (i = 0; i < acc.length; i++) {
acc[i].addEventListener("click", function() {
this.classList.toggle("active");
var panel = this.nextElementSibling;
if (panel.style.maxHeight) {
panel.style.maxHeight = null;
} else {
panel.style.maxHeight = panel.scrollHeight + "px";
}
});
}
In style.css, I add the below code:
.accordion {
background-color: #eee;
color: #444;
cursor: pointer;
padding: 18px;
width: 100%;
border: none;
text-align: left;
outline: none;
font-size: 15px;
transition: 0.4s;
}
.active, .accordion:hover {
background-color: #ccc;
}
.accordion:after {
content: '\002B';
color: #777;
font-weight: bold;
float: right;
margin-left: 5px;
}
.active:after {
content: "\2212";
}
.panel {
padding: 0 18px;
background-color: white;
max-height: 0;
overflow: hidden;
transition: max-height 0.2s ease-out;
In the article, I add the below code:
Animated Accordion
Click on the buttons to open the collapsible content.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
after previewing the article, when I click the accordion, the content didn't display, please help check what am I miss.
Visualizza commento · Data ultimo post: 30 ott 2020 · AirDroid
0
Follower
0
Voti
0
Commenti
AirDroid ha commentato,
@Trapta I add the accordion code from w3shcool, but it not works. do you have any ideals?
Visualizza commento · Data ultimo post: 29 ott 2020 · AirDroid
0
Follower
0
Voti
0
Commenti