You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

Slow Down the Accordion Created Aug 26, 2010

This thread is solved

Views: 1363     Replies: 2     Last reply Apr 20, 2011  
You must login first before you can use this feature

Reformed Design

Posts: 1

Registered:
Aug 26, 2010

Slow Down the Accordion

Posted: Aug 26, 2010

Is there a way to slow down the slide effect of the accordion feature of Tabs?

boogi88

Posts: 11

Registered:
Aug 27, 2010

» Slow Down the Accordion

Posted: Aug 27, 2010

Reply to: Slow Down the Accordion, from reformeddesign
change:

$(this).toggleClass("inactive").next().slideToggle("slow");

to:

$(this).toggleClass("inactive").next().slideToggle("fast");

JustinSummerlin

Posts: 1

Registered:
Apr 20, 2011

Help!

Posted: Apr 20, 2011

Reply to: » Slow Down the Accordion, from boogi88
Okay, where is this change made? I've got a js include that looks like this (it includes some code for a slideshow as well... the accordion code is at the bottom):

// What is $(document).ready ? See: http://flowplayer.org/tools/documentation/basics.html#document_ready
$(function() 
{
	$(".slidetabs").tabs(".images > div", 
		{
		
			// enable "cross-fading" effect
			effect: 'fade',
			fadeOutSpeed: "slow",
		
			// start from the beginning after the last tab
			rotate: true
		
			
		// use the slideshow plugin. It accepts its own configuration
		}).slideshow({autoplay: true, interval: 5000});
});

$(function() 
{
	$(".slidetabs").data("slideshow").play();
});

$("#accordion").tabs("#accordion div.pane", 
	{
		tabs: 'h2', 
		effect: 'slide', 
		initialIndex: null
	});