Skip to main content

All Questions

Tagged with
1 vote
1 answer
40 views

Multiple accordions working independently where the first of every accordion is open [duplicate]

I'm using this accordion module from W3Schools: https://codepen.io/SupposedlySam/details/oWWgqZ It's working well, only a problem occurs when i use two of them on the page. They still work. Only they ...
Jelle's user avatar
  • 39
0 votes
1 answer
31 views

How to animate or anchor bootstrap 4 accordion to its respective title when clicking its button?

Right now I have multiple script id's of #collapseTab2-1, #collapseTab2-2, #collapseTab2-3 etc.. to implement animate/anchor to its accordion title respectively when clicking its respective button ...
clarkf's user avatar
  • 671
-1 votes
2 answers
43 views

JQuery accordion not working in Razor page

I've spent a few hours digging through here and other sites and can't find the answer. I'm trying to implement a simple accordion in a razor page, but no matter what I try it doesn't work. _Layout....
Pierre Sogol's user avatar
0 votes
1 answer
53 views

Prevent the Bootstrap accordion collpase on the internal anchor (href) click

I want to prevent the accordion from collapsing on the new page opening after clicking the anchor element (href). Please find the HTML code below, Can anyone help me with the JavaScript to achieve ...
rabail mushtaq's user avatar
1 vote
0 answers
35 views

Smooth opening of the accordion using JavaScript + jQuery

I can’t open the accordion smoothly, I can’t figure out what the problem is? HTML code must remain unchanged. <!DOCTYPE html> <html> <head> <title>Example of smooth ...
spacemakerman's user avatar
0 votes
0 answers
73 views

Dynamic Form with Nested Accordion

I am making n dynamic form within nested accordion. My question is, how can I make input field inside the generated accordion that contains dynamic form. I will describe my accordion. Parent accordion ...
Vincent Vargas's user avatar
0 votes
1 answer
38 views

jQuery: How do I make an already open accordion slide collapse when I click on a different slide?

Working codepen link: https://codepen.io/boingloings33/pen/PoXpLWR I have a mostly functioning accordion that I'm struggling to make auto-collapse an open slide when I click the next one. Any help ...
Brenden Baio's user avatar
0 votes
1 answer
96 views

How to add sliding effect for accordion menu in Javascript?

I am creating an accordion menu which slides up and down on clicking on it. I am able to get the functionality but couldn't get the animation effect that slides smoothly from top to bottom and bottom ...
Gopichand's user avatar
0 votes
3 answers
62 views

Accordion crashes on clicking links within each tab

I have this pure CSS accordion code below. It works well but when I include a link inside the the link is not directed to what is in the href="" and ends up closing the accordion tab. I've ...
Ed Dias's user avatar
  • 175
0 votes
1 answer
497 views

How to (re)initialise flickity carousel inside accordion items?

I am trying to get one flickity carousel to work in each of my accordion items and my lack of knowledge in js gets me unfortunately to a dead end. What happens is that I see my carousels broken (not ...
ale_scu's user avatar
0 votes
1 answer
362 views

Trying to add Select tag in Bootstrap Accordion header, But not able to stop propagation

I am trying to add Select tag in bootstrap accordion header, but when I try to select option from select Tag accordion toggle, As I add stop propagation to select by jQuery it doesn't work as expected....
P Jaju's user avatar
  • 3
0 votes
0 answers
106 views

Using jQuery accordion from an external JS file

I have a standard jQuery accordion which works fine. I want to reuse this in a lot of HTML files and it would be cleaner to have the JS in a file rather than have to repeat in a script tag in each ...
boardtc's user avatar
  • 1,508
-1 votes
1 answer
174 views

simple jQuery accordion

I'm trying to write simple accordion, im not sure what I'm missing here. It Div : aquashow needs to be hidden when the page loads, and when user click on the button it needs to be show/hide var $ =...
Asanka's user avatar
  • 493
0 votes
0 answers
33 views

Local Storage Accordion-header with jQuery

how can i save the last accordion on click , so that when the page reloads it keeps its last value $(document).ready(function(){ /* =============== LOCALSTORAGE TAB Vertical =============== */ ...
Guar Dian's user avatar
0 votes
1 answer
143 views

Accordion closing onClick anywhere in container

I am trying to create an accordion for a project I'm working on. For the sake of argument, lets assume this accordion only has one container. So far, I've got it all working, however when I expand the ...
Utheturd's user avatar

15 30 50 per page
1
2 3 4 5
133