All Questions
321
questions
0
votes
1
answer
89
views
jQuery - Open one accordion, close others
I have an accordion section and need to achieve two things:
Have the first accordion open by default on page load.
Everytime I click on closed accordion, open it and close the one opened previously. ...
0
votes
1
answer
579
views
jQuery UI Accordion - keeping elements closed while page loads
I am using jQuery Accordion to group 5 different sections on my site. This works well, with one exception: during page load, the elements INSIDE the accordions are showing, resulting in a very ugly ...
1
vote
1
answer
60
views
how do i activate my jquery accordion, it is not working?
Here is my code, I am working local file of jquery. I have been trying to add an accordion to that code but, it is not responding. I tried to put an alert to see if my JavaScript is working and I saw ...
0
votes
0
answers
47
views
jQuery accordion opening tabs on page load
I have a jQuery accordion that is called from a generic accordion() function.
The issue i'm having at the minute is that the accordion is opening the tabs on page load instead of loading them in ...
0
votes
1
answer
208
views
jquery Accordion submenus not expanding
I'm trying to perform an accordion using jQuery. The problem is that my subchildren are not showing or I would say the submenu panel is not expanding when I click it.
This is the structure of the ...
2
votes
1
answer
59
views
How can I do this when an Accordion open and the other shuts off?
I'm trying to make an Accordion for one of my projects. My Accordion is working. Now every clicking on the Accordion titles shows content and all the Accordions are open. But when I open an Accordion, ...
5
votes
1
answer
2k
views
jquery-ui accordion - How to dynamically create a new section
I want to know whether there exists a method that I could add a new section using jQuery UI
This is what I do so far without any error, but the accordion don't work since I add a new one
$( ...
1
vote
2
answers
599
views
Why does the accordion works just once?
I'm trying to get this effect:
When I open the dialog for the first time everything works fine.
But if I close the dialog and open it again this is what I see:
Does someone knows how to fix it?
This ...
0
votes
1
answer
236
views
The script variable within accordion
The code goes as follows:
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>jQuery UI 拖动(Draggable) - 视觉反馈</title>
<link rel="...
1
vote
1
answer
601
views
jQuery UI - accordion - sortable issue
I've encountered a problem with the sortable interaction of accordion. It should be possible to drag the <h3> elements and change their order. I tried to use the function from the official demo (...
0
votes
1
answer
44
views
Drupal - News with accordion / toggle effect and resizing image
I would like to make a news portal, where next to the post excerpts there will be an image. When you click on the image, the title or the post excerpt , the whole content will be shown (accordion / ...
1
vote
2
answers
4k
views
Uncaught TypeError: $(...).accordion is not a function in wordpress
Hello I am using the jQuery UI accordion on a website with wordpress and I get the error: "Uncaught TypeError: $(...).accordion is not a function"
In my functions.php I load a app.js, where I have ...
0
votes
1
answer
1k
views
jquery.accordion delay open
I have a working jquery accordion on my site that pops up above the site content and pushes the content down, revealing a contact form. The trigger is a menu item inside the topbar. I want my topbar ...
0
votes
1
answer
104
views
not open second menu of accordion menu
I am using this accordion menu.
JavaScript:
var acc = document.getElementsByClassName("accordion"), i;
for (i = 0; i < acc.length; i++) {
acc[i].onclick = function(){
this.classList....
1
vote
0
answers
65
views
not show accordion menu in asp mvc
I create a website with asp mvc.
I need to use this project in accordion menu .
I added the following script :
<script src="~/Areas/Scripts/jquery-3.1.1.js"></script>
<link href="~/...