You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently Anythingslider is using the 'outFx' settings for both the 'before' animation and the 'out' animation. This makes it impossible to have the animation slide in from the left, and slide out to the right.
I'd love to see an option for specifying the "before inFx" animation separately. One option would be to add another property "beforeFx", but even better still would be changing the behavior of 'inFx' so it is the start of the animation and not the mid-point. The mid-point in my opinion would be better left at its natural position.
example:
Currently these settings produce an animation that 1. starts below the stage at 0 opacity, 2. slides up to its natural position at 0 at full opacity, 3. slides back down to where it originated.
by changing the behavior of 'inFx' so it occurs before the start of the animation, you can 1. start ABOVE the stage at 0 opacity, 2. slides down to its natural position at 0 at full opacity (natural position), 3. slide down and out below the stage at 0 opacity. It would look like this:
I'll include this as an enhancement request. Honestly, I have no idea when I would be able to get around to implementing this as I am busy with other non-programming related projects. Sorry.
I'll include this as an enhancement request. Honestly, I have no idea when I would be able to get around to implementing this as I am busy with other non-programming related projects. Sorry.
—
Reply to this email directly or view it on GitHub.
Currently Anythingslider is using the 'outFx' settings for both the 'before' animation and the 'out' animation. This makes it impossible to have the animation slide in from the left, and slide out to the right.
I'd love to see an option for specifying the "before inFx" animation separately. One option would be to add another property "beforeFx", but even better still would be changing the behavior of 'inFx' so it is the start of the animation and not the mid-point. The mid-point in my opinion would be better left at its natural position.
example:
Currently these settings produce an animation that 1. starts below the stage at 0 opacity, 2. slides up to its natural position at 0 at full opacity, 3. slides back down to where it originated.
inFx : {
'img' : { bottom: '0px', duration: 200, opacity: 1, easing : 'easeOutExpo' }
},
outFx : {
'img' : { bottom: '-100%', duration: 200, opacity: 0, easing : 'easeOutExpo' }
}
by changing the behavior of 'inFx' so it occurs before the start of the animation, you can 1. start ABOVE the stage at 0 opacity, 2. slides down to its natural position at 0 at full opacity (natural position), 3. slide down and out below the stage at 0 opacity. It would look like this:
inFx : {
'img' : { top: '-100%', duration: 200, opacity: 1, easing : 'easeOutExpo' }
},
outFx : {
'img' : { bottom: '-100%', duration: 200, opacity: 0, easing : 'easeOutExpo' }
}
The text was updated successfully, but these errors were encountered: