flexslider

Is there a destroy method for FlexSlider

自作多情 提交于 2019-11-29 20:24:49
问题 I am trying to reinitialize FlexSlider with out page refresh when a new gallery listing is called asynchronously. I would think the routine below would work but it doesn't. It seems like the first FlexSlider persists even though the new images are successfully loaded. Is there a way to destroy, then rebuild the gallery? Thanks function flexInit() { $('.flexslider').flexslider({ animation: "slide", controlsContainer: ".paginator", manualControls: 'a', after: function(slider){ if(slider.atEnd =

How to destroy/remove/unbind a Flexslider

房东的猫 提交于 2019-11-29 18:22:48
问题 There are a few discussions on the github page regarding the destroy method, and a couple questions on stack, but there hasn't been a straightforward answer or solution yet, that I was able to find after alot of searching. The current version of flexslider http://www.woothemes.com/flexslider/ does not have a destroy method. In the notes it says that the former version 1.8 does, but using that method does not work. I need to unbind a flexslider element then call .flexslider() on another

Flexslider <li> height's equal the tallest <li> on a mobile browser

怎甘沉沦 提交于 2019-11-29 15:19:53
I am trying to figure out an issue with Flexslider that only appears when I test it on an mobile browser such as Safari Mobile. All of the <li> containers are the same height as the tallest <li>, even when there is not enough content to justify making them equal heights. I am not sure how to grab a screen shot of this since it works fine on a desktop browser but not on mobile browsers. Here's a fiddle that shows it working as I would expect when I view it on my desktop browser, the container's height resizes depending on the ammount of content. http://jsfiddle.net/CsCyh/ Here is the hml: <div

flexslider border-radius does not wrap image in Chrome, Safari, but will in Firefox

ぐ巨炮叔叔 提交于 2019-11-29 15:03:22
问题 I'm trying to have a porthole window look on a flexslider with the slide animation option. Basically the image would slide but be masked in a circle and I'm trying to accomplish this with border-radius and overflow:hidden on the flexslider wrapper. Check this page out in Firefox to see the desired result, cause its working there. Then see that it doesn't in Chrome or Safari. Here is the link (the slideshow is the picture of me): http://imjoeybrennan.com/about.html Any help is much appreciated

How to set up multiple sliders with flexslider?

隐身守侯 提交于 2019-11-29 05:07:52
I use flexslider, when i follow instructions on their website it doesn't work for multiple sliders, this is the code: i need a controler nav on both sliders, instructions are here: http://www.woothemes.com/flexslider/ Does anyone what i'm doing wrong? <script src="http://code.jquery.com/jquery-1.6.4.min.js"></script> <link rel="stylesheet" href="http://www.esens.nl/assets/templates/esens/flexslider/flexslider.css" type="text/css" media="screen" /> <script src="http://www.esens.nl/assets/templates/esens/flexslider/jquery.flexslider-min.js"></script> <!-- Target sliders individually with

Flexslider slow image load

假装没事ソ 提交于 2019-11-28 17:17:05
I am using Flexslider on a website I'm building. I like the responsiveness very much and thats the reason I don't wan't to change to nivo-slider or something similar. The negative about it is that it doesn't display the first image before all images are loaded. So you have to wait to all images in the slider is loaded to make the site look properly. This is acceptable on a desktop/laptop but not on a mobile device. I found a similar question here Flexslider - image preloader but I couldn't get it to work. I use this to trigger the code $(window).load(function() { $('.flexslider').flexslider();

Flexslider <li> height's equal the tallest <li> on a mobile browser

杀马特。学长 韩版系。学妹 提交于 2019-11-28 08:58:21
问题 I am trying to figure out an issue with Flexslider that only appears when I test it on an mobile browser such as Safari Mobile. All of the <li> containers are the same height as the tallest <li>, even when there is not enough content to justify making them equal heights. I am not sure how to grab a screen shot of this since it works fine on a desktop browser but not on mobile browsers. Here's a fiddle that shows it working as I would expect when I view it on my desktop browser, the container

Flex Slider - How to add same controls for two sliders

本小妞迷上赌 提交于 2019-11-28 08:47:14
I am using Flex slide r for one project. I need to control two sliders on one page with same controls. One part is main slider that will show images, and the second one is text (in this case it will be taken from "the_excerpt" in WP ). Basically, this is the code I am using to call two slides on one page: $(window).load(function() { $('#main-slider').flexslider({ animation: 'slide', controlsContainer: '.flex-container' }); $('#secondary-slider').flexslider(); }); Now, I need to "connect" both of them to same controls, so when I click on arrow, it will slide/fade both of them. You could

Lazy Loading in Flexslider

泪湿孤枕 提交于 2019-11-27 17:34:01
问题 I am trying to get lazy loading working for Flexslider by using Lazy Loading jquery plugin and following the instructions on this site: http://www.appelsiini.net/projects/lazyload I am loading the plugin script and don't see any errors on console. I tried without the container or options being passed in lazyload function and still nothing. I spend hours on this. $("img.lazy").lazyload({ effect: "fadeIn", container: $(".slides > li") }); Does anyone know how to get lazy loading working in

Flexslider slow image load

假装没事ソ 提交于 2019-11-27 10:21:59
问题 I am using Flexslider on a website I'm building. I like the responsiveness very much and thats the reason I don't wan't to change to nivo-slider or something similar. The negative about it is that it doesn't display the first image before all images are loaded. So you have to wait to all images in the slider is loaded to make the site look properly. This is acceptable on a desktop/laptop but not on a mobile device. I found a similar question here Flexslider - image preloader but I couldn't