View source
<?php
function flexslider_example_flexslider_default_presets() {
$export = array();
$preset = new stdClass();
$preset->disabled = FALSE;
$preset->api_version = 1;
$preset->name = 'flexslider_carousel_with_min_and_max_ranges';
$preset->title = 'FlexSlider carousel with min and max ranges';
$preset->theme = 'classic';
$preset->options = array(
'namespace' => 'flex-',
'selector' => '.slides > li',
'easing' => 'swing',
'direction' => 'horizontal',
'reverse' => 0,
'smoothHeight' => 0,
'startAt' => '0',
'animationSpeed' => '600',
'initDelay' => '0',
'useCSS' => 1,
'touch' => 1,
'video' => 0,
'keyboard' => 1,
'multipleKeyboard' => 0,
'mousewheel' => 0,
'controlsContainer' => '.flex-control-nav-container',
'sync' => '',
'asNavFor' => '',
'itemWidth' => '210',
'itemMargin' => '5',
'minItems' => '2',
'maxItems' => '4',
'move' => '0',
'animation' => 'slide',
'slideshow' => 0,
'slideshowSpeed' => '7000',
'directionNav' => 1,
'controlNav' => '1',
'prevText' => 'Previous',
'nextText' => 'Next',
'pausePlay' => 0,
'pauseText' => 'Pause',
'playText' => 'Play',
'randomize' => 0,
'animationLoop' => 0,
'pauseOnAction' => 1,
'pauseOnHover' => 0,
'manualControls' => '',
);
$export['flexslider_carousel_with_min_and_max_ranges'] = $preset;
$preset = new stdClass();
$preset->disabled = FALSE;
$preset->api_version = 1;
$preset->name = 'flexslider_default_basic_carousel';
$preset->title = 'Basic Carousel';
$preset->theme = 'classic';
$preset->options = array(
'namespace' => 'flex-',
'selector' => '.slides > li',
'easing' => 'swing',
'direction' => 'horizontal',
'reverse' => 0,
'smoothHeight' => 0,
'startAt' => '0',
'animationSpeed' => '600',
'initDelay' => '0',
'useCSS' => 1,
'touch' => 1,
'video' => 0,
'keyboard' => 1,
'multipleKeyboard' => 0,
'mousewheel' => 0,
'controlsContainer' => '.flex-control-nav-container',
'sync' => '',
'asNavFor' => '',
'itemWidth' => '210',
'itemMargin' => '5',
'minItems' => '2',
'maxItems' => '2',
'move' => '0',
'animation' => 'slide',
'slideshow' => 0,
'slideshowSpeed' => '7000',
'directionNav' => 1,
'controlNav' => '1',
'prevText' => 'Previous',
'nextText' => 'Next',
'pausePlay' => 1,
'pauseText' => 'Pause',
'playText' => 'Play',
'randomize' => 0,
'animationLoop' => 0,
'pauseOnAction' => 1,
'pauseOnHover' => 1,
'manualControls' => '',
);
$export['flexslider_default_basic_carousel'] = $preset;
$preset = new stdClass();
$preset->disabled = FALSE;
$preset->api_version = 1;
$preset->name = 'flexslider_default_slider_thumbnail_controlnav';
$preset->title = 'slider w/thumbnail controlnav pattern';
$preset->theme = 'classic';
$preset->options = array(
'namespace' => 'flex-',
'selector' => '.slides > li',
'easing' => 'swing',
'direction' => 'horizontal',
'reverse' => 0,
'smoothHeight' => 1,
'startAt' => '0',
'animationSpeed' => '600',
'initDelay' => '0',
'useCSS' => 1,
'touch' => 1,
'video' => 0,
'keyboard' => 1,
'multipleKeyboard' => 0,
'mousewheel' => 0,
'controlsContainer' => '.flex-control-nav-container',
'sync' => '',
'asNavFor' => '',
'itemWidth' => '0',
'itemMargin' => '0',
'minItems' => '0',
'maxItems' => '0',
'move' => '0',
'animation' => 'slide',
'slideshow' => 1,
'slideshowSpeed' => '7000',
'directionNav' => 1,
'controlNav' => 'thumbnails',
'prevText' => 'Previous',
'nextText' => 'Next',
'pausePlay' => 0,
'pauseText' => 'Pause',
'playText' => 'Play',
'randomize' => 0,
'animationLoop' => 1,
'pauseOnAction' => 1,
'pauseOnHover' => 1,
'manualControls' => '',
);
$export['flexslider_default_slider_thumbnail_controlnav'] = $preset;
$preset = new stdClass();
$preset->disabled = FALSE;
$preset->api_version = 1;
$preset->name = 'flexslider_default_slider_w_thumbnail_slider';
$preset->title = 'Slider w/thumbnail slider';
$preset->theme = 'classic';
$preset->options = array(
'namespace' => 'flex-',
'selector' => '.slides > li',
'easing' => 'swing',
'direction' => 'horizontal',
'reverse' => 0,
'smoothHeight' => 0,
'startAt' => '0',
'animationSpeed' => '600',
'initDelay' => '0',
'useCSS' => 1,
'touch' => 1,
'video' => 0,
'keyboard' => 1,
'multipleKeyboard' => 0,
'mousewheel' => 0,
'controlsContainer' => '.flex-control-nav-container',
'sync' => '#flexslider-2',
'asNavFor' => '',
'itemWidth' => '0',
'itemMargin' => '0',
'minItems' => '0',
'maxItems' => '0',
'move' => '0',
'animation' => 'slide',
'slideshow' => 0,
'slideshowSpeed' => '7000',
'directionNav' => 1,
'controlNav' => '0',
'prevText' => 'Previous',
'nextText' => 'Next',
'pausePlay' => 0,
'pauseText' => 'Pause',
'playText' => 'Play',
'randomize' => 0,
'animationLoop' => 0,
'pauseOnAction' => 1,
'pauseOnHover' => 0,
'manualControls' => '',
);
$export['flexslider_default_slider_w_thumbnail_slider'] = $preset;
$preset = new stdClass();
$preset->disabled = FALSE;
$preset->api_version = 1;
$preset->name = 'flexslider_default_thumbnail_captions';
$preset->title = 'FlexSlider Default Thumbnail Captions';
$preset->theme = 'classic';
$preset->options = array(
'namespace' => 'flex-',
'selector' => '.slides > li',
'easing' => 'swing',
'direction' => 'horizontal',
'reverse' => 0,
'smoothHeight' => 0,
'startAt' => '0',
'animationSpeed' => '600',
'initDelay' => '0',
'useCSS' => 1,
'touch' => 1,
'video' => 0,
'keyboard' => 1,
'multipleKeyboard' => 0,
'mousewheel' => 0,
'controlsContainer' => '.flex-control-nav-container',
'sync' => '',
'asNavFor' => '',
'itemWidth' => '0',
'itemMargin' => '0',
'minItems' => '0',
'maxItems' => '0',
'move' => '0',
'animation' => 'fade',
'slideshow' => 1,
'slideshowSpeed' => '7000',
'directionNav' => 1,
'controlNav' => 'thumbnails',
'prevText' => 'Previous',
'nextText' => 'Next',
'pausePlay' => 0,
'pauseText' => 'Pause',
'playText' => 'Play',
'randomize' => 0,
'thumbCaptions' => 1,
'animationLoop' => 1,
'pauseOnAction' => 1,
'pauseOnHover' => 0,
'manualControls' => '',
);
$export['flexslider_default_thumbnail_captions'] = $preset;
$preset = new stdClass();
$preset->disabled = FALSE;
$preset->api_version = 1;
$preset->name = 'flexslider_default_thumbnail_slider';
$preset->title = 'Thumbnail Slider';
$preset->theme = 'classic';
$preset->options = array(
'namespace' => 'flex-',
'selector' => '.slides > li',
'easing' => 'swing',
'direction' => 'horizontal',
'reverse' => 0,
'smoothHeight' => 1,
'startAt' => '0',
'animationSpeed' => '600',
'initDelay' => '0',
'useCSS' => 1,
'touch' => 1,
'video' => 0,
'keyboard' => 1,
'multipleKeyboard' => 0,
'mousewheel' => 0,
'controlsContainer' => '.flex-control-nav-container',
'sync' => '',
'asNavFor' => '#flexslider-1',
'itemWidth' => '210',
'itemMargin' => '5',
'minItems' => '',
'maxItems' => '0',
'move' => '0',
'animation' => 'slide',
'slideshow' => 0,
'slideshowSpeed' => '7000',
'directionNav' => 1,
'controlNav' => '0',
'prevText' => 'Previous',
'nextText' => 'Next',
'pausePlay' => 0,
'pauseText' => 'Pause',
'playText' => 'Play',
'randomize' => 0,
'animationLoop' => 0,
'pauseOnAction' => 1,
'pauseOnHover' => 0,
'manualControls' => '',
);
$export['flexslider_default_thumbnail_slider'] = $preset;
return $export;
}