Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Flexslider code to remove comments from slider images.
var $flexslider = $('.flexslider'),
$slides = $flexslider.find('li'),
stripComment = function(string) {
return string.replace(/<!--/g, '').replace(/-->/g, '');
initItem = function(item) {
var $this = $(item);
if(!$this.hasClass('init')) {
animation: "slide",
slideshow: false,
controlsContainer: ".flexslider-container",
start: function(){
$flexslider.find('.flex-active-slide, .clone').each(function(){
before: function(){

This comment has been minimized.

Copy link

elimc commented Sep 10, 2013

So, does the slider start animating on it's own? Or does the user have to manually click through the slides for the next image to load?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.