Accordion transition master list?

Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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...
    2. 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...
    3. 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?
    4. 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...
    5. 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...
  3. #2

    Default Re: Accordion transition master list?

    Puppo wrote:
    > 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?
    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:
    [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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139