DaveDev
DaveDev

Reputation: 42175

How can I modify they behaviour of this jQuery Accordion?

I'm using a slightly extended jQuery accordion: http://jsfiddle.net/AuJvc/

I've modified the accordion to allow multiple panels to be open at once, as outlined here: Looking for a JQuery plug-in similar to Accordian, but that allows multiple sections open at once

If you check the jsfiddle example, you can see that when you click the title (Charges & Fees), the accordion scrolls up & to the left. How can I change this so that it just goes up?

Upvotes: 0

Views: 148

Answers (1)

Gary Green
Gary Green

Reputation: 22395

Change

.toggle("slow");

To

.slideToggle("slow");

Fiddle: http://jsfiddle.net/AuJvc/1/

Upvotes: 1

Related Questions