Comments (10)
I suggest waiting for the next version release, but if you need to work it out right now you can play with the jquery.flexslider.js file.
On lines like line 21, container is set to
from flexslider.
Thanks Tyler!
I supposed that I need to do something like that but first I wanted to be sure.
Now I'll try this fix.
from flexslider.
I've tried in this moment,
but it doesn't work...
maybe needs to modify the " slider.slides = $('.slides > li', slider); " row?
from flexslider.
Yes, sorry if I wasn't clear. Any instance of declaring .slides should involve some delimiter ensuring it only gets the first child of that selector. So, you'll mimic what you did previously to that line.
Also, search for slider.newSlides in there and you might find another selector.
from flexslider.
I've tried to change " slider.slides = $('.slides > li', slider); " in different ways but I've no success.
Could you suggest me how to make how to fix this?
from flexslider.
I've made this changes to get it work:
slider.container = $('.slides', slider); -> slider.container = $('.slides', slider).first();
slider.slides = $('.slides > li', slider); -> slider.slides = $('.slides:first > li', slider);
slider.newSlides = $('.slides > li', slider); -> slider.newSlides = $('.slides:first > li', slider);
For now it's working for me.
from flexslider.
Yeah, those three should variables should cover it.
from flexslider.
I'm looking to set up a FlexSlider where each "slide" is another FlexSlider. I'm using v2.1 and am wondering if the above discussion/solution is still relevant, being that it was from a year ago.
from flexslider.
@kmeronuk did you have any luck with this?
from flexslider.
followed this with version v2.1 and it worked:
http://stackoverflow.com/questions/14770351/woothemes-flexslider-one-unique-flexslider-inside-another-flexslider-is-it-p
I didn't nest my second slider start, maybe I should. Currently it's something like:
var App = function () {
return {
initSliders: function () {
$('#mainpage-flexslider').flexslider({
animation: "slide"
});
$('#clients-flexslider').flexslider({
animation: "slide"
});
}
};
}();
jQuery(document).ready(function() {
App.initSliders();
});
from flexslider.
Related Issues (20)
- Prevent vertical swipe while swiping horizontally HOT 2
- Fix for Number-typed values are deprecated for jQuery.fn.css
- Forbid to tab through the slider HOT 1
- swipe is reverse in RTL
- $( '.flexslider' ).flexslider({ is not running occasionally HOT 1
- hiding slides with display:none to filter them... way to 'recount' the slides after doing so
- Using iframes (yt-videos) in flexslider breaks the last slide (animation: slide)xslider HOT 1
- Trouble placing multiple instances of flexslider on a website or page
- When animationSpeed becomes large, the image doesn't switch to a smartphone with Chrome's Devtools.
- The package could not be installed. Trying to install the plugin, get an empty plugin error?
- Fetching Thumbnail images dynamically
- Not compatible with Google Chrome and rtl mobile browsers HOT 1
- Is FlexSlider abandoned? HOT 1
- fix scrolld in 5000 min
- How to setup Flexslider in a gulpfile HOT 1
- FlexSlider prevents use of back/forward cache
- does not start on the first slider HOT 1
- slide container gets bigger when another slide has a tall vertical or horizontal image
- Cannot read properties of undefined (reading 'toLowerCase'
- thumbCaptions setting creates invalid html
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flexslider.