• Resolved webmiorelys

    (@webmiorelys)


    Hi,
    Is there a way to control the expand animation_effect of the target content in Collapse-o-matic standard, (whether with the expand shortcode or the roll-your own method)?
    eg. have only fade (no slide effect).
    We have tried with various attribute values for data-animation_effect=’fadeIn’ / or ‘fadeToggle’ without any change in the effect. Is there a page that lists the methods that can be used?
    Best,
    WebM

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author twinpictures

    (@twinpictures)

    Wow, it’s been awhile since we have visited the effects on this.
    It sure could easily be supported, however, you do realise that only having target content fade-in would cause sudden JUMP in the layout of your page.

    1. Click Expand
    2. A blank space taking up the full content space suddenly appears on the page.
    3. The content fades in.

    That is the desired effect, correct?

    Plugin Author twinpictures

    (@twinpictures)

    We have just added a fadeOnly effect to 1.8.3 (RC 1 available from GitHub)
    Here is an example of all three effects:
    https://spacedonkey.de/4343/collapse-o-matic-animation-effects/

    Thread Starter webmiorelys

    (@webmiorelys)

    Hi,
    This works great! Thanks.
    I understand your comment above about a potential jump effect. Not a problem in certain layouts where several targets appear in the same layout area. The transition is smooth.

    In addition your 3 examples show that the two animation controls are
    > “duration” and “animation-effect”
    > NOT “data-duration” and “data-animation-effect” which we had picked up from documentation somewhere else.
    Now we can actually define both the effect the speed, which did not work previously ??

    Plugin Author twinpictures

    (@twinpictures)

    data-durationand data-animation_effect are (ahem) data attributes that would be used for the roll your own method where as duration and animation_effect are shortcodee attributes used for the… ahh… shortcode.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fade only the Target animation_effect in Collapse-o-matic’ is closed to new replies.