Jquery time delay

i used this

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>

<script>
  $(document).ready(function() {
    $( "#navigation" ).accordion( "option", "active", -1 );
  });
</script>

      

I am developing but I need to set the time to agree. how can i set the time to shutdown and close according?

+2


a source to share


2 answers


JqueryUI does not allow you to change the opening and / or closing speed of accordion elements.



+1


a source


Do you mean how to control the animation speed?

just use



.accordion({ animated: 'bounceslide' });

      

you can change bounceslide to any supported method as long as you enable Core IU Effects Core

0


a source







All Articles