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
I am having a problem where if I include modernizr (before or after initializing the slider), the itemWidth is ignored until I resize the window. If I set the animation to fade instead of slide, the bug does not occur.
Here is the code I'm using:
$(document).ready(function() {
// #carousel is the nav for #slider
$('#carousel').flexslider({
animation: "slide",
controlNav: false,
animationLoop: true,
slideshow: false,
itemWidth: 210,
itemMargin:5,
asNavFor: '#slider'
});
// Main slider
$('#slider').flexslider({
animation: "slide",
controlNav: false,
animationLoop: false,
slideshow: false,
sync: "#carousel",
itemWidth: 672,
minItems: 1,
maxItems: 1
});
});
Anyone else experiencing this?
The text was updated successfully, but these errors were encountered:
I am having a problem where if I include modernizr (before or after initializing the slider), the itemWidth is ignored until I resize the window. If I set the animation to fade instead of slide, the bug does not occur.
Here is the code I'm using:
Anyone else experiencing this?
The text was updated successfully, but these errors were encountered: