Desactivar animación Jquery Accordion

How can i turn off the animation effect on this accordion? so that when I click the sections it just opens instantly, rather than slow drop down?

$(function() {
$( "#accordion" ).accordion({
  collapsible: true
({ animate: false });

preguntado el 10 de septiembre de 13 a las 00:09

To open accordions instantly is sign of a poor UI which leads to a poor UX -

I agree, but the person I'm building the site for insists. -

1 Respuestas

If you want to prevent the accordion animation, you should pass the appropriate property as part of the configuration object, as follows:

 $(function () {
         collapsible: true,
         animate: false

Respondido el 10 de Septiembre de 13 a las 00:09

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.