WordPress.org

Forums

Arconix Flexslider
[resolved] [Plugin: Arconix FlexSlider] Fading? (2 posts)

  1. jeracoo
    Member
    Posted 2 years ago #

    There isn't a way to make it fade instead of slide is there? Just wondering as my clients don't seem to like sliding for some reason.

    Regards

    http://wordpress.org/extend/plugins/arconix-flexslider/

  2. John Gardner
    Member
    Plugin Author

    Posted 2 years ago #

    Hi jeracoo,

    Thank you for using my plugin. You certainly can change the animation type.

    The easiest way to do so is to navigate to the js folder inside my plugin directory -- wp-content/plugins/arconix-flexslider/js/ -- and copy the flexslider.js file to the root of your theme folder and re-name it to arconix-flexslider.js (All of that is to make sure you don't lose the change we're going to make when I update the plugin in the future).

    Inside arconix-flexslider.js, you'll see the following:

    jQuery(window).load(function() {
        jQuery('.flexslider').flexslider( {
    	pauseOnHover: true,
            controlsContainer: ".flex-container"
        } );
    } );

    add animation: "fade", right below the pauseOnHover line and that should take care of it.

    Your new code should look like this:

    jQuery(window).load(function() {
        jQuery('.flexslider').flexslider( {
    	pauseOnHover: true,
            animation: "fade",
            controlsContainer: ".flex-container"
        } );
    } );

    Let me know if you run into any other issues.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.