Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.
-
Puppo #1
Accordion transition master list?
i can't seem to find a list of all of the transitions or effects or animations for the accordion. things like easeIn/easeOut/duration etc.
can anyone help? Adobe?
Puppo Guest
-
Multiple cfformgroup Accordion don't display in IE7Multiple cfformgroup Accordion don't display in IE 7
Sorry for the double post, wasn't sure which category to post this question in. On FireFox 2.0.0.12 (Linux), the attach code displays two... -
Unordered list bullets and Spry Accordion widget
In all browsers except IE (surprise, surprise!), the page works fine. Otherwise the bullets in my unordered list appear at the bottom of the... -
Linking to pages that are based on a master flows text to master?
Why? Has anyone else had problems with this? I saw some discussion of it in a previous thread, but saw no solutions. Any ideas? -
List won't display in Accordion segment... PLEASE HELP!
I have an accordion on the stage (instance name myAccordion) that is populated from an object (which is created from an XML doc). After I create a... -
Master / Details list
I would like to know how to build a master / list details page that is a little different than anything I see in examples. I want something like... -
danilocelic AdobeCommunityExpert #2
Re: Accordion transition master list?
Puppo wrote:
I don't see it specifically documented, but the Accordion object can take a transition option. The transitions are defined in SpryEffects.js, so you may have to down load Spry from here:> i can't seem to find a list of all of the transitions or effects or animations for the accordion. things like easeIn/easeOut/duration etc.
>
> can anyone help? Adobe?
[url]http://labs.adobe.com/technologies/spry/home.html[/url]
Unzip that and go to the "includes" folder and copy SpryEffects.js into your site in the SpryAssets folder (which should be there when you added an accordion to one of your pages.
In the page with the accordion add a link to SpryEffects.js in the head of your document. This file contains the definitions for all of the supported transitions (although I assume that you could add more if you knew what to do). This page lists the transitions available:
[url]http://labs.adobe.com/technologies/spry/articles/effects_coding/index.html[/url]
Scroll down to "Transition overview". That section contains a link to a page that shows demos of the transitions, which is here:
[url]http://labs.adobe.com/technologies/spry/samples/effects/transition_sample.html[/url]
Here are the transistions that are listed:
Spry.linearTransition
Spry.sinusoidalTransition
Spry.squareTransition
Spry.squarerootTransition
Spry.fifthTransition
Spry.circleTransition
Spry.pulsateTransition
Spry.growSpecificTransition
At the bottom of your page will be the constructor for your Accordion, which by default will look something like this:
var Accordion1 = new Spry.Widget.Accordion("Accordion1");
So if you wanted to use the squarTransition, you would change that constructor to the following:
var Accordion1 = new Spry.Widget.Accordion("Accordion1", {transition: Spry.squareTransition });
Don't try the pulsateTransition as it's very visually jarring when combined with the Accordion.
--
Danilo Celic
| Extending Knowledge Daily : [url]http://CommunityMX.com/[/url]
| Adobe Community Expert
danilocelic AdobeCommunityExpert Guest



Reply With Quote

