New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Orbit Transitions #2023
Comments
Same comment / question. Thanks. |
Feature mentioned in #1757 (comment) |
This seems like a pretty big deal breaker to have a carousel that can't support multiple or custom transition types. Is there any plan to change this? |
I might take a look at this when I get home from work. No promises for a fix though. |
any chance for a few ease in out types like we've had in javascript for years? |
Well, the easing part was easy. Moving it in different directions (up, down, diagonal) or fading is a bit harder... Easing: easing: 'linear', // default is linear. to the settings brackets. Example: settings: {
timer_speed: 10000,
animation_speed: 2000, // Default is actually 500 but I like it slow...
bullets: true,
stack_on_small: true,
easing: 'linear', // This is the line we added
container_class: 'orbit-container',
stack_on_small_class: 'orbit-stack-on-small',
next_class: 'orbit-next',
prev_class: 'orbit-prev',
timer_container_class: 'orbit-timer',
timer_paused_class: 'paused',
timer_progress_class: 'orbit-progress',
slides_container_class: 'orbit-slides-container',
bullets_container_class: 'orbit-bullets',
bullets_active_class: 'active',
slide_number_class: 'orbit-slide-number',
caption_class: 'orbit-caption',
active_slide_class: 'active',
orbit_transition_class: 'orbit-transitioning'
} Now edit the line }, self.settings.animation_speed, 'linear', function() { to }, self.settings.animation_speed, self.settings.easing, function() { Now you can set the easing type in the data-options like this (the animation_speed I added to emphasize that it actually works! Remeber that all easings aren't supported unless you include the jQueryUI library): <ul data-orbit data-options="easing: 'easeInOutCubic'; animation_speed: 2000;"> You can use most easings if you use jQueryUI found on http://api.jqueryui.com/easings/ |
THANKS for your efforts emilhem! BTW, are you still trying to get fades working too? |
Check out the examples: http://api.jqueryui.com/easings/ I think Foundation should include more of the easings. I will not work on the fading nor moving up/down/diagonal since I don't think that I have the skillset currently to do so. I might give it a try someday if the developers of Foundation doesn't add this wanted feature. |
cool... thanks! |
Is there any progress with the other transition types? Having a fading transition would be great! |
I'm now regretting using foundation 4 on a new project i have deadline to deliver, the framework is not ready, why releasing to the detriment of users, orbit is just a mess because the current horizontal sliding transition is so so ugly, right now twitter bootstrap is better than foundation to me ... |
I would also like to the see the fade transition brought back. I can only guess there is much thought going into how they want to implement transitions. @emekamicrosoft did I miss an update to carousel? I think Bootstrap has room for improvement in areas as well. |
I totally hate it when there are clearly issues and no one from the team bothers to give a reason or a workaround at least. Jeez, thought Foundation was built for people in general, not just yourselves. |
Does anyone know how to have mutiple sliders on a page. And then initialize them through javascript one by one?
The problem is that I have 2 sliders i.e. Slider-1 and Slider-2. How can I initialize them one by one with different settings. The current apparoach applies this settings on all sliders. I know I can do that in the HTML tag using the data-options="" but I am more interested in how to do it in javascript. |
Looking for the fade transition as well... looks like there is yet another part of foundation 4 that forces us to revert back to non-foundation goodies |
Zurb sent me a message as regards to the fade transitions, the fade On Wed, Apr 24, 2013 at 1:56 AM, blindMoe notifications@github.com wrote:
|
Need fade-in as well... :-) THX in advance. Where do I'm getting informed? |
I need fade animation too |
I'll be watching this thread as this is essential for my project. |
fade 👍 |
Waiting for the fade release. Thanks for the info! |
It feels kind of essantial with fade, would really love a fix on this aswell |
Hoping for news about fades, other transitions as well, the current animation is not very attractive and seems like a big step backwards from the previous version. As ever, love Foundation and appreciate all the work the Zurb Team put into it, just some user feedback. Thanks! |
|
+1 for fade, ability to hide next/prev arrows, and all other customizations that were in Foundation 3. |
+1 for fade! Ability to hide next/prev arrows is already there: |
+1 for fade |
fade please! |
guys try this and let it go |
+1 for fade, it would make life easier. |
+1 for fade! |
+1 for fade! 👍 |
+1 for fade ;) |
Need fade desperately |
+1 for fade! |
+1 for fade |
The following works for me: Initialize your slider with:
And put this in your CSS:
Adapted from #1757 (comment) |
Fade has returned!! 4.3 brings animations back, along with fade! http://zurb.com/article/1226/foundation-4-3-paving-the-road-to-5 |
Where's fade? |
@dreadrocksean Make sure you're on version 4.3, and read the docs: http://foundation.zurb.com/docs/components/orbit.html |
Please forgive but for nothing can I find documentation on fade transitions. Where do I look? I tried the link you sent. |
Search for "fade" on that page and you'll find the config setting to enable the fade transition. |
omg, how did I not see that. Thank you and I apologize. |
One more thing: Does the user have control over the transition speed of the fade? Changing the value of "animation_speed" does not seem to alter anything. Is "orbit-transitioning" relevant here? |
same problem here, I can't seem to find how to change the fading animation speed |
Yes, animation_speed doesn't work properly. |
Yes, animation_speed definitely doesn't work properly. Does anyone know what animations are/will be supported? |
Foundation 4.0 has removed all transitions from Orbit bar the sliding effect between slides. [n.b. The migration documentation makes no mention of this].
Are there plans to re-implement these other transitions or is Orbit being positioned purely as a swipe-to-switch element?
The sliding is pretty ugly/distracting when Orbit is used for a showcase header on a site - particularly if automatic. If you could confirm one way or the other I'll know whether to hang on or find another plugin. Thanks!
The text was updated successfully, but these errors were encountered: