flexslider

HTML5 Video Pause on Action in Flexslider (Woothemes)

折月煮酒 提交于 2019-12-08 05:13:45
问题 Has anyone successfully implemented HTML5 video in Flexslider (Woothemes)? I am having trouble figuring out how to pause the slide show once a video begins playing. I've searched the Flexslider docs and they only have advice about how to accomplish this with Vimeo. 回答1: I have been playing with flexSlider html5 video for a while and this is what worked for me: HTML Markup is basically the same as any flexslider, just take note of the id of the slide with the video in it: <div class=

Flexslider manualControls not working

十年热恋 提交于 2019-12-07 03:28:46
问题 I have created a slider with Flexslider and I am trying to use manualControls: to create a navigation menu but the links wont work. Here is code for flexslider and the slider/navigation itself: Flexslider: <script type="text/javascript" charset="utf-8"> $(window).load(function() { $('.flexslider').flexslider({ controlsContainer: ".slidercontainer", controlNav: true, manualControls: ".flex-control-nav li", }); }); </script> Slider and nav: <div class="slidercontainer"> <div class="flexslider">

Flexslider Slide Width Issue

一笑奈何 提交于 2019-12-07 01:40:18
问题 I have a strange issue using flexslider. The Slide LIs don't get the correct width so that all slides are shown. This only occurs on first page load. As soon as I switch to another tab and switch back everything looks fine. Maybe a JS Loading Problem?! Screenshot: here flexslider.css .flexslider {margin: 0; padding: 0;} .flexslider .slides > li {text-align: center; display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */

Can't activate select using Flexslider/SwipeJS on Android/Gingerbread

孤人 提交于 2019-12-06 16:01:46
问题 I've recently finished building a mobile site and discovered a bug that only seems to occur on Android Gingerbread. When a select input is placed on a slide within a JS slider (such as Flexslider or SwipeJS), you can no longer click it or give it focus and select the options. I'm wondering if it has to do with the use of display none/block which both these sliders use - perhaps Gingerbread cannot render the select properly under these circumstances? Interestingly, the first slide using

Woothemes Flexslider - one unique flexslider inside another flexslider - is it posible?

牧云@^-^@ 提交于 2019-12-06 07:24:05
I am using the newest flexslider from Woothemes, and I am trying to init one flexslider inside another. Like this: function initFrontpageSliders() { $('#flexsliderFrontpage01').flexslider({ animation: "slide", animationLoop: false, pauseOnHover: true, start: function(slider) { //Fires when the slider loads the first slide $('#flexsliderFrontpage02').flexslider({ animation: "fade", directionNav: false, animationLoop: false, pauseOnHover: true }); } }); } but when I call the script, is generates flexsliderFrontpage02 ul below flexsliderFrontpage01 and not inside the slide (list element) - like

AngularJS only shows last Element in ng-repeat

家住魔仙堡 提交于 2019-12-06 01:29:23
I've got a strange behaviour using flexslider to render a bunch of galleries. As shown below I've got an array of several objects that conclude an array of images. When I "render" the galleries, all galleries appear but only the last one shows its images. On all galleries the indicator for the number of images in that particular, as well as the title and link, are correct, but the images are missing. Do I do something(/a lot) wrong here? Here is my code: $scope.galleries = [{title: 'gallery1', 'link': 'http://...', elements: ['img/img1.jpg','img/img2.jpg']}, {title: 'gallery2', 'link': 'http:/

Flexslider infinite loop is not working

谁说我不能喝 提交于 2019-12-05 21:04:33
I was looking all over the web there is a very known issue with Flexslider either with the slider or the carousel when it gets to the last item in the slider it flys back to the first one instead of keeping the infinite loop smoothly I can't believe no one has a solution for that this is the flexSlider code I am using: $(document).ready(function() { $(window).load(function() { $('#carousel-two').flexslider({ animation : "slide", controlNav : false, animationLoop : true, slideshow : true, itemWidth : 234, itemMargin : 20, minItems : 3, maxItems : 5 //asNavFor : '.flexslider' }); }); }); No

Flexslider manualControls not working

允我心安 提交于 2019-12-05 08:18:31
I have created a slider with Flexslider and I am trying to use manualControls: to create a navigation menu but the links wont work. Here is code for flexslider and the slider/navigation itself: Flexslider: <script type="text/javascript" charset="utf-8"> $(window).load(function() { $('.flexslider').flexslider({ controlsContainer: ".slidercontainer", controlNav: true, manualControls: ".flex-control-nav li", }); }); </script> Slider and nav: <div class="slidercontainer"> <div class="flexslider"> <ul class="slides"> <li>slide1</li> <li>slide2</li> </ul> <ul class="flex-control-nav"> <li>1</li> <li

How to stop or delay flexslider animation using the before() callback?

我们两清 提交于 2019-12-05 06:47:59
问题 I'm adding a class .animate-out on all the elements of the slides before flexslider animates to the next slide, the issue is that the css animation applied won't show because flexslider moves to the next slide immediately. I'm adding the class using flexslider's before() callback function which is called inside the function that animates the slider, so it's too late to use slider.pause() to pause the slider (using it will pause the next slide). I already tested the animations using alert()

Flexslider Slide Width Issue

若如初见. 提交于 2019-12-05 05:15:11
I have a strange issue using flexslider. The Slide LIs don't get the correct width so that all slides are shown. This only occurs on first page load. As soon as I switch to another tab and switch back everything looks fine. Maybe a JS Loading Problem?! Screenshot: here flexslider.css .flexslider {margin: 0; padding: 0;} .flexslider .slides > li {text-align: center; display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */ .flexslider .slides li.flex-active-slide img {text-align:center; width: auto; -webkit-border-radius: 6px; -moz