thanks tobaco, but i had achieved similar with this code:

$(function(){
                   
$('#main').Accordion({
                 
active: false,
showSpeed: 500,
hideSpeed: 100

});
});

but it causes exactly the same problem as the one you suggested: the smooth
hiding animation gets lost. a click on another panel simply closes the open
panel immediately and slide opens the new panel. the whole closing animation
sequence is supressed. anyone knows why?

cheers,

s


tobaco wrote:
> 
> try to change the function like this:
> 
> $(function(){
>                  
> $.extend($.fn.Accordion.defaults, {
>                
> active: false,
> showSpeed: 500,
> hideSpeed: 100
> 
> });
> 
> $('#main').Accordion();
> 
> });
> 
> 
> 
> schnuck wrote:
>> 
>> hi guys,
>> 
>> i am using the below with the accordion plugin and want initially all
>> panels to be closed, hence i have added "active: false" but with no
>> effect at all. what am i doing wrong?
>> 
>> tia,
>> 
>> s
>> 
>> $(function(){
>>                 
>> $('#main').Accordion();
>> 
>> $.extend($.fn.Accordion.defaults, {
>>               
>> active: false,
>> showSpeed: 500,
>> hideSpeed: 100
>> 
>> });
>> });
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/jquery-accordion-plugin-settings-help-tf3307897.html#a9201930
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to