* @link http://www.themepunch.com/ * @copyright 2015 ThemePunch */ if( !defined( 'ABSPATH') ) exit(); class RevSliderOperations extends RevSliderElementsBase{ /* Provider: - * * get button classes */ public function getButtonClasses(){ $arrButtons = array( "red"=>"Red Button", "green"=>"Green Button", "blue"=>"Blue Button", "orange"=>"Orange Button", "darkgrey"=>"Darkgrey Button", "lightgrey"=>"Lightgrey Button", ); return($arrButtons); } /* Provider: - * * get easing functions array */ public function getArrEasing(){ //true $arrEasing = array( "Linear.easeNone" => "Linear.easeNone", "Power0.easeIn" => "Power0.easeIn (linear)", "Power0.easeInOut" => "Power0.easeInOut (linear)", "Power0.easeOut" => "Power0.easeOut (linear)", "Power1.easeIn" => "Power1.easeIn", "Power1.easeInOut" => "Power1.easeInOut", "Power1.easeOut" => "Power1.easeOut", "Power2.easeIn" => "Power2.easeIn", "Power2.easeInOut" => "Power2.easeInOut", "Power2.easeOut" => "Power2.easeOut", "Power3.easeIn" => "Power3.easeIn", "Power3.easeInOut" => "Power3.easeInOut", "Power3.easeOut" => "Power3.easeOut", "Power4.easeIn" => "Power4.easeIn", "Power4.easeInOut" => "Power4.easeInOut", "Power4.easeOut" => "Power4.easeOut", "Quad.easeIn" => "Quad.easeIn (same as Power1.easeIn)", "Quad.easeInOut" => "Quad.easeInOut (same as Power1.easeInOut)", "Quad.easeOut" => "Quad.easeOut (same as Power1.easeOut)", "Cubic.easeIn" => "Cubic.easeIn (same as Power2.easeIn)", "Cubic.easeInOut" => "Cubic.easeInOut (same as Power2.easeInOut)", "Cubic.easeOut" => "Cubic.easeOut (same as Power2.easeOut)", "Quart.easeIn" => "Quart.easeIn (same as Power3.easeIn)", "Quart.easeInOut" => "Quart.easeInOut (same as Power3.easeInOut)", "Quart.easeOut" => "Quart.easeOut (same as Power3.easeOut)", "Quint.easeIn" => "Quint.easeIn (same as Power4.easeIn)", "Quint.easeInOut" => "Quint.easeInOut (same as Power4.easeInOut)", "Quint.easeOut" => "Quint.easeOut (same as Power4.easeOut)", "Strong.easeIn" => "Strong.easeIn (same as Power4.easeIn)", "Strong.easeInOut" => "Strong.easeInOut (same as Power4.easeInOut)", "Strong.easeOut" => "Strong.easeOut (same as Power4.easeOut)", "Back.easeIn" => "Back.easeIn", "Back.easeInOut" => "Back.easeInOut", "Back.easeOut" => "Back.easeOut", "Bounce.easeIn" => "Bounce.easeIn", "Bounce.easeInOut" => "Bounce.easeInOut", "Bounce.easeOut" => "Bounce.easeOut", "Circ.easeIn" => "Circ.easeIn", "Circ.easeInOut" => "Circ.easeInOut", "Circ.easeOut" => "Circ.easeOut", "Elastic.easeIn" => "Elastic.easeIn", "Elastic.easeInOut" => "Elastic.easeInOut", "Elastic.easeOut" => "Elastic.easeOut", "Expo.easeIn" => "Expo.easeIn", "Expo.easeInOut" => "Expo.easeInOut", "Expo.easeOut" => "Expo.easeOut", "Sine.easeIn" => "Sine.easeIn", "Sine.easeInOut" => "Sine.easeInOut", "Sine.easeOut" => "Sine.easeOut", "SlowMo.ease" => "SlowMo.ease", //add old easings //From here on display none "easeOutBack" => "easeOutBack", "easeInQuad" => "easeInQuad", "easeOutQuad" => "easeOutQuad", "easeInOutQuad" => "easeInOutQuad", "easeInCubic" => "easeInCubic", "easeOutCubic" => "easeOutCubic", "easeInOutCubic" => "easeInOutCubic", "easeInQuart" => "easeInQuart", "easeOutQuart" => "easeOutQuart", "easeInOutQuart" => "easeInOutQuart", "easeInQuint" => "easeInQuint", "easeOutQuint" => "easeOutQuint", "easeInOutQuint" => "easeInOutQuint", "easeInSine" => "easeInSine", "easeOutSine" => "easeOutSine", "easeInOutSine" => "easeInOutSine", "easeInExpo" => "easeInExpo", "easeOutExpo" => "easeOutExpo", "easeInOutExpo" => "easeInOutExpo", "easeInCirc" => "easeInCirc", "easeOutCirc" => "easeOutCirc", "easeInOutCirc" => "easeInOutCirc", "easeInElastic" => "easeInElastic", "easeOutElastic" => "easeOutElastic", "easeInOutElastic" => "easeInOutElastic", "easeInBack" => "easeInBack", "easeInOutBack" => "easeInOutBack", "easeInBounce" => "easeInBounce", "easeOutBounce" => "easeOutBounce", "easeInOutBounce" => "easeInOutBounce", "Quad.easeIn" => "Quad.easeIn (same as Power1.easeIn)", "Quad.easeInOut" => "Quad.easeInOut (same as Power1.easeInOut)", "Quad.easeOut" => "Quad.easeOut (same as Power1.easeOut)", "Cubic.easeIn" => "Cubic.easeIn (same as Power2.easeIn)", "Cubic.easeInOut" => "Cubic.easeInOut (same as Power2.easeInOut)", "Cubic.easeOut" => "Cubic.easeOut (same as Power2.easeOut)", "Quart.easeIn" => "Quart.easeIn (same as Power3.easeIn)", "Quart.easeInOut" => "Quart.easeInOut (same as Power3.easeInOut)", "Quart.easeOut" => "Quart.easeOut (same as Power3.easeOut)", "Quint.easeIn" => "Quint.easeIn (same as Power4.easeIn)", "Quint.easeInOut" => "Quint.easeInOut (same as Power4.easeInOut)", "Quint.easeOut" => "Quint.easeOut (same as Power4.easeOut)", "Strong.easeIn" => "Strong.easeIn (same as Power4.easeIn)", "Strong.easeInOut" => "Strong.easeInOut (same as Power4.easeInOut)", "Strong.easeOut" => "Strong.easeOut (same as Power4.easeOut)" ); return($arrEasing); } /* Provider: - * * get easing functions array */ public function getArrSplit(){ //true $arrSplit = array( "none" => "No Split", "chars" => "Char Based", "words" => "Word Based", "lines" => "Line Based" ); return($arrSplit); } /* Provider: - * * get arr end easing */ public function getArrEndEasing(){ $arrEasing = $this->getArrEasing(); $arrEasing = array_merge(array("nothing" => "No Change"),$arrEasing); return($arrEasing); } /* Provider: - * * get transition array */ public function getArrTransition(){ $arrTransition = array( "notselectable1"=>"BASICS", "notransition"=>"No Transition", "fade"=>"Fade", "notselectable2"=>"SLIDE SIMPLE", "slideup"=>"Slide To Top", "slidedown"=>"Slide To Bottom", "slideright"=>"Slide To Right", "slideleft"=>"Slide To Left", "slidehorizontal"=>"Slide Horizontal (Next/Previous)", "slidevertical"=>"Slide Vertical (Next/Previous)", "notselectable21"=>"SLIDE OVER", "slideoverup"=>"Slide Over To Top", "slideoverdown"=>"Slide Over To Bottom", "slideoverright"=>"Slide Over To Right", "slideoverleft"=>"Slide Over To Left", "slideoverhorizontal"=>"Slide Over Horizontal (Next/Previous)", "slideoververtical"=>"Slide Over Vertical (Next/Previous)", "notselectable22"=>"SLOTS AND BOXES", "boxslide"=>"Slide Boxes", "slotslide-horizontal"=>"Slide Slots Horizontal", "slotslide-vertical"=>"Slide Slots Vertical", "boxfade"=>"Fade Boxes", "slotfade-horizontal"=>"Fade Slots Horizontal", "slotfade-vertical"=>"Fade Slots Vertical", "notselectable31"=>"FADE & SLIDE", "fadefromright"=>"Fade and Slide from Right", "fadefromleft"=>"Fade and Slide from Left", "fadefromtop"=>"Fade and Slide from Top", "fadefrombottom"=>"Fade and Slide from Bottom", "fadetoleftfadefromright"=>"To Left From Right", "fadetorightfadefromleft"=>"To Right From Left", "fadetotopfadefrombottom"=>"To Top From Bottom", "fadetobottomfadefromtop"=>"To Bottom From Top", "notselectable4"=>"PARALLAX", "parallaxtoright"=>"Parallax to Right", "parallaxtoleft"=>"Parallax to Left", "parallaxtotop"=>"Parallax to Top", "parallaxtobottom"=>"Parallax to Bottom", "parallaxhorizontal"=>"Parallax Horizontal", "parallaxvertical"=>"Parallax Vertical", "notselectable5"=>"ZOOM TRANSITIONS", "scaledownfromright"=>"Zoom Out and Fade From Right", "scaledownfromleft"=>"Zoom Out and Fade From Left", "scaledownfromtop"=>"Zoom Out and Fade From Top", "scaledownfrombottom"=>"Zoom Out and Fade From Bottom", "zoomout"=>"ZoomOut", "zoomin"=>"ZoomIn", "slotzoom-horizontal"=>"Zoom Slots Horizontal", "slotzoom-vertical"=>"Zoom Slots Vertical", "notselectable6"=>"CURTAIN TRANSITIONS", "curtain-1"=>"Curtain from Left", "curtain-2"=>"Curtain from Right", "curtain-3"=>"Curtain from Middle", "notselectable7"=>"PREMIUM TRANSITIONS", "3dcurtain-horizontal"=>"3D Curtain Horizontal", "3dcurtain-vertical"=>"3D Curtain Vertical", "cube"=>"Cube Vertical", "cube-horizontal"=>"Cube Horizontal", "incube"=>"In Cube Vertical", "incube-horizontal"=>"In Cube Horizontal", "turnoff"=>"TurnOff Horizontal", "turnoff-vertical"=>"TurnOff Vertical", "papercut"=>"Paper Cut", "flyin"=>"Fly In", "notselectable1a"=>"RANDOM", "random-selected"=>"Random of Selected", "random-static"=>"Random Flat", "random-premium"=>"Random Premium", "random"=>"Random Flat and Premium" ); return($arrTransition); } /* Provider: - * * get animations array */ public static function getArrAnimations($all = true){ $arrAnimations = array( ); $arrAnimations['custom'] = array('handle' => __('## Custom Animation ##', REVSLIDER_TEXTDOMAIN)); $arrAnimations['v5s'] = array('handle' => '-----------------------------------'); $arrAnimations['v5'] = array('handle' => __('- VERSION 5.0 ANIMATIONS -', REVSLIDER_TEXTDOMAIN)); $arrAnimations['v5e'] = array('handle' => '-----------------------------------'); $arrAnimations['LettersFlyInFromBottom'] = array('handle' => 'LettersFlyInFromBottom','params' => '{"movex":"inherit","movey":"[100%]","movez":"0","rotationx":"inherit","rotationy":"inherit","rotationz":"-35deg","scalex":"1","scaley":"1","skewx":"0","skewy":"0","captionopacity":"inherit","mask":"true","mask_x":"0px","mask_y":"0px","easing":"Power4.easeInOut","speed":"2000","split":"chars","splitdelay":"5"}', 'settings' => array('version' => '5.0')); $arrAnimations['LettersFlyInFromLeft'] = array('handle' => 'LettersFlyInFromLeft','params' => '{"movex":"[-105%]","movey":"inherit","movez":"0","rotationx":"0deg","rotationy":"0deg","rotationz":"-90deg","scalex":"1","scaley":"1","skewx":"0","skewy":"0","captionopacity":"inherit","mask":"true","mask_x":"0px","mask_y":"0px","easing":"Power4.easeInOut","speed":"2000","split":"chars","splitdelay":"10"}', 'settings' => array('version' => '5.0')); $arrAnimations['LettersFlyInFromRight'] = array('handle' => 'LettersFlyInFromRight','params' => '{"movex":"[105%]","movey":"inherit","movez":"0","rotationx":"45deg","rotationy":"0deg","rotationz":"90deg","scalex":"1","scaley":"1","skewx":"0","skewy":"0","captionopacity":"inherit","mask":"true","mask_x":"0px","mask_y":"0px","easing":"Power4.easeInOut","speed":"2000","split":"chars","splitdelay":"5"}', 'settings' => array('version' => '5.0')); $arrAnimations['LettersFlyInFromTop'] = array('handle' => 'LettersFlyInFromTop','params' => '{"movex":"inherit","movey":"[-100%]","movez":"0","rotationx":"inherit","rotationy":"inherit","rotationz":"35deg","scalex":"1","scaley":"1","skewx":"0","skewy":"0","captionopacity":"inherit","mask":"true","mask_x":"0px","mask_y":"0px","easing":"Power4.easeInOut","speed":"2000","split":"chars","splitdelay":"5"}', 'settings' => array('version' => '5.0')); $arrAnimations['MaskedZoomOut'] = array('handle' => 'MaskedZoomOut','params' => '{"movex":"inherit","movey":"inherit","movez":"0","rotationx":"0deg","rotationy":"0","rotationz":"0","scalex":"2","scaley":"2","skewx":"0","skewy":"0","captionopacity":"0","mask":"true","mask_x":"0px","mask_y":"0px","easing":"Power2.easeOut","speed":"1000","split":"none","splitdelay":"10"}', 'settings' => array('version' => '5.0')); $arrAnimations['PopUpSmooth'] = array('handle' => 'PopUpSmooth','params' => '{"movex":"inherit","movey":"inherit","movez":"0","rotationx":"0","rotationy":"0","rotationz":"0","scalex":"0.9","scaley":"0.9","skewx":"0","skewy":"0","captionopacity":"0","mask":"false","mask_x":"0px","mask_y":"top","easing":"Power3.easeInOut","speed":"1500","split":"none","splitdelay":"10"}', 'settings' => array('version' => '5.0')); $arrAnimations['RotateInFromBottom'] = array('handle' => 'RotateInFromBottom','params' => '{"movex":"inherit","movey":"bottom","movez":"inherit","rotationx":"inherit","rotationy":"inherit","rotationz":"90deg","scalex":"2","scaley":"2","skewx":"inherit","skewy":"inherit","captionopacity":"inherit","mask":"false","mask_x":"0","mask_y":"0","easing":"Power3.easeInOut","speed":"1500","split":"none","splitdelay":"10"}', 'settings' => array('version' => '5.0')); $arrAnimations['RotateInFormZero'] = array('handle' => 'RotateInFormZero','params' => '{"movex":"inherit","movey":"bottom","movez":"inherit","rotationx":"-20deg","rotationy":"-20deg","rotationz":"0deg","scalex":"inherit","scaley":"inherit","skewx":"inherit","skewy":"inherit","captionopacity":"inherit","mask":"false","mask_x":"0","mask_y":"0","easing":"Power3.easeOut","speed":"1500","split":"none","splitdelay":"10"}', 'settings' => array('version' => '5.0')); $arrAnimations['SlideMaskFromBottom'] = array('handle' => 'SlideMaskFromBottom','params' => '{"movex":"inherit","movey":"[100%]","movez":"0","rotationx":"0deg","rotationy":"0","rotationz":"0","scalex":"1","scaley":"1","skewx":"0","skewy":"0","captionopacity":"0","mask":"true","mask_x":"0px","mask_y":"[100%]","easing":"Power2.easeInOut","speed":"2000","split":"none","splitdelay":"5"}', 'settings' => array('version' => '5.0')); $arrAnimations['SlideMaskFromLeft'] = array('handle' => 'SlideMaskFromLeft','params' => '{"movex":"[-100%]","movey":"inherit","movez":"0","rotationx":"0deg","rotationy":"0","rotationz":"0","scalex":"1","scaley":"1","skewx":"0","skewy":"0","captionopacity":"inherit","mask":"true","mask_x":"0px","mask_y":"0px","easing":"Power3.easeInOut","speed":"1500","split":"none","splitdelay":"10"}', 'settings' => array('version' => '5.0')); $arrAnimations['SlideMaskFromRight'] = array('handle' => 'SlideMaskFromRight','params' => '{"movex":"[100%]","movey":"inherit","movez":"0","rotationx":"0deg","rotationy":"0","rotationz":"0","scalex":"1","scaley":"1","skewx":"0","skewy":"0","captionopacity":"inherit","mask":"true","mask_x":"0px","mask_y":"0px","easing":"Power3.easeInOut","speed":"1500","split":"none","splitdelay":"10"}', 'settings' => array('version' => '5.0')); $arrAnimations['SlideMaskFromTop'] = array('handle' => 'SlideMaskFromTop','params' => '{"movex":"inherit","movey":"[-100%]","movez":"0","rotationx":"0deg","rotationy":"0","rotationz":"0","scalex":"1","scaley":"1","skewx":"0","skewy":"0","captionopacity":"inherit","mask":"true","mask_x":"0px","mask_y":"0px","easing":"Power3.easeInOut","speed":"1500","split":"none","splitdelay":"10"}', 'settings' => array('version' => '5.0')); $arrAnimations['SmoothPopUp_One'] = array('handle' => 'SmoothPopUp_One','params' => '{"movex":"inherit","movey":"inherit","movez":"0","rotationx":"0","rotationy":"0","rotationz":"0","scalex":"0.8","scaley":"0.8","skewx":"0","skewy":"0","captionopacity":"0","mask":"false","mask_x":"0px","mask_y":"top","easing":"Power4.easeOut","speed":"1500","split":"none","splitdelay":"10"}', 'settings' => array('version' => '5.0')); $arrAnimations['SmoothPopUp_Two'] = array('handle' => 'SmoothPopUp_Two','params' => '{"movex":"inherit","movey":"inherit","movez":"0","rotationx":"0","rotationy":"0","rotationz":"0","scalex":"0.9","scaley":"0.9","skewx":"0","skewy":"0","captionopacity":"0","mask":"false","mask_x":"0px","mask_y":"top","easing":"Power2.easeOut","speed":"1000","split":"none","splitdelay":"10"}', 'settings' => array('version' => '5.0')); $arrAnimations['SmoothMaskFromRight'] = array('handle' => 'SmoothMaskFromRight','params' => '{"movex":"[-175%]","movey":"0px","movez":"0","rotationx":"0","rotationy":"0","rotationz":"0","scalex":"1","scaley":"1","skewx":"0","skewy":"0","captionopacity":"1","mask":"true","mask_x":"[100%]","mask_y":"0","easing":"Power3.easeOut","speed":"1500","split":"none","splitdelay":"10"}', 'settings' => array('version' => '5.0')); $arrAnimations['SmoothMaskFromLeft'] = array('handle' => 'SmoothMaskFromLeft','params' => '{"movex":"[175%]","movey":"0px","movez":"0","rotationx":"0","rotationy":"0","rotationz":"0","scalex":"1","scaley":"1","skewx":"0","skewy":"0","captionopacity":"1","mask":"true","mask_x":"[-100%]","mask_y":"0","easing":"Power3.easeOut","speed":"1500","split":"none","splitdelay":"10"}', 'settings' => array('version' => '5.0')); $arrAnimations['SmoothSlideFromBottom'] = array('handle' => 'SmoothSlideFromBottom','params' => '{"movex":"inherit","movey":"[100%]","movez":"0","rotationx":"0deg","rotationy":"0","rotationz":"0","scalex":"1","scaley":"1","skewx":"0","skewy":"0","captionopacity":"0","mask":"false","mask_x":"0px","mask_y":"[100%]","easing":"Power4.easeInOut","speed":"2000","split":"none","splitdelay":"5"}', 'settings' => array('version' => '5.0')); $arrAnimations['v4s'] = array('handle' => '-----------------------------------'); $arrAnimations['v4'] = array('handle' => __('- VERSION 4.0 ANIMATIONS -', REVSLIDER_TEXTDOMAIN)); $arrAnimations['v4e'] = array('handle' => '-----------------------------------'); $arrAnimations['noanim'] = array('handle' => 'No-Animation','params' => '{"movex":"inherit","movey":"inherit","movez":"inherit","rotationx":"inherit","rotationy":"inherit","rotationz":"inherit","scalex":"inherit","scaley":"inherit","skewx":"inherit","skewy":"inherit","captionopacity":"inherit","mask":"false","mask_x":"0","mask_y":"0","mask_speed":"500"}', 'settings' => array('version' => '5.0')); $arrAnimations['tp-fade'] = array('handle' => 'Fade-In','params' => '{"movex":"inherit","movey":"inherit","movez":"inherit","rotationx":"inherit","rotationy":"inherit","rotationz":"inherit","scalex":"inherit","scaley":"inherit","skewx":"inherit","skewy":"inherit","captionopacity":"0","mask":"false","mask_x":"0","mask_y":"0","mask_speed":"0"}', 'settings' => array('version' => '5.0')); $arrAnimations['sft'] = array('handle' => 'Short-from-Top','params' => '{"movex":"inherit","movey":"-50px","movez":"inherit","rotationx":"inherit","rotationy":"inherit","rotationz":"inherit","scalex":"inherit","scaley":"inherit","skewx":"inherit","skewy":"inherit","captionopacity":"0","mask":"false","mask_x":"0","mask_y":"0","mask_speed":"500"}', 'settings' => array('version' => '5.0')); $arrAnimations['sfb'] = array('handle' => 'Short-from-Bottom','params' => '{"movex":"inherit","movey":"50px","movez":"inherit","rotationx":"inherit","rotationy":"inherit","rotationz":"inherit","scalex":"inherit","scaley":"inherit","skewx":"inherit","skewy":"inherit","captionopacity":"0","mask":"false","mask_x":"0","mask_y":"0","mask_speed":"500"}', 'settings' => array('version' => '5.0')); $arrAnimations['sfl'] = array('handle' => 'Short-From-Left','params' => '{"movex":"-50px","movey":"inherit","movez":"inherit","rotationx":"inherit","rotationy":"inherit","rotationz":"inherit","scalex":"inherit","scaley":"inherit","skewx":"inherit","skewy":"inherit","captionopacity":"0","mask":"false","mask_x":"0","mask_y":"0","mask_speed":"500"}', 'settings' => array('version' => '5.0')); $arrAnimations['sfr'] = array('handle' => 'Short-From-Right','params' => '{"movex":"50px","movey":"inherit","movez":"inherit","rotationx":"inherit","rotationy":"inherit","rotationz":"inherit","scalex":"inherit","scaley":"inherit","skewx":"inherit","skewy":"inherit","captionopacity":"0","mask":"false","mask_x":"0","mask_y":"0","mask_speed":"500"}', 'settings' => array('version' => '5.0')); $arrAnimations['lfr'] = array('handle' => 'Long-From-Right','params' => '{"movex":"right","movey":"inherit","movez":"inherit","rotationx":"inherit","rotationy":"inherit","rotationz":"inherit","scalex":"inherit","scaley":"inherit","skewx":"inherit","skewy":"inherit","captionopacity":"inherit","mask":"false","mask_x":"0","mask_y":"0","mask_speed":"500"}', 'settings' => array('version' => '5.0')); $arrAnimations['lfl'] = array('handle' => 'Long-From-Left','params' => '{"movex":"left","movey":"inherit","movez":"inherit","rotationx":"inherit","rotationy":"inherit","rotationz":"inherit","scalex":"inherit","scaley":"inherit","skewx":"inherit","skewy":"inherit","captionopacity":"inherit","mask":"false","mask_x":"0","mask_y":"0","mask_speed":"500"}', 'settings' => array('version' => '5.0')); $arrAnimations['lft'] = array('handle' => 'Long-From-Top','params' => '{"movex":"inherit","movey":"top","movez":"inherit","rotationx":"inherit","rotationy":"inherit","rotationz":"inherit","scalex":"inherit","scaley":"inherit","skewx":"inherit","skewy":"inherit","captionopacity":"inherit","mask":"false","mask_x":"0","mask_y":"0","mask_speed":"500"}', 'settings' => array('version' => '5.0')); $arrAnimations['lfb'] = array('handle' => 'Long-From-Bottom','params' => '{"movex":"inherit","movey":"bottom","movez":"inherit","rotationx":"inherit","rotationy":"inherit","rotationz":"inherit","scalex":"inherit","scaley":"inherit","skewx":"inherit","skewy":"inherit","captionopacity":"inherit","mask":"false","mask_x":"0","mask_y":"0","mask_speed":"500"}', 'settings' => array('version' => '5.0')); $arrAnimations['skewfromleft'] = array('handle' => 'Skew-From-Long-Left','params' => '{"movex":"left","movey":"inherit","movez":"inherit","rotationx":"inherit","rotationy":"inherit","rotationz":"inherit","scalex":"inherit","scaley":"inherit","skewx":"45px","skewy":"inherit","captionopacity":"inherit","mask":"false","mask_x":"0","mask_y":"0","mask_speed":"500"}', 'settings' => array('version' => '5.0')); $arrAnimations['skewfromright'] = array('handle' => 'Skew-From-Long-Right','params' => '{"movex":"right","movey":"inherit","movez":"inherit","rotationx":"inherit","rotationy":"inherit","rotationz":"inherit","scalex":"inherit","scaley":"inherit","skewx":"-85px","skewy":"inherit","captionopacity":"inherit","mask":"false","mask_x":"0","mask_y":"0","mask_speed":"500"}', 'settings' => array('version' => '5.0')); $arrAnimations['skewfromleftshort'] = array('handle' => 'Skew-From-Short-Left','params' => '{"movex":"-200px","movey":"inherit","movez":"inherit","rotationx":"inherit","rotationy":"inherit","rotationz":"inherit","scalex":"inherit","scaley":"inherit","skewx":"85px","skewy":"inherit","captionopacity":"0","mask":"false","mask_x":"0","mask_y":"0","mask_speed":"500"}', 'settings' => array('version' => '5.0')); $arrAnimations['skewfromrightshort'] = array('handle' => 'Skew-From-Short-Right','params' => '{"movex":"200px","movey":"inherit","movez":"inherit","rotationx":"inherit","rotationy":"inherit","rotationz":"inherit","scalex":"inherit","scaley":"inherit","skewx":"-85px","skewy":"inherit","captionopacity":"0","mask":"false","mask_x":"0","mask_y":"0","mask_speed":"500"}', 'settings' => array('version' => '5.0')); $arrAnimations['randomrotate'] = array('handle' => 'Random-Rotate-and-Scale','params' => '{"movex":"{-250,250}","movey":"{-150,150}","movez":"inherit","rotationx":"{-90,90}","rotationy":"{-90,90}","rotationz":"{-360,360}","scalex":"{0,1}","scaley":"{0,1}","skewx":"inherit","skewy":"inherit","captionopacity":"0","mask":"false","mask_x":"0","mask_y":"0","mask_speed":"500"}', 'settings' => array('version' => '5.0')); if($all){ $arrAnimations['vss'] = array('handle' => '--------------------------------------'); $arrAnimations['vs'] = array('handle' => __('- SAVED CUSTOM ANIMATIONS -', REVSLIDER_TEXTDOMAIN)); $arrAnimations['vse'] = array('handle' => '--------------------------------------'); //$custom = RevSliderOperations::getCustomAnimations('customin'); $custom = RevSliderOperations::getCustomAnimationsFullPre('customin'); $arrAnimations = array_merge($arrAnimations, $custom); } foreach($arrAnimations as $key => $value){ if(!isset($value['params'])) continue; $t = json_decode(str_replace("'", '"', $value['params']), true); if(!empty($t)) $arrAnimations[$key]['params'] = $t; } return($arrAnimations); } /* Provider: - * * get "end" animations array */ public static function getArrEndAnimations($all = true){ $arrAnimations = array(); $arrAnimations['custom'] = array('handle' => __('## Custom Animation ##', REVSLIDER_TEXTDOMAIN)); $arrAnimations['auto'] = array('handle' => __('Automatic Reverse', REVSLIDER_TEXTDOMAIN)); $arrAnimations['v5s'] = array('handle' => '-----------------------------------'); $arrAnimations['v5'] = array('handle' => __('- VERSION 5.0 ANIMATIONS -', REVSLIDER_TEXTDOMAIN)); $arrAnimations['v5e'] = array('handle' => '-----------------------------------'); $arrAnimations['BounceOut'] = array('handle' => 'BounceOut','params' => '{"movex":"inherit","movey":"inherit","movez":"inherit","rotationx":"inherit","rotationy":"inherit","rotationz":"0deg","scalex":"0.7","scaley":"0.7","skewx":"inherit","skewy":"inherit","captionopacity":"0","mask":"true","mask_x":"0","mask_y":"0","easing":"Back.easeIn","speed":"500","split":"none","splitdelay":"10"}', 'settings' => array('version' => '5.0')); $arrAnimations['Fade-Out-Long'] = array('handle' => 'Fade-Out-Long','params' => '{"movex":"inherit","movey":"inherit","movez":"inherit","rotationx":"inherit","rotationy":"inherit","rotationz":"inherit","scalex":"inherit","scaley":"inherit","skewx":"inherit","skewy":"inherit","captionopacity":"0","mask":"false","mask_x":"0","mask_y":"0","easing":"Power2.easeIn","speed":"1000","split":"none","splitdelay":"10"}', 'settings' => array('version' => '5.0')); $arrAnimations['SlideMaskToBottom'] = array('handle' => 'SlideMaskToBottom','params' => '{"movex":"inherit","movey":"[100%]","movez":"inherit","rotationx":"inherit","rotationy":"inherit","rotationz":"inherit","scalex":"inherit","scaley":"inherit","skewx":"inherit","skewy":"inherit","captionopacity":"inherit","mask":"true","mask_x":"inherit","mask_y":"inherit","easing":"nothing","speed":"300","split":"none","splitdelay":"10"}', 'settings' => array('version' => '5.0')); $arrAnimations['SlideMaskToLeft'] = array('handle' => 'SlideMaskToLeft','params' => '{"movex":"[-100%]","movey":"inherit","movez":"inherit","rotationx":"inherit","rotationy":"inherit","rotationz":"inherit","scalex":"inherit","scaley":"inherit","skewx":"inherit","skewy":"inherit","captionopacity":"inherit","mask":"true","mask_x":"inherit","mask_y":"inherit","easing":"Power3.easeInOut","speed":"1000","split":"none","splitdelay":"10"}', 'settings' => array('version' => '5.0')); $arrAnimations['SlideMaskToRight'] = array('handle' => 'SlideMaskToRight','params' => '{"movex":"[100%]","movey":"inherit","movez":"inherit","rotationx":"inherit","rotationy":"inherit","rotationz":"inherit","scalex":"inherit","scaley":"inherit","skewx":"inherit","skewy":"inherit","captionopacity":"inherit","mask":"true","mask_x":"inherit","mask_y":"inherit","easing":"Power3.easeInOut","speed":"1000","split":"none","splitdelay":"10"}', 'settings' => array('version' => '5.0')); $arrAnimations['SlideMaskToTop'] = array('handle' => 'SlideMaskToTop','params' => '{"movex":"inherit","movey":"[-100%]","movez":"inherit","rotationx":"inherit","rotationy":"inherit","rotationz":"inherit","scalex":"inherit","scaley":"inherit","skewx":"inherit","skewy":"inherit","captionopacity":"inherit","mask":"true","mask_x":"inherit","mask_y":"inherit","easing":"nothing","speed":"300","split":"none","splitdelay":"10"}', 'settings' => array('version' => '5.0')); $arrAnimations['SlurpOut'] = array('handle' => 'SlurpOut','params' => '{"movex":"inherit","movey":"[100%]","movez":"inherit","rotationx":"inherit","rotationy":"inherit","rotationz":"0deg","scalex":"0.7","scaley":"0.7","skewx":"inherit","skewy":"inherit","captionopacity":"inherit","mask":"true","mask_x":"0","mask_y":"0","easing":"Power3.easeInOut","speed":"1000","split":"none","splitdelay":"10"}', 'settings' => array('version' => '5.0')); $arrAnimations['SmoothCropToBottom'] = array('handle' => 'SmoothCropToBottom','params' => '{"movex":"inherit","movey":"[175%]","movez":"inherit","rotationx":"inherit","rotationy":"inherit","rotationz":"inherit","scalex":"inherit","scaley":"inherit","skewx":"inherit","skewy":"inherit","captionopacity":"inherit","mask":"true","mask_x":"inherit","mask_y":"inherit","easing":"Power2.easeInOut","speed":"1000","split":"none","splitdelay":"10"}', 'settings' => array('version' => '5.0')); $arrAnimations['v4s'] = array('handle' => '-----------------------------------'); $arrAnimations['v4'] = array('handle' => __('- VERSION 4.0 ANIMATIONS -', REVSLIDER_TEXTDOMAIN)); $arrAnimations['v4e'] = array('handle' => '-----------------------------------'); $arrAnimations['noanimout'] = array('handle' => 'No-Out-Animation','params' => '{"movex":"inherit","movey":"inherit","movez":"inherit","rotationx":"inherit","rotationy":"inherit","rotationz":"inherit","scalex":"inherit","scaley":"inherit","skewx":"inherit","skewy":"inherit","captionopacity":"inherit","mask":"false","mask_x":"0","mask_y":"0","mask_speed":"500"}', 'settings' => array('version' => '5.0')); $arrAnimations['fadeout'] = array('handle' => 'Fade-Out','params' => '{"movex":"inherit","movey":"inherit","movez":"inherit","rotationx":"inherit","rotationy":"inherit","rotationz":"inherit","scalex":"inherit","scaley":"inherit","skewx":"inherit","skewy":"inherit","captionopacity":"0","mask":"false","mask_x":"0","mask_y":"0","mask_speed":"0"}', 'settings' => array('version' => '5.0')); $arrAnimations['stt'] = array('handle' => 'Short-To-Top','params' => '{"movex":"inherit","movey":"-50px","movez":"inherit","rotationx":"inherit","rotationy":"inherit","rotationz":"inherit","scalex":"inherit","scaley":"inherit","skewx":"inherit","skewy":"inherit","captionopacity":"0","mask":"false","mask_x":"0","mask_y":"0","mask_speed":"500"}', 'settings' => array('version' => '5.0')); $arrAnimations['stb'] = array('handle' => 'Short-To-Bottom','params' => '{"movex":"inherit","movey":"50px","movez":"inherit","rotationx":"inherit","rotationy":"inherit","rotationz":"inherit","scalex":"inherit","scaley":"inherit","skewx":"inherit","skewy":"inherit","captionopacity":"0","mask":"false","mask_x":"0","mask_y":"0","mask_speed":"500"}', 'settings' => array('version' => '5.0')); $arrAnimations['stl'] = array('handle' => 'Short-To-Left','params' => '{"movex":"-50px","movey":"inherit","movez":"inherit","rotationx":"inherit","rotationy":"inherit","rotationz":"inherit","scalex":"inherit","scaley":"inherit","skewx":"inherit","skewy":"inherit","captionopacity":"0","mask":"false","mask_x":"0","mask_y":"0","mask_speed":"500"}', 'settings' => array('version' => '5.0')); $arrAnimations['str'] = array('handle' => 'Short-To-Right','params' => '{"movex":"50px","movey":"inherit","movez":"inherit","rotationx":"inherit","rotationy":"inherit","rotationz":"inherit","scalex":"inherit","scaley":"inherit","skewx":"inherit","skewy":"inherit","captionopacity":"0","mask":"false","mask_x":"0","mask_y":"0","mask_speed":"500"}', 'settings' => array('version' => '5.0')); $arrAnimations['ltr'] = array('handle' => 'Long-To-Right','params' => '{"movex":"right","movey":"inherit","movez":"inherit","rotationx":"inherit","rotationy":"inherit","rotationz":"inherit","scalex":"inherit","scaley":"inherit","skewx":"inherit","skewy":"inherit","captionopacity":"inherit","mask":"false","mask_x":"0","mask_y":"0","mask_speed":"500"}', 'settings' => array('version' => '5.0')); $arrAnimations['ltl'] = array('handle' => 'Long-To-Left','params' => '{"movex":"left","movey":"inherit","movez":"inherit","rotationx":"inherit","rotationy":"inherit","rotationz":"inherit","scalex":"inherit","scaley":"inherit","skewx":"inherit","skewy":"inherit","captionopacity":"inherit","mask":"false","mask_x":"0","mask_y":"0","mask_speed":"500"}', 'settings' => array('version' => '5.0')); $arrAnimations['ltt'] = array('handle' => 'Long-To-Top','params' => '{"movex":"inherit","movey":"top","movez":"inherit","rotationx":"inherit","rotationy":"inherit","rotationz":"inherit","scalex":"inherit","scaley":"inherit","skewx":"inherit","skewy":"inherit","captionopacity":"inherit","mask":"false","mask_x":"0","mask_y":"0","mask_speed":"500"}', 'settings' => array('version' => '5.0')); $arrAnimations['ltb'] = array('handle' => 'Long-To-Bottom','params' => '{"movex":"inherit","movey":"bottom","movez":"inherit","rotationx":"inherit","rotationy":"inherit","rotationz":"inherit","scalex":"inherit","scaley":"inherit","skewx":"inherit","skewy":"inherit","captionopacity":"inherit","mask":"false","mask_x":"0","mask_y":"0","mask_speed":"500"}', 'settings' => array('version' => '5.0')); $arrAnimations['skewtoleft'] = array('handle' => 'Skew-To-Long-Left','params' => '{"movex":"left","movey":"inherit","movez":"inherit","rotationx":"inherit","rotationy":"inherit","rotationz":"inherit","scalex":"inherit","scaley":"inherit","skewx":"45px","skewy":"inherit","captionopacity":"inherit","mask":"false","mask_x":"0","mask_y":"0","mask_speed":"500"}', 'settings' => array('version' => '5.0')); $arrAnimations['skewtoright'] = array('handle' => 'Skew-To-Long-Right','params' => '{"movex":"right","movey":"inherit","movez":"inherit","rotationx":"inherit","rotationy":"inherit","rotationz":"inherit","scalex":"inherit","scaley":"inherit","skewx":"-85px","skewy":"inherit","captionopacity":"inherit","mask":"false","mask_x":"0","mask_y":"0","mask_speed":"500"}', 'settings' => array('version' => '5.0')); $arrAnimations['skewtorightshort'] = array('handle' => 'Skew-To-Short-Right','params' => '{"movex":"200px","movey":"inherit","movez":"inherit","rotationx":"inherit","rotationy":"inherit","rotationz":"inherit","scalex":"inherit","scaley":"inherit","skewx":"-85px","skewy":"inherit","captionopacity":"0","mask":"false","mask_x":"0","mask_y":"0","mask_speed":"500"}', 'settings' => array('version' => '5.0')); $arrAnimations['skewtoleftshort'] = array('handle' => 'Skew-To-Short-Left','params' => '{"movex":"-200px","movey":"inherit","movez":"inherit","rotationx":"inherit","rotationy":"inherit","rotationz":"inherit","scalex":"inherit","scaley":"inherit","skewx":"85px","skewy":"inherit","captionopacity":"0","mask":"false","mask_x":"0","mask_y":"0","mask_speed":"500"}', 'settings' => array('version' => '5.0')); $arrAnimations['randomrotateout'] = array('handle' => 'Random-Rotate-Out','params' => '{"movex":"{-250,250}","movey":"{-150,150}","movez":"inherit","rotationx":"{-90,90}","rotationy":"{-90,90}","rotationz":"{-360,360}","scalex":"{0,1}","scaley":"{0,1}","skewx":"inherit","skewy":"inherit","captionopacity":"0","mask":"false","mask_x":"0","mask_y":"0","mask_speed":"500"}', 'settings' => array('version' => '5.0')); if($all){ $arrAnimations['vss'] = array('handle' => '--------------------------------------'); $arrAnimations['vs'] = array('handle' => __('- SAVED CUSTOM ANIMATIONS -', REVSLIDER_TEXTDOMAIN)); $arrAnimations['vse'] = array('handle' => '--------------------------------------'); //$custom = RevSliderOperations::getCustomAnimations('customout'); $custom = RevSliderOperations::getCustomAnimationsFullPre('customout'); $arrAnimations = array_merge($arrAnimations, $custom); } foreach($arrAnimations as $key => $value){ if(!isset($value['params'])) continue; $t = json_decode(str_replace("'", '"', $value['params']), true); if(!empty($t)) $arrAnimations[$key]['params'] = $t; } return($arrAnimations); } /* Provider: - * * insert custom animations */ public static function insertCustomAnim($anim){ if(isset($anim['handle'])) { $db = new RevSliderDB(); $arrInsert = array(); $arrInsert["handle"] = $anim['handle']; unset($anim['handle']); $arrInsert["params"] = stripslashes(json_encode(str_replace("'", '"', $anim['params']))); $arrInsert["settings"] = json_encode(array('version' => 'custom')); $result = $db->insert(RevSliderGlobals::$table_layer_anims, $arrInsert); } $arrAnims['customin'] = RevSliderOperations::getCustomAnimations(); $arrAnims['customout'] = RevSliderOperations::getCustomAnimations('customout'); $arrAnims['customfull'] = RevSliderOperations::getFullCustomAnimations(); return $arrAnims; } /* Provider: - * * insert custom animations */ public static function updateCustomAnim($anim){ if(isset($anim['handle'])) { $db = new RevSliderDB(); $handle = $anim['handle']; unset($anim['handle']); $id = str_replace(array('customin-', 'customout-'), array('', ''), $handle); $arrUpdate = array(); $arrUpdate['params'] = stripslashes(json_encode(str_replace("'", '"', $anim['params']))); //$arrUpdate["settings"] = json_encode(array('version' => 'custom')); $result = $db->update(RevSliderGlobals::$table_layer_anims, $arrUpdate, array('id' => $id)); } $arrAnims['customin'] = RevSliderOperations::getCustomAnimations(); $arrAnims['customout'] = RevSliderOperations::getCustomAnimations('customout'); $arrAnims['customfull'] = RevSliderOperations::getFullCustomAnimations(); return $arrAnims; } /* Provider: - * * update custom animations name * @since: 5.0 */ public static function updateCustomAnimName($anim){ if(isset($anim['handle'])) { $db = new RevSliderDB(); $id = $anim['id']; unset($anim['id']); $result = $db->update(RevSliderGlobals::$table_layer_anims, $anim, array('id' => $id)); } $arrAnims['customin'] = RevSliderOperations::getCustomAnimations(); $arrAnims['customout'] = RevSliderOperations::getCustomAnimations('customout'); $arrAnims['customfull'] = RevSliderOperations::getFullCustomAnimations(); return $arrAnims; } /* Provider: - * * * delete custom animations */ public static function deleteCustomAnim($rawID){ if(trim($rawID) != '') { $db = new RevSliderDB(); $id = str_replace(array('customin-', 'customout-'), array('', ''), $rawID); $db->delete(RevSliderGlobals::$table_layer_anims, "id = '".intval($id)."'"); } $arrAnims['customin'] = RevSliderOperations::getCustomAnimations(); $arrAnims['customout'] = RevSliderOperations::getCustomAnimations('customout'); $arrAnims['customfull'] = RevSliderOperations::getFullCustomAnimations(); return $arrAnims; } /* Provider: - * * * get custom animations */ public static function getCustomAnimations($pre = 'customin'){ $db = new RevSliderDB(); $customAnimations = array(); $result = $db->fetch(RevSliderGlobals::$table_layer_anims); if(!empty($result)){ foreach($result as $key => $value){ $params = json_decode($value['params'], true); if(!isset($params['type']) || $params['type'] == $pre){ $customAnimations[$pre.'-'.$value['id']] = $value['handle']; } } } asort($customAnimations); return $customAnimations; } /* Provider: - * * * get custom animations */ public static function getCustomAnimationsFullPre($pre = 'customin'){ $db = new RevSliderDB(); $customAnimations = array(); $customTemp = array(); $sort = array(); $result = $db->fetch(RevSliderGlobals::$table_layer_anims); if(!empty($result)){ foreach($result as $key => $value){ $params = json_decode($value['params'], true); if(!isset($params['type']) || $params['type'] == $pre){ $customTemp[$pre.'-'.$value['id']] = $value; $sort[$pre.'-'.$value['id']] = $value['handle']; } } } if(!empty($sort)){ asort($sort); foreach($sort as $k => $v){ $customAnimations[$k] = $customTemp[$k]; } } return $customAnimations; } /* Provider: - * * * get full custom animations */ public static function getFullCustomAnimations(){ $db = new RevSliderDB(); $customAnimations = array(); $result = $db->fetch(RevSliderGlobals::$table_layer_anims); if(!empty($result)){ foreach($result as $key => $value){ $customAnimations[$key]['id'] = $value['id']; $customAnimations[$key]['handle'] = $value['handle']; $customAnimations[$key]['params'] = json_decode(str_replace("'", '"', $value['params']), true); } } return $customAnimations; } /* Provider: - * * * get animation params by handle */ public static function getCustomAnimationByHandle($handle){ $db = new RevSliderDB(); $result = $db->fetch(RevSliderGlobals::$table_layer_anims, "handle = '".$handle."'"); if(!empty($result)) return json_decode(str_replace("'", '"', $result[0]['params']), true); return false; } /* Provider: - * * * get animation params by id */ public static function getFullCustomAnimationByID($id){ $db = new RevSliderDB(); $result = $db->fetch(RevSliderGlobals::$table_layer_anims, "id = '".$id."'"); if(!empty($result)){ $customAnimations = array(); $customAnimations['id'] = $result[0]['id']; $customAnimations['handle'] = $result[0]['handle']; $customAnimations['params'] = json_decode(str_replace("'", '"', $result[0]['params']), true); return $customAnimations; } return false; } /* Provider: - * * * parse animation params */ public static function parseCustomAnimationByArray($animArray, $is = 'start'){ $retString = ''; if(isset($animArray['x_'.$is]) && $animArray['x_'.$is] !== '' && $animArray['x_'.$is] !== 'inherit') $retString.= 'x:'.$animArray['x_'.$is].';'; //movex if(isset($animArray['y_'.$is]) && $animArray['y_'.$is] !== '' && $animArray['y_'.$is] !== 'inherit') $retString.= 'y:'.$animArray['y_'.$is].';'; //movey if(isset($animArray['z_'.$is]) && $animArray['z_'.$is] !== '' && $animArray['z_'.$is] !== 'inherit') $retString.= 'z:'.$animArray['z_'.$is].';'; //movez if(isset($animArray['x_rotate_'.$is]) && $animArray['x_rotate_'.$is] !== '' && $animArray['x_rotate_'.$is] !== 'inherit') $retString.= 'rX:'.$animArray['x_rotate_'.$is].';'; //rotationx if(isset($animArray['y_rotate_'.$is]) && $animArray['y_rotate_'.$is] !== '' && $animArray['y_rotate_'.$is] !== 'inherit') $retString.= 'rY:'.$animArray['y_rotate_'.$is].';'; //rotationy if(isset($animArray['z_rotate_'.$is]) && $animArray['z_rotate_'.$is] !== '' && $animArray['z_rotate_'.$is] !== 'inherit') $retString.= 'rZ:'.$animArray['z_rotate_'.$is].';'; //rotationz if(isset($animArray['scale_x_'.$is]) && $animArray['scale_x_'.$is] !== '' && $animArray['scale_x_'.$is] !== 'inherit'){ //scalex $retString.= 'sX:'; $retString.= ($animArray['scale_x_'.$is] == 0) ? 0 : $animArray['scale_x_'.$is]; $retString.= ';'; } if(isset($animArray['scale_y_'.$is]) && $animArray['scale_y_'.$is] !== '' && $animArray['scale_y_'.$is] !== 'inherit'){ //scaley $retString.= 'sY:'; $retString.= ($animArray['scale_y_'.$is] == 0) ? 0 : $animArray['scale_y_'.$is]; $retString.= ';'; } if(isset($animArray['skew_x_'.$is]) && $animArray['skew_x_'.$is] !== '' && $animArray['skew_x_'.$is] !== 'inherit') $retString.= 'skX:'.$animArray['skew_x_'.$is].';'; //skewx if(isset($animArray['skew_y_'.$is]) && $animArray['skew_y_'.$is] !== '' && $animArray['skew_y_'.$is] !== 'inherit') $retString.= 'skY:'.$animArray['skew_y_'.$is].';'; //skewy if(isset($animArray['opacity_'.$is]) && $animArray['opacity_'.$is] !== '' && $animArray['opacity_'.$is] !== 'inherit'){ //captionopacity $retString.= 'opacity:'; $retString.= ($animArray['opacity_'.$is] == 0) ? 0 : $animArray['opacity_'.$is] / 100; $retString.= ';'; } if($retString == ''){ //we do not have animations set, so set them here } if($is == 'start'){ $retString .= 's:'.RevSliderFunctions::getVal($animArray, 'speed', 300).';'; $retString .= 'e:'.RevSliderFunctions::getVal($animArray, 'easing', 'easeOutExpo').';'; }else{ $es = RevSliderFunctions::getVal($animArray, 'endspeed'); $ee = trim(RevSliderFunctions::getVal($animArray, 'endeasing')); if(!empty($es)){ $retString .= 's:'.$es.';'; if(!empty($ee) && $ee !== 'nothing'){ $retString .= 'e:'.$ee.';'; } } } return $retString; } /* Provider: - * * parse mask params * @since: 5.0 */ public static function parseCustomMaskByArray($animArray, $is = 'start'){ $retString = ''; if(isset($animArray['mask_x_'.$is]) && $animArray['mask_x_'.$is] !== '') $retString.= 'x:'.$animArray['mask_x_'.$is].';'; if(isset($animArray['mask_y_'.$is]) && $animArray['mask_y_'.$is] !== '') $retString.= 'y:'.$animArray['mask_y_'.$is].';'; if(isset($animArray['mask_speed_'.$is]) && $animArray['mask_speed_'.$is] !== '') $retString.= 's:'.$animArray['mask_speed_'.$is].';'; if(isset($animArray['mask_ease_'.$is]) && $animArray['mask_ease_'.$is] !== '') $retString.= 'e:'.$animArray['mask_ease_'.$is].';'; return $retString; } /* Provider: - * * * parse css file and get the classes from there. */ public function getArrCaptionClasses($contentCSS){ //parse css captions file $parser = new RevSliderCssParser(); $parser->initContent($contentCSS); $arrCaptionClasses = $parser->getArrClasses('','',true); return($arrCaptionClasses); } /* Provider: - * * * get all CSS classes from database with version numbers */ public function getArrCaptionSorted($contentCSS){ //get all from the database //parse css captions file $parser = new RevSliderCssParser(); $parser->initContent($contentCSS); $arrCaptionClasses = $parser->getArrClasses('','',true); return($arrCaptionClasses); } /* Provider: - * * * get all font family types */ public function getArrFontFamilys($slider = false){ //Web Safe Fonts $fonts = array( //Serif Fonts 'Georgia, serif', '"Palatino Linotype", "Book Antiqua", Palatino, serif', '"Times New Roman", Times, serif', //Sans-Serif Fonts 'Arial, Helvetica, sans-serif', '"Arial Black", Gadget, sans-serif', '"Comic Sans MS", cursive, sans-serif', 'Impact, Charcoal, sans-serif', '"Lucida Sans Unicode", "Lucida Grande", sans-serif', 'Tahoma, Geneva, sans-serif', '"Trebuchet MS", Helvetica, sans-serif', 'Verdana, Geneva, sans-serif', //Monospace Fonts '"Courier New", Courier, monospace', '"Lucida Console", Monaco, monospace' ); if($slider !== false){ if($slider->getParam("load_googlefont","false") == "true"){ $font_custom = $slider->getParam("google_font",""); if(!is_array($font_custom)) $font_custom = array($font_custom); //backwards compability if(is_array($font_custom)){ foreach($font_custom as $key => $curFont){ $font = $this->cleanFontStyle(stripslashes($curFont)); if($font != false) $font_custom[$key] = $font; else unset($font_custom[$key]); } $fonts = array_merge($font_custom, $fonts); } } } return $fonts; } /* Provider: - * * * get font name in clean */ public function cleanFontStyle($font){ $url = preg_match('/href=["\']?([^"\'>]+)["\']?/', $font, $match); if(!isset($match[1])) return false; $info = parse_url($match[1]); if(isset($info['query'])){ $font = str_replace(array('family=', '+'), array('', ' '), $info['query']); $font = explode(':', $font); return (strpos($font['0'], ' ') !== false) ? '"'.$font['0'].'"' : $font['0']; } return false; } /* Provider: - * * * get the select classes html for putting in the html by ajax */ private function getHtmlSelectCaptionClasses($contentCSS){ $arrCaptions = $this->getArrCaptionClasses($contentCSS); $htmlSelect = RevSliderFunctions::getHTMLSelect($arrCaptions,"","id='layer_caption' name='layer_caption'",true); return($htmlSelect); } /* Provider: - * * * get contents of the css table */ public function getCaptionsContent(){ $result = $this->db->fetch(RevSliderGlobals::$table_css); $contentCSS = RevSliderCssParser::parseDbArrayToCss($result); return($contentCSS); } /* Provider: - * * * get contents of the css table */ public static function getCaptionsContentArray($handle = false){ $db = new RevSliderDB(); $result = $db->fetch(RevSliderGlobals::$table_css); $contentCSS = RevSliderCssParser::parseDbArrayToArray($result, $handle); return($contentCSS); } /* Provider: - * * * get contents of the static css file */ public static function getStaticCss(){ if ( is_multisite() ){ if(!get_site_option('revslider-static-css')){ $contentCSS = @file_get_contents(RevSliderGlobals::$filepath_static_captions); self::updateStaticCss($contentCSS); } $contentCSS = get_site_option('revslider-static-css', ''); }else{ if(!get_option('revslider-static-css')){ $contentCSS = @file_get_contents(RevSliderGlobals::$filepath_static_captions); self::updateStaticCss($contentCSS); } $contentCSS = get_option('revslider-static-css', ''); } return($contentCSS); } /* Provider: - * * * get contents of the static css file */ public static function updateStaticCss($content){ $content = str_replace(array("\'", '\"', '\\\\'),array("'", '"', '\\'), trim($content)); if ( is_multisite() ){ $c = get_site_option('revslider-static-css', ''); $c = update_site_option('revslider-static-css', $content); }else{ $c = get_option('revslider-static-css', ''); $c = update_option('revslider-static-css', $content); } return $content; } /* Provider: - * * * get contents of the static css file */ public function getDynamicCss(){ $db = new RevSliderDB(); $styles = $db->fetch(RevSliderGlobals::$table_css); $styles = RevSliderCssParser::parseDbArrayToCss($styles, "\n"); return $styles; } /* Provider: - * * * insert captions css file content * @return new captions html select */ public function insertCaptionsContentData($content){ global $revSliderVersion; if(!isset($content['handle']) || !isset($content['idle']) || !isset($content['hover'])) return false; // || !isset($content['advanced']) $db = new RevSliderDB(); $handle = $content['handle']; $arrInsert = array(); $arrInsert["handle"] = '.tp-caption.'.$handle; $arrInsert["params"] = stripslashes(json_encode(str_replace("'", '"', $content['idle']))); $arrInsert["hover"] = stripslashes(json_encode(str_replace("'", '"', @$content['hover']))); if(!isset($content['settings'])) $content['settings'] = array(); $content['settings']['version'] = 'custom'; $content['settings']['translated'] = '5'; // translated to version 5 currently $arrInsert["settings"] = stripslashes(json_encode(str_replace("'", '"', $content['settings']))); $arrInsert["advanced"] = array(); $arrInsert["advanced"]['idle'] = @$content['advanced']['idle']; $arrInsert["advanced"]['hover'] = @$content['advanced']['hover']; $arrInsert["advanced"] = stripslashes(json_encode(str_replace("'", '"', $arrInsert["advanced"]))); $result = $db->insert(RevSliderGlobals::$table_css, $arrInsert); //output captions array $arrCaptions = RevSliderCssParser::get_captions_sorted(); return($arrCaptions); } /* Provider: - * * update captions css file content * @return new captions html select */ public function updateCaptionsContentData($content){ global $revSliderVersion; if(!isset($content['handle']) || !isset($content['idle']) || !isset($content['hover']) || !isset($content['advanced'])) return false; $db = new RevSliderDB(); //first get single entry to merge settings $styles = $db->fetchSingle(RevSliderGlobals::$table_css, '`handle` = "'.$db->escape('.tp-caption.'.$content['handle']).'"'); if(empty($styles)) return false; $settings = json_decode(str_replace("'", '"', $styles['settings']), true); if(isset($content['settings']) && !empty($content['settings'])){ foreach($content['settings'] as $key => $value){ $settings[$key] = $value; } //$settings = array_merge($content['settings'], $settings); } $handle = $content['handle']; $arrUpdate = array(); $arrUpdate["params"] = stripslashes(json_encode(str_replace("'", '"', @$content['idle']))); $arrUpdate["hover"] = stripslashes(json_encode(str_replace("'", '"', @$content['hover']))); $arrUpdate["settings"] = stripslashes(json_encode(str_replace("'", '"', $settings))); $arrUpdate["advanced"] = array(); $arrUpdate["advanced"]['idle'] = @$content['advanced']['idle']; $arrUpdate["advanced"]['hover'] = @$content['advanced']['hover']; $arrUpdate["advanced"] = stripslashes(json_encode(str_replace("'", '"', $arrUpdate["advanced"]))); $result = $db->update(RevSliderGlobals::$table_css, $arrUpdate, array('handle' => '.tp-caption.'.$handle)); //output captions array $arrCaptions = RevSliderCssParser::get_captions_sorted(); return($arrCaptions); } /* Provider: - * * update captions advanced css * @return: new captions html select * @since: 5.0 */ public function updateAdvancedCssData($data){ if(!isset($data['handle']) || !isset($data['styles']) || !isset($data['type'])) return false; if($data['type'] !== 'idle' && $data['type'] !== 'hover') return false; $db = new RevSliderDB(); //get current styles $styles = $db->fetchSingle(RevSliderGlobals::$table_css, '`handle` = "'.$db->escape($data['handle']).'"'); if(!empty($styles)){ if(!isset($styles['advanced'])) $styles['advanced'] = ''; $adv = json_decode(str_replace("'", '"', $styles['advanced']), true); if(!isset($adv['idle'])) $adv['idle'] = array(); if(!isset($adv['hover'])) $adv['hover'] = array(); $adv[$data['type']] = $data['styles']; $arrUpdate = array(); $arrUpdate['advanced'] = json_encode(str_replace("'", '"', $adv)); $result = $db->update(RevSliderGlobals::$table_css, $arrUpdate, array('handle' => $data['handle'])); //output captions array $arrCaptions = RevSliderCssParser::get_captions_sorted(); return($arrCaptions); }else{ return false; } } /* Provider: - * * rename caption * @since: 5.0 */ public function renameCaption($content){ if(isset($content['old_name']) && isset($content['new_name'])) { $db = new RevSliderDB(); $handle = $content['old_name']; $arrUpdate = array(); $arrUpdate["handle"] = '.tp-caption.'.$content['new_name']; $result = $db->update(RevSliderGlobals::$table_css, $arrUpdate, array('handle' => '.tp-caption.'.$handle)); if($result !== false){ //rename all layers in all Sliders that use this old name with the new name $slider = new RevSlider(); $arrSliders = $slider->getArrSliders(); if(!empty($arrSliders)){ foreach($arrSliders as $slider){ $arrSildes = $slider->getSlides(); foreach($arrSildes as $slide){ $slide->replaceCssClass($content['old_name'], $content['new_name']); } } } } } //output captions array $arrCaptions = RevSliderCssParser::get_captions_sorted(); return($arrCaptions); } /* Provider: - * * * delete captions css file content * @return new captions html select */ public function deleteCaptionsContentData($handle){ $db = new RevSliderDB(); $db->delete(RevSliderGlobals::$table_css,"handle='.tp-caption.".$handle."'"); //$this->updateDynamicCaptions(); //output captions array $arrCaptions = RevSliderCssParser::get_captions_sorted(); return($arrCaptions); } /* Provider: - * * * update dynamic-captions css file content */ public static function updateDynamicCaptions($full = false){ if($full){ $captions = array(); $captions = RevSliderOperations::getCaptionsContentArray(); $styles = RevSliderCssParser::parseArrayToCss($captions, "\n"); }else{ //go through all sliders and check which classes are used, get all classes from DB and write them into the file $slider = new RevSlider(); $arrSliders = $slider->getArrSliders(); $classes = array(); //get used classes if(!empty($arrSliders)){ foreach($arrSliders as $slider){ try{ $slides = $slider->getSlides(); if(!empty($slides)){ foreach($slides as $slide){ $layers = $slide->getLayers(); if(!empty($layers)){ foreach($layers as $layer){ if(isset($layer['style'])){ if(!empty($layer['style'])) $classes[$layer['style']] = true; } } } } } }catch(Exception $e){ $errorMessage = "ERROR: ".$e->getMessage(); } } } if(!empty($classes)){ $captions = array(); foreach($classes as $class => $val){ $captionCheck = RevSliderOperations::getCaptionsContentArray($class); if(!empty($captionCheck)) $captions[] = $captionCheck; } $styles = RevSliderCssParser::parseArrayToCss($captions, "\n"); } } } /* Provider: - * * * get contents of the css file */ public static function getCaptionsCssContentArray(){ if(file_exists(RS_PLUGIN_PATH.'public/assets/css/captions.css')) $contentCSS = file_get_contents(RS_PLUGIN_PATH.'public/assets/css/captions.css'); else if(file_exists(RS_PLUGIN_PATH.'public/assets/css/captions-original.css')) $contentCSS = file_get_contents(RS_PLUGIN_PATH.'public/assets/css/captions-original.css'); else if(file_exists(RS_PLUGIN_PATH.'backup/'.'captions.css')) $contentCSS = file_get_contents(RS_PLUGIN_PATH.'backup/'.'captions.css'); else if(file_exists(RS_PLUGIN_PATH.'backup/'.'captions-original.css')) $contentCSS = file_get_contents(RS_PLUGIN_PATH.'backup/'.'captions-original.css'); else RevSliderFunctions::throwError("No captions.css found! This installation is incorrect, please make sure to reupload the Slider Revolution plugin and try again!"); $result = RevSliderCssParser::parseCssToArray($contentCSS); return($result); } /* Provider: - * * * import contents of the css file */ public static function importCaptionsCssContentArray(){ $db = new RevSliderDB(); $css = self::getCaptionsCssContentArray(); $static = array(); if(is_array($css) && $css !== false && count($css) > 0){ foreach($css as $class => $styles){ //check if static style or dynamic style $class = trim($class); if((strpos($class, ':hover') === false && strpos($class, ':') !== false) || //before, after strpos($class," ") !== false || // .tp-caption.imageclass img or .tp-caption .imageclass or .tp-caption.imageclass .img strpos($class,".tp-caption") === false || // everything that is not tp-caption (strpos($class,".") === false || strpos($class,"#") !== false) || // no class -> #ID or img strpos($class,">") !== false){ //.tp-caption>.imageclass or .tp-caption.imageclass>img or .tp-caption.imageclass .img $static[$class] = $styles; continue; } //is a dynamic style if(strpos($class, ':hover') !== false){ $class = trim(str_replace(':hover', '', $class)); $arrInsert = array(); $arrInsert["hover"] = json_encode($styles); $arrInsert["settings"] = json_encode(array('hover' => 'true')); }else{ $arrInsert = array(); $arrInsert["params"] = json_encode($styles); } //check if class exists $result = $db->fetch(RevSliderGlobals::$table_css, "handle = '".$class."'"); if(!empty($result)){ //update $db->update(RevSliderGlobals::$table_css, $arrInsert, array('handle' => $class)); }else{ //insert $arrInsert["handle"] = $class; $db->insert(RevSliderGlobals::$table_css, $arrInsert); } } } if(!empty($static)){ //save static into static-captions.css $css = RevSliderCssParser::parseStaticArrayToCss($static); $static_cur = RevSliderOperations::getStaticCss(); //get the open sans line! $css = $static_cur."\n".$css; self::updateStaticCss($css); } } /* Provider: - * * * move old captions.css and captions-original.css */ public static function moveOldCaptionsCss(){ if(file_exists(RevSliderGlobals::$filepath_captions_original)) $success = @rename(RevSliderGlobals::$filepath_captions_original, RevSliderGlobals::$filepath_backup.'/captions-original.css'); if(file_exists(RevSliderGlobals::$filepath_captions)) $success = @rename(RevSliderGlobals::$filepath_captions, RevSliderGlobals::$filepath_backup.'/captions.css'); } /* Provider: - * * * preview slider output * if output object is null - create object */ public function previewOutput($sliderID,$output = null){ if($sliderID == "empty_output"){ $this->loadingMessageOutput(); exit(); } if($output == null) $output = new RevSliderOutput(); $slider = new RevSlider(); $slider->initByID($sliderID); $isWpmlExists = RevSliderWpml::isWpmlExists(); $useWpml = $slider->getParam("use_wpml","off"); $wpmlActive = false; if($isWpmlExists && $useWpml == "on"){ $wpmlActive = true; $arrLanguages = RevSliderWpml::getArrLanguages(false); //set current lang to output $currentLang = RevSliderFunctions::getPostGetVariable("lang"); if(empty($currentLang)) $currentLang = RevSliderWpml::getCurrentLang(); if(empty($currentLang)) $currentLang = $arrLanguages[0]; $output->setLang($currentLang); $selectLangChoose = RevSliderFunctions::getHTMLSelect($arrLanguages,$currentLang,"id='select_langs'",true); } $output->setPreviewMode(); //put the output html $urlPlugin = RS_PLUGIN_URL.'public/assets/'; $urlPreviewPattern = RevSliderBase::$url_ajax_actions."&client_action=preview_slider&sliderid=".$sliderID."&lang=[lang]&nonce=[nonce]"; $nonce = wp_create_nonce("revslider_actions"); $setBase = (is_ssl()) ? "https://" : "http://"; ?> fetch(RevSliderGlobals::$table_css); $styles = RevSliderCssParser::parseDbArrayToCss($styles, "\n"); $styles = RevSliderCssParser::compress_css($styles); echo ''; //.$stylesinnerlayers $http = (is_ssl()) ? 'https' : 'http'; $operations = new RevSliderOperations(); $arrValues = $operations->getGeneralSettingsValues(); $set_diff_font = RevSliderFunctions::getVal($arrValues, "change_font_loading",''); if($set_diff_font !== ''){ $font_url = $set_diff_font; }else{ $font_url = $http.'://fonts.googleapis.com/css?family='; } $custom_css = RevSliderOperations::getStaticCss(); echo ''; ?>
:
putSliderBase($sliderID); ?> loadingMessageOutput(); exit(); } if($output == null) $output = new RevSliderOutput(); $slider = new RevSlider(); $slider->initByID($sliderID); $isWpmlExists = RevSliderWpml::isWpmlExists(); $useWpml = $slider->getParam("use_wpml","off"); $wpmlActive = false; if($isWpmlExists && $useWpml == "on"){ $wpmlActive = true; $arrLanguages = RevSliderWpml::getArrLanguages(false); //set current lang to output $currentLang = RevSliderFunctions::getPostGetVariable("lang"); if(empty($currentLang)) $currentLang = RevSliderWpml::getCurrentLang(); if(empty($currentLang)) $currentLang = $arrLanguages[0]; $output->setLang($currentLang); $selectLangChoose = RevSliderFunctions::getHTMLSelect($arrLanguages,$currentLang,"id='select_langs'",true); } $output->setPreviewMode(); //put the output html $urlPlugin = "http://yourpluginpath/"; $urlPreviewPattern = RevSliderBase::$url_ajax_actions."&client_action=preview_slider&only_markup=true&sliderid=".$sliderID."&lang=[lang]&nonce=[nonce]"; $nonce = wp_create_nonce("revslider_actions"); $setBase = (is_ssl()) ? "https://" : "http://"; $http = (is_ssl()) ? 'https' : 'http'; $operations = new RevSliderOperations(); $arrValues = $operations->getGeneralSettingsValues(); $set_diff_font = RevSliderFunctions::getVal($arrValues, "change_font_loading",''); if($set_diff_font !== ''){ $font_url = $set_diff_font; }else{ $font_url = $http.'://fonts.googleapis.com/css?family='; } ?>
:
fetch(RevSliderGlobals::$table_css); echo RevSliderCssParser::parseDbArrayToCss($styles, "\n"); $style_content = ob_get_contents(); ob_clean(); ob_end_clean(); ob_start(); $output->putSliderBase($sliderID); $content = ob_get_contents(); ob_clean(); ob_end_clean(); $script_content = substr($content, strpos($content, '') + 9 - strpos($content, ''), '', $script_content); ?>

loadingMessageOutput(); exit(); } $data = RevSliderFunctions::jsonDecodeFromClientSide($data); $slideID = $data["slideid"]; $slide = new RevSlide(); $slide->initByID($slideID); $sliderID = $slide->getSliderID(); $output = new RevSliderOutput(); $output->setOneSlideMode($data); $this->previewOutput($sliderID,$output); } /* Provider: - * * update general settings */ public function updateGeneralSettings($data){ $strSettings = serialize($data); update_option('revslider-global-settings', $data); } /* Provider: - * * * get general settigns values. */ static function getGeneralSettingsValues(){ $arrValues = get_option('revslider-global-settings', ''); $arrValues = maybe_unserialize($arrValues); return($arrValues); } /* Provider: - * * * modify custom slider params. This is instead custom settings difficulties. */ public function modifyCustomSliderParams($data){ $arrNames = array("width","height", "responsitive_w1","responsitive_sw1", "responsitive_w2","responsitive_sw2", "responsitive_w3","responsitive_sw3", "responsitive_w4","responsitive_sw4", "responsitive_w5","responsitive_sw5", "responsitive_w6","responsitive_sw6"); $arrMain = $data["main"]; foreach($arrNames as $name){ if(array_key_exists($name, $arrMain)){ $arrMain[$name] = floatval($arrMain[$name]); if(!is_numeric($arrMain[$name])) $arrMain[$name] = 0; } } $arrMain["fullscreen_offset_container"] = @$arrMain["fullscreen_offset_container"]; $data["main"] = $arrMain; return($data); } /* Provider: - * * * get post types with categories for client side. */ public static function getPostTypesWithCatsForClient(){ $arrPostTypes = RevSliderFunctionsWP::getPostTypesWithCats(); $globalCounter = 0; $arrOutput = array(); foreach($arrPostTypes as $postType => $arrTaxWithCats){ $arrCats = array(); foreach($arrTaxWithCats as $tax){ $taxName = $tax["name"]; $taxTitle = $tax["title"]; $globalCounter++; $arrCats["option_disabled_".$globalCounter] = "---- ".$taxTitle." ----"; foreach($tax["cats"] as $catID=>$catTitle){ $arrCats[$taxName."_".$catID] = $catTitle; } }//loop tax $arrOutput[$postType] = $arrCats; }//loop types return($arrOutput); } /* Provider: - * * * get html font import */ public static function getCleanFontImport($font){ $setBase = (is_ssl()) ? "https://" : "http://"; if(strpos($font, "href=") === false){ //fallback for old versions return ''; //id="rev-google-font" }else{ $font = str_replace(array('http://', 'https://'), array($setBase, $setBase), $font); return html_entity_decode(stripslashes($font)); } } public function checkPurchaseVerification($data){ global $wp_version; $response = wp_remote_post('http://updates.themepunch.tools/activate.php', array( 'user-agent' => 'WordPress/'.$wp_version.'; '.get_bloginfo('url'), 'body' => array( 'name' => urlencode($data['username']), 'api' => urlencode($data['api_key']), 'code' => urlencode($data['code']), 'product' => urlencode('revslider') ) )); $response_code = wp_remote_retrieve_response_code( $response ); $version_info = wp_remote_retrieve_body( $response ); if ( $response_code != 200 || is_wp_error( $version_info ) ) { return false; } if($version_info == 'valid'){ update_option('revslider-valid', 'true'); update_option('revslider-api-key', $data['api_key']); update_option('revslider-username', $data['username']); update_option('revslider-code', $data['code']); return true; }elseif($version_info == 'exist'){ RevSliderFunctions::throwError(__('Purchase Code already registered!', REVSLIDER_TEXTDOMAIN)); }else{ return false; } } public function doPurchaseDeactivation($data){ global $wp_version; $key = get_option('revslider-api-key', ''); $name = get_option('revslider-username', ''); $code = get_option('revslider-code', ''); $response = wp_remote_post('http://updates.themepunch.tools/deactivate.php', array( 'user-agent' => 'WordPress/'.$wp_version.'; '.get_bloginfo('url'), 'body' => array( 'name' => urlencode($name), 'api' => urlencode($key), 'code' => urlencode($code), 'product' => urlencode('revslider') ) )); $response_code = wp_remote_retrieve_response_code( $response ); $version_info = wp_remote_retrieve_body( $response ); if ( $response_code != 200 || is_wp_error( $version_info ) ) { return false; } if($version_info == 'valid'){ update_option('revslider-valid', 'false'); return true; }else{ return false; } } public static function get_performance($val, $min, $max) { if ($val==0) $val = 1; $arr = array(); //print_r(($max-$min)."/".($val-$min)."="); $arr["proc"] = (($max-$min) / ($val-$min))*100; //print_r($arr["proc"]." --> "); if ($arr["proc"]>100) $arr["proc"] = 100; if ($arr["proc"]<0) $arr["proc"] = 0; if ($arr["proc"]<35) $arr["col"] = "slow"; else if ($arr["proc"]<75) $arr["col"] = "ok"; else //print_r($arr["proc"]."
"); $arr["col"] = "fast"; return $arr; } /* Provider: - * * view the estimated speed of the Slider * @since: 5.0 */ public static function get_slider_speed($sliderID){ //$data = wp_get_attachment_metadata($cur_img_id); ob_start(); $total_size = 0; $do_ssl = (is_ssl()) ? 'http:' : 'https:'; $slider = new RevSliderSlider(); $slider->initByID($sliderID); $slides = $slider->getSlidesForExport(); $static_slides = $slider->getStaticSlideForExport(); if(!empty($static_slides) && is_array($static_slides)){ foreach($static_slides as $s_slide){ $slides[] = $s_slide; } } $used_images = array(); $used_videos = array(); $used_captions = array(); $using_kenburns = false; $using_parallax = false; $using_carousel = false; $using_navigation = false; $using_videos = false; $using_actions = false; $using_layeranim = false; $img_size = 0; $video_size = 0; $slide_counter = 0; $firstslide_size = 0; $smartslide_size = 0; if($slider->getParam("use_parallax","off") == 'on') $using_parallax = true; if($slider->getParam("slider-type","standard") == 'carousel') $using_carousel = true; $enable_arrows = $slider->getParam('enable_arrows','off'); $enable_bullets = $slider->getParam('enable_bullets','off'); $enable_tabs = $slider->getParam('enable_tabs','off'); $enable_thumbnails = $slider->getParam('enable_thumbnails','off'); if($enable_arrows == 'on' || $enable_bullets == 'on' || $enable_tabs == 'on' || $enable_thumbnails == 'on') $using_navigation = true; if(!empty($slides) && count($slides) > 0){ foreach($slides as $key => $slide){ if(isset($slide['params']['state']) && $slide['params']['state'] != 'published') continue; if(!isset($slide['id'])) continue; $slide_counter++; $slide_id = $slide['id']; if(isset($slide['params']['kenburn_effect']) && $slide['params']['kenburn_effect'] == 'on') $using_kenburns = true; if(!isset($slide['params']['image_source_type'])) $slide['params']['image_source_type'] = 'full'; if(isset($slide['params']['image']) && $slide['params']['image'] != ''){ //add infos of image to an array $infos = array(); $urlImage = false; switch($slide['params']['background_type']){ case 'streamyoutube': case 'streaminstagram': case 'streamvimeo': case 'youtube': case 'vimeo': $using_videos = true; break; } if(isset($slide['params']['image_id'])){ $cur_img_id = $slide['params']['image_id']; //get image sizes by ID $urlImage = wp_get_attachment_image_src($slide['params']['image_id'], $slide['params']['image_source_type']); } if($urlImage === false){ $cur_img_id = RevSliderFunctionsWP::get_image_id_by_url($slide['params']['image']); if($cur_img_id !== false){ $urlImage = wp_get_attachment_image_src($cur_img_id, $slide['params']['image_source_type']); } } if($urlImage !== false){ $infos['id'] = $cur_img_id; $file = get_attached_file( $cur_img_id ); $infos['info'] = pathinfo( $file ); if(file_exists( $file )){ $infos['size'] = filesize( $file ); $infos['size-format'] = size_format($infos['size'], 2); $img_size += $infos['size']; if ($slide_counter==1) $firstslide_size += $infos['size']; if ($slide_counter==1 || $slide_counter==2 || $slide_counter==count($slides)) $smartslide_size += $infos['size']; }else{ $infos['id'] = false; } }else{ $infos['id'] = 'external'; } if(strpos($slide_id, 'static_') !== false){ $infos['url'] = RevSliderBaseAdmin::getViewUrl(RevSliderAdmin::VIEW_SLIDE, 'id=static_'.$sliderID); }else{ $infos['url'] = RevSliderBaseAdmin::getViewUrl(RevSliderAdmin::VIEW_SLIDE, 'id='.$slide_id); } $used_images[$slide['params']['image']] = $infos; } if(isset($slide['layers']) && !empty($slide['layers']) && count($slide['layers']) > 0){ $using_layeranim = true; foreach($slide['layers'] as $lKey => $layer){ switch($layer['type']){ case 'image': $infos = array(); if(isset($layer['image_url']) && trim($layer['image_url']) != ''){ $cur_img_id = RevSliderFunctionsWP::get_image_id_by_url($layer['image_url']); if($cur_img_id !== false){ if(!isset($layer['layer-image-size']) || $layer['layer-image-size'] == 'auto') $layer['layer-image-size'] = $slide['params']['image_source_type']; $urlImage = wp_get_attachment_image_src($cur_img_id, $layer['layer-image-size']); if($urlImage !== false){ $infos['id'] = $cur_img_id; $file = get_attached_file( $cur_img_id ); $infos['info'] = pathinfo( $file ); if(file_exists( $file )){ $infos['size'] = filesize( $file ); $infos['size-format'] = size_format($infos['size'], 2); $img_size += $infos['size']; if ($slide_counter==1) $firstslide_size += $infos['size']; if ($slide_counter==1 || $slide_counter==2 || $slide_counter==count($slides)) $smartslide_size += $infos['size']; }else{ $infos['id'] = false; } }else{ $infos['id'] = 'external'; } }else{ $infos['id'] = 'external'; } if(strpos($slide_id, 'static_') !== false){ $infos['url'] = RevSliderBaseAdmin::getViewUrl(RevSliderAdmin::VIEW_SLIDE, 'id=static_'.$sliderID); }else{ $infos['url'] = RevSliderBaseAdmin::getViewUrl(RevSliderAdmin::VIEW_SLIDE, 'id='.$slide_id); } $used_images[$layer['image_url']] = $infos; //image_url if image caption } break; case 'video': $using_videos = true; //get cover image if existing $infos = array(); $poster_img = array(); if(isset($layer['video_data']) && isset($layer['video_data']->urlPoster)){ $poster_img[] = $layer['video_data']->urlPoster; } if(isset($layer['video_image_url']) && isset($layer['video_image_url'])){ $poster_img[] = $layer['video_image_url']; } if(!empty($poster_img)){ foreach($poster_img as $img){ if(trim($img) == '') continue; $cur_img_id = RevSliderFunctionsWP::get_image_id_by_url($img); if($cur_img_id !== false){ if(!isset($layer['layer-image-size']) || $layer['layer-image-size'] == 'auto') $layer['layer-image-size'] = $slide['params']['image_source_type']; $urlImage = wp_get_attachment_image_src($cur_img_id, $layer['layer-image-size']); if($urlImage !== false){ $infos['id'] = $cur_img_id; $file = get_attached_file( $cur_img_id ); $infos['info'] = pathinfo( $file ); if(file_exists( $file )){ $infos['size'] = filesize( $file ); $infos['size-format'] = size_format($infos['size'], 2); $img_size += $infos['size']; if ($slide_counter==1) $firstslide_size += $infos['size']; if ($slide_counter==1 || $slide_counter==2 || $slide_counter==count($slides)) $smartslide_size += $infos['size']; }else{ $infos['id'] = false; } }else{ $infos['id'] = 'external'; } }else{ $infos['id'] = 'external'; } if(strpos($slide_id, 'static_') !== false){ $infos['url'] = RevSliderBaseAdmin::getViewUrl(RevSliderAdmin::VIEW_SLIDE, 'id=static_'.$sliderID); }else{ $infos['url'] = RevSliderBaseAdmin::getViewUrl(RevSliderAdmin::VIEW_SLIDE, 'id='.$slide_id); } $used_images[$img] = $infos; //image_url if image caption } } $infos = array(); if(isset($layer['video_type'])){ //add videos and try to get video size if(isset($layer['video_data'])){ $video_arr = array(); $max_video_size = 0; if(strpos($slide_id, 'static_') !== false){ $infos['url'] = RevSliderBaseAdmin::getViewUrl(RevSliderAdmin::VIEW_SLIDE, 'id=static_'.$sliderID); }else{ $infos['url'] = RevSliderBaseAdmin::getViewUrl(RevSliderAdmin::VIEW_SLIDE, 'id='.$slide_id); } switch($layer['video_type']){ case 'html5': if(isset($layer['video_data']->urlMp4) && !empty($layer['video_data']->urlMp4)) $video_arr['mp4'] = $layer['video_data']->urlMp4; if(isset($layer['video_data']->urlWebm) && !empty($layer['video_data']->urlWebm)) $video_arr['webm'] = $layer['video_data']->urlWebm; if(isset($layer['video_data']->urlOgv) && !empty($layer['video_data']->urlOgv)) $video_arr['mp4'] = $layer['video_data']->urlOgv; if(!empty($video_arr)){ foreach($video_arr as $type => $url){ $cur_id = RevSliderFunctionsWP::get_image_id_by_url($url); if($cur_id !== false){ $infos['id'] = $cur_id; $file = get_attached_file( $cur_id ); $infos['info'] = pathinfo( $file ); if(file_exists( $file )){ $infos['size'] = filesize( $file ); $infos['size-format'] = size_format($infos['size'], 2); if($infos['size'] > $max_video_size) $max_video_size = $infos['size']; //add only the largest video of the three here as each browser loads only one file and we can add here the biggest }else{ $infos['id'] = 'external'; } }else{ $infos['id'] = 'external'; } $used_videos[$url] = $infos; } $video_size += $max_video_size; } break; case 'youtube': $infos['id'] = 'external'; if(!isset($layer['video_data']->id) || empty($layer['video_data']->id)) continue; $used_videos[$do_ssl.'//www.youtube.com/watch?v='.$layer['video_data']->id] = $infos; break; case 'vimeo': if(!isset($layer['video_data']->id) || empty($layer['video_data']->id)) continue; $infos['id'] = 'external'; $used_videos[$do_ssl.'//vimeo.com/'.$layer['video_data']->id] = $infos; break; } } } break; } //check captions for actions if(isset($layer['layer_action']) && !empty($layer['layer_action'])){ $a_action = RevSliderFunctions::cleanStdClassToArray(RevSliderFunctions::getVal($layer['layer_action'], 'action', array())); $a_link_type = RevSliderFunctions::cleanStdClassToArray(RevSliderFunctions::getVal($layer['layer_action'], 'link_type', array())); if(!empty($a_action)){ foreach($a_action as $num => $action){ if($using_actions == true) break; if($action !== 'link'){ $using_actions = true; }else{ //check if jQuery or a tag if($a_link_type[$num] == 'jquery') $using_actions = true; } } } } if(isset($layer['style']) && $layer['style'] != '') $used_captions[$layer['style']] = true; } } } } $total_size += $img_size; $img_counter = 0; $issues =""; //$total_size += $video_size; ?>
%umtsspeed-single% %dslspeed-single% %t1speed-single% %umtsspeed-smart% %dslspeed-smart% %t1speed-smart% %umtsspeed-all% %dslspeed-all% %t1speed-all% %overall_size% Show Full Statistics %firstslide_size% %smartslide_size% %allslide_size% Show All Issues
standardpreset || heropreset || carouselpreset $presets[] = array ( 'settings' => array ('class' => '', 'image' => RS_PLUGIN_URL.'admin/assets/images/sliderpresets/slideshow_auto_layout.png', 'name' => 'Slideshow-Auto', 'preset' => 'standardpreset' ), 'values' => array ( 'next_slide_on_window_focus' => 'off', 'delay' => '9000', 'start_js_after_delay' => '0', 'image_source_type' => 'full', 0 => 'revapi39.bind(\\"revolution.slide.layeraction\\",function (e) { //data.eventtype - Layer Action (enterstage, enteredstage, leavestage,leftstage) //data.layertype - Layer Type (image,video,html) //data.layersettings - Default Settings for Layer //data.layer - Layer as jQuery Object });', 'start_with_slide' => '1', 'stop_on_hover' => 'on', 'stop_slider' => 'off', 'stop_after_loops' => '0', 'stop_at_slide' => '1', 'shuffle' => 'off', 'viewport_start' => 'wait', 'viewport_area' => '80', 'enable_progressbar' => 'on', 'background_dotted_overlay' => 'none', 'background_color' => 'transparent', 'padding' => '0', 'show_background_image' => 'off', 'background_image' => '', 'bg_fit' => 'cover', 'bg_repeat' => 'no-repeat', 'bg_position' => 'center center', 'position' => 'center', 'use_spinner' => '-1', 'spinner_color' => '#FFFFFF', 'enable_arrows' => 'on', 'navigation_arrow_style' => 'round', 'arrows_always_on' => 'true', 'hide_arrows' => '200', 'hide_arrows_mobile' => '1200', 'hide_arrows_on_mobile' => 'on', 'arrows_under_hidden' => '600', 'hide_arrows_over' => 'off', 'arrows_over_hidden' => '0', 'leftarrow_align_hor' => 'left', 'leftarrow_align_vert' => 'center', 'leftarrow_offset_hor' => '30', 'leftarrow_offset_vert' => '0', 'rightarrow_align_hor' => 'right', 'rightarrow_align_vert' => 'center', 'rightarrow_offset_hor' => '30', 'rightarrow_offset_vert' => '0', 'enable_bullets' => 'on', 'navigation_bullets_style' => 'round-old', 'bullets_space' => '5', 'bullets_direction' => 'horizontal', 'bullets_always_on' => 'true', 'hide_bullets' => '200', 'hide_bullets_mobile' => '1200', 'hide_bullets_on_mobile' => 'on', 'bullets_under_hidden' => '600', 'hide_bullets_over' => 'off', 'bullets_over_hidden' => '0', 'bullets_align_hor' => 'center', 'bullets_align_vert' => 'bottom', 'bullets_offset_hor' => '0', 'bullets_offset_vert' => '30', 'enable_thumbnails' => 'off', 'thumbnails_padding' => '5', 'span_thumbnails_wrapper' => 'off', 'thumbnails_wrapper_color' => 'transparent', 'thumbnails_wrapper_opacity' => '100', 'thumbnails_style' => 'round', 'thumb_amount' => '5', 'thumbnails_space' => '5', 'thumbnail_direction' => 'horizontal', 'thumb_width' => '100', 'thumb_height' => '50', 'thumb_width_min' => '100', 'thumbs_always_on' => 'false', 'hide_thumbs' => '200', 'hide_thumbs_mobile' => '1200', 'hide_thumbs_on_mobile' => 'off', 'thumbs_under_hidden' => '0', 'hide_thumbs_over' => 'off', 'thumbs_over_hidden' => '0', 'thumbnails_inner_outer' => 'inner', 'thumbnails_align_hor' => 'center', 'thumbnails_align_vert' => 'bottom', 'thumbnails_offset_hor' => '0', 'thumbnails_offset_vert' => '20', 'enable_tabs' => 'off', 'tabs_padding' => '5', 'span_tabs_wrapper' => 'off', 'tabs_wrapper_color' => 'transparent', 'tabs_wrapper_opacity' => '5', 'tabs_style' => '', 'tabs_amount' => '5', 'tabs_space' => '5', 'tabs_direction' => 'horizontal', 'tabs_width' => '100', 'tabs_height' => '50', 'tabs_width_min' => '100', 'tabs_always_on' => 'false', 'hide_tabs' => '200', 'hide_tabs_mobile' => '1200', 'hide_tabs_on_mobile' => 'off', 'tabs_under_hidden' => '0', 'hide_tabs_over' => 'off', 'tabs_over_hidden' => '0', 'tabs_inner_outer' => 'inner', 'tabs_align_hor' => 'center', 'tabs_align_vert' => 'bottom', 'tabs_offset_hor' => '0', 'tabs_offset_vert' => '20', 'touchenabled' => 'on', 'drag_block_vertical' => 'off', 'swipe_velocity' => '75', 'swipe_min_touches' => '50', 'swipe_direction' => 'horizontal', 'keyboard_navigation' => 'off', 'keyboard_direction' => 'horizontal', 'mousescroll_navigation' => 'off', 'carousel_infinity' => 'off', 'carousel_space' => '0', 'carousel_borderr' => '0', 'carousel_borderr_unit' => 'px', 'carousel_padding_top' => '0', 'carousel_padding_bottom' => '0', 'carousel_maxitems' => '3', 'carousel_stretch' => 'off', 'carousel_fadeout' => 'on', 'carousel_varyfade' => 'off', 'carousel_rotation' => 'off', 'carousel_varyrotate' => 'off', 'carousel_maxrotation' => '0', 'carousel_scale' => 'off', 'carousel_varyscale' => 'off', 'carousel_scaledown' => '50', 'carousel_hposition' => 'center', 'carousel_vposition' => 'center', 'use_parallax' => 'on', 'disable_parallax_mobile' => 'off', 'parallax_type' => 'mouse', 'parallax_origo' => 'slidercenter', 'parallax_speed' => '2000', 'parallax_level_1' => '2', 'parallax_level_2' => '3', 'parallax_level_3' => '4', 'parallax_level_4' => '5', 'parallax_level_5' => '6', 'parallax_level_6' => '7', 'parallax_level_7' => '12', 'parallax_level_8' => '16', 'parallax_level_9' => '10', 'parallax_level_10' => '50', 'lazy_load_type' => 'smart', 'seo_optimization' => 'none', 'simplify_ie8_ios4' => 'off', 'show_alternative_type' => 'off', 'show_alternate_image' => '', 'jquery_noconflict' => 'off', 'js_to_body' => 'false', 'output_type' => 'none', 'jquery_debugmode' => 'off', 'slider_type' => 'auto', 'width' => '1240', 'width_notebook' => '1024', 'width_tablet' => '778', 'width_mobile' => '480', 'height' => '600', 'height_notebook' => '600', 'height_tablet' => '500', 'height_mobile' => '400', 'enable_custom_size_notebook' => 'on', 'enable_custom_size_tablet' => 'on', 'enable_custom_size_iphone' => 'on', 'main_overflow_hidden' => 'off', 'auto_height' => 'off', 'min_height' => '', 'custom_javascript' => '', 'custom_css' => '', ), ); $presets[] = array ( 'settings' => array ( 'class' => '', 'image' => RS_PLUGIN_URL.'admin/assets/images/sliderpresets/slideshow_auto_layout.png', 'name' => 'Slideshow-Full-Width', 'preset' => 'standardpreset' ), 'values' => array ( 'next_slide_on_window_focus' => 'off', 'delay' => '9000', 'start_js_after_delay' => '0', 'image_source_type' => 'full', 0 => 'revapi39.bind(\\"revolution.slide.layeraction\\",function (e) { //data.eventtype - Layer Action (enterstage, enteredstage, leavestage,leftstage) //data.layertype - Layer Type (image,video,html) //data.layersettings - Default Settings for Layer //data.layer - Layer as jQuery Object });', 'start_with_slide' => '1', 'stop_on_hover' => 'on', 'stop_slider' => 'off', 'stop_after_loops' => '0', 'stop_at_slide' => '1', 'shuffle' => 'off', 'viewport_start' => 'wait', 'viewport_area' => '80', 'enable_progressbar' => 'on', 'background_dotted_overlay' => 'none', 'background_color' => 'transparent', 'padding' => '0', 'show_background_image' => 'off', 'background_image' => '', 'bg_fit' => 'cover', 'bg_repeat' => 'no-repeat', 'bg_position' => 'center center', 'position' => 'center', 'use_spinner' => '-1', 'spinner_color' => '#FFFFFF', 'enable_arrows' => 'on', 'navigation_arrow_style' => 'round', 'arrows_always_on' => 'true', 'hide_arrows' => '200', 'hide_arrows_mobile' => '1200', 'hide_arrows_on_mobile' => 'on', 'arrows_under_hidden' => '600', 'hide_arrows_over' => 'off', 'arrows_over_hidden' => '0', 'leftarrow_align_hor' => 'left', 'leftarrow_align_vert' => 'center', 'leftarrow_offset_hor' => '30', 'leftarrow_offset_vert' => '0', 'rightarrow_align_hor' => 'right', 'rightarrow_align_vert' => 'center', 'rightarrow_offset_hor' => '30', 'rightarrow_offset_vert' => '0', 'enable_bullets' => 'on', 'navigation_bullets_style' => 'round-old', 'bullets_space' => '5', 'bullets_direction' => 'horizontal', 'bullets_always_on' => 'true', 'hide_bullets' => '200', 'hide_bullets_mobile' => '1200', 'hide_bullets_on_mobile' => 'on', 'bullets_under_hidden' => '600', 'hide_bullets_over' => 'off', 'bullets_over_hidden' => '0', 'bullets_align_hor' => 'center', 'bullets_align_vert' => 'bottom', 'bullets_offset_hor' => '0', 'bullets_offset_vert' => '30', 'enable_thumbnails' => 'off', 'thumbnails_padding' => '5', 'span_thumbnails_wrapper' => 'off', 'thumbnails_wrapper_color' => 'transparent', 'thumbnails_wrapper_opacity' => '100', 'thumbnails_style' => 'round', 'thumb_amount' => '5', 'thumbnails_space' => '5', 'thumbnail_direction' => 'horizontal', 'thumb_width' => '100', 'thumb_height' => '50', 'thumb_width_min' => '100', 'thumbs_always_on' => 'false', 'hide_thumbs' => '200', 'hide_thumbs_mobile' => '1200', 'hide_thumbs_on_mobile' => 'off', 'thumbs_under_hidden' => '0', 'hide_thumbs_over' => 'off', 'thumbs_over_hidden' => '0', 'thumbnails_inner_outer' => 'inner', 'thumbnails_align_hor' => 'center', 'thumbnails_align_vert' => 'bottom', 'thumbnails_offset_hor' => '0', 'thumbnails_offset_vert' => '20', 'enable_tabs' => 'off', 'tabs_padding' => '5', 'span_tabs_wrapper' => 'off', 'tabs_wrapper_color' => 'transparent', 'tabs_wrapper_opacity' => '5', 'tabs_style' => '', 'tabs_amount' => '5', 'tabs_space' => '5', 'tabs_direction' => 'horizontal', 'tabs_width' => '100', 'tabs_height' => '50', 'tabs_width_min' => '100', 'tabs_always_on' => 'false', 'hide_tabs' => '200', 'hide_tabs_mobile' => '1200', 'hide_tabs_on_mobile' => 'off', 'tabs_under_hidden' => '0', 'hide_tabs_over' => 'off', 'tabs_over_hidden' => '0', 'tabs_inner_outer' => 'inner', 'tabs_align_hor' => 'center', 'tabs_align_vert' => 'bottom', 'tabs_offset_hor' => '0', 'tabs_offset_vert' => '20', 'touchenabled' => 'on', 'drag_block_vertical' => 'off', 'swipe_velocity' => '75', 'swipe_min_touches' => '50', 'swipe_direction' => 'horizontal', 'keyboard_navigation' => 'off', 'keyboard_direction' => 'horizontal', 'mousescroll_navigation' => 'off', 'carousel_infinity' => 'off', 'carousel_space' => '0', 'carousel_borderr' => '0', 'carousel_borderr_unit' => 'px', 'carousel_padding_top' => '0', 'carousel_padding_bottom' => '0', 'carousel_maxitems' => '3', 'carousel_stretch' => 'off', 'carousel_fadeout' => 'on', 'carousel_varyfade' => 'off', 'carousel_rotation' => 'off', 'carousel_varyrotate' => 'off', 'carousel_maxrotation' => '0', 'carousel_scale' => 'off', 'carousel_varyscale' => 'off', 'carousel_scaledown' => '50', 'carousel_hposition' => 'center', 'carousel_vposition' => 'center', 'use_parallax' => 'on', 'disable_parallax_mobile' => 'off', 'parallax_type' => 'mouse', 'parallax_origo' => 'slidercenter', 'parallax_speed' => '2000', 'parallax_level_1' => '2', 'parallax_level_2' => '3', 'parallax_level_3' => '4', 'parallax_level_4' => '5', 'parallax_level_5' => '6', 'parallax_level_6' => '7', 'parallax_level_7' => '12', 'parallax_level_8' => '16', 'parallax_level_9' => '10', 'parallax_level_10' => '50', 'lazy_load_type' => 'smart', 'seo_optimization' => 'none', 'simplify_ie8_ios4' => 'off', 'show_alternative_type' => 'off', 'show_alternate_image' => '', 'jquery_noconflict' => 'off', 'js_to_body' => 'false', 'output_type' => 'none', 'jquery_debugmode' => 'off', 'slider_type' => 'fullwidth', 'width' => '1240', 'width_notebook' => '1024', 'width_tablet' => '778', 'width_mobile' => '480', 'height' => '600', 'height_notebook' => '600', 'height_tablet' => '500', 'height_mobile' => '400', 'enable_custom_size_notebook' => 'on', 'enable_custom_size_tablet' => 'on', 'enable_custom_size_iphone' => 'on', 'main_overflow_hidden' => 'off', 'auto_height' => 'off', 'min_height' => '', 'custom_javascript' => '', 'custom_css' => '', ), ); $presets[] = array ( 'settings' => array ('class' => '', 'image' => RS_PLUGIN_URL.'admin/assets/images/sliderpresets/slideshow_auto_layout.png', 'name' => 'Slideshow-Full-Screen', 'preset' => 'standardpreset' ), 'values' => array ( 'next_slide_on_window_focus' => 'off', 'delay' => '9000', 'start_js_after_delay' => '0', 'image_source_type' => 'full', 0 => 'revapi39.bind(\\"revolution.slide.layeraction\\",function (e) { //data.eventtype - Layer Action (enterstage, enteredstage, leavestage,leftstage) //data.layertype - Layer Type (image,video,html) //data.layersettings - Default Settings for Layer //data.layer - Layer as jQuery Object });', 'start_with_slide' => '1', 'stop_on_hover' => 'on', 'stop_slider' => 'off', 'stop_after_loops' => '0', 'stop_at_slide' => '1', 'shuffle' => 'off', 'viewport_start' => 'wait', 'viewport_area' => '80', 'enable_progressbar' => 'on', 'background_dotted_overlay' => 'none', 'background_color' => 'transparent', 'padding' => '0', 'show_background_image' => 'off', 'background_image' => '', 'bg_fit' => 'cover', 'bg_repeat' => 'no-repeat', 'bg_position' => 'center center', 'position' => 'center', 'use_spinner' => '-1', 'spinner_color' => '#FFFFFF', 'enable_arrows' => 'on', 'navigation_arrow_style' => 'round', 'arrows_always_on' => 'true', 'hide_arrows' => '200', 'hide_arrows_mobile' => '1200', 'hide_arrows_on_mobile' => 'on', 'arrows_under_hidden' => '600', 'hide_arrows_over' => 'off', 'arrows_over_hidden' => '0', 'leftarrow_align_hor' => 'left', 'leftarrow_align_vert' => 'center', 'leftarrow_offset_hor' => '30', 'leftarrow_offset_vert' => '0', 'rightarrow_align_hor' => 'right', 'rightarrow_align_vert' => 'center', 'rightarrow_offset_hor' => '30', 'rightarrow_offset_vert' => '0', 'enable_bullets' => 'on', 'navigation_bullets_style' => 'round-old', 'bullets_space' => '5', 'bullets_direction' => 'horizontal', 'bullets_always_on' => 'true', 'hide_bullets' => '200', 'hide_bullets_mobile' => '1200', 'hide_bullets_on_mobile' => 'on', 'bullets_under_hidden' => '600', 'hide_bullets_over' => 'off', 'bullets_over_hidden' => '0', 'bullets_align_hor' => 'center', 'bullets_align_vert' => 'bottom', 'bullets_offset_hor' => '0', 'bullets_offset_vert' => '30', 'enable_thumbnails' => 'off', 'thumbnails_padding' => '5', 'span_thumbnails_wrapper' => 'off', 'thumbnails_wrapper_color' => 'transparent', 'thumbnails_wrapper_opacity' => '100', 'thumbnails_style' => 'round', 'thumb_amount' => '5', 'thumbnails_space' => '5', 'thumbnail_direction' => 'horizontal', 'thumb_width' => '100', 'thumb_height' => '50', 'thumb_width_min' => '100', 'thumbs_always_on' => 'false', 'hide_thumbs' => '200', 'hide_thumbs_mobile' => '1200', 'hide_thumbs_on_mobile' => 'off', 'thumbs_under_hidden' => '0', 'hide_thumbs_over' => 'off', 'thumbs_over_hidden' => '0', 'thumbnails_inner_outer' => 'inner', 'thumbnails_align_hor' => 'center', 'thumbnails_align_vert' => 'bottom', 'thumbnails_offset_hor' => '0', 'thumbnails_offset_vert' => '20', 'enable_tabs' => 'off', 'tabs_padding' => '5', 'span_tabs_wrapper' => 'off', 'tabs_wrapper_color' => 'transparent', 'tabs_wrapper_opacity' => '5', 'tabs_style' => '', 'tabs_amount' => '5', 'tabs_space' => '5', 'tabs_direction' => 'horizontal', 'tabs_width' => '100', 'tabs_height' => '50', 'tabs_width_min' => '100', 'tabs_always_on' => 'false', 'hide_tabs' => '200', 'hide_tabs_mobile' => '1200', 'hide_tabs_on_mobile' => 'off', 'tabs_under_hidden' => '0', 'hide_tabs_over' => 'off', 'tabs_over_hidden' => '0', 'tabs_inner_outer' => 'inner', 'tabs_align_hor' => 'center', 'tabs_align_vert' => 'bottom', 'tabs_offset_hor' => '0', 'tabs_offset_vert' => '20', 'touchenabled' => 'on', 'drag_block_vertical' => 'off', 'swipe_velocity' => '75', 'swipe_min_touches' => '50', 'swipe_direction' => 'horizontal', 'keyboard_navigation' => 'off', 'keyboard_direction' => 'horizontal', 'mousescroll_navigation' => 'off', 'carousel_infinity' => 'off', 'carousel_space' => '0', 'carousel_borderr' => '0', 'carousel_borderr_unit' => 'px', 'carousel_padding_top' => '0', 'carousel_padding_bottom' => '0', 'carousel_maxitems' => '3', 'carousel_stretch' => 'off', 'carousel_fadeout' => 'on', 'carousel_varyfade' => 'off', 'carousel_rotation' => 'off', 'carousel_varyrotate' => 'off', 'carousel_maxrotation' => '0', 'carousel_scale' => 'off', 'carousel_varyscale' => 'off', 'carousel_scaledown' => '50', 'carousel_hposition' => 'center', 'carousel_vposition' => 'center', 'use_parallax' => 'on', 'disable_parallax_mobile' => 'off', 'parallax_type' => 'mouse', 'parallax_origo' => 'slidercenter', 'parallax_speed' => '2000', 'parallax_level_1' => '2', 'parallax_level_2' => '3', 'parallax_level_3' => '4', 'parallax_level_4' => '5', 'parallax_level_5' => '6', 'parallax_level_6' => '7', 'parallax_level_7' => '12', 'parallax_level_8' => '16', 'parallax_level_9' => '10', 'parallax_level_10' => '50', 'lazy_load_type' => 'smart', 'seo_optimization' => 'none', 'simplify_ie8_ios4' => 'off', 'show_alternative_type' => 'off', 'show_alternate_image' => '', 'jquery_noconflict' => 'off', 'js_to_body' => 'false', 'output_type' => 'none', 'jquery_debugmode' => 'off', 'slider_type' => 'fullscreen', 'width' => '1240', 'width_notebook' => '1024', 'width_tablet' => '778', 'width_mobile' => '480', 'height' => '600', 'height_notebook' => '600', 'height_tablet' => '500', 'height_mobile' => '400', 'enable_custom_size_notebook' => 'on', 'enable_custom_size_tablet' => 'on', 'enable_custom_size_iphone' => 'on', 'main_overflow_hidden' => 'off', 'auto_height' => 'off', 'min_height' => '', 'custom_javascript' => '', 'custom_css' => '', ), ); $presets[] = array ( 'settings' => array ('class' => '', 'image' => RS_PLUGIN_URL.'admin/assets/images/sliderpresets/thumb_auto1.png', 'name' => 'Thumbs-Bottom-Auto', 'preset' => 'standardpreset' ), 'values' => array ( 'next_slide_on_window_focus' => 'off', 'delay' => '9000', 'start_js_after_delay' => '0', 'image_source_type' => 'full', 0 => 'revapi39.bind(\\"revolution.slide.layeraction\\",function (e) { //data.eventtype - Layer Action (enterstage, enteredstage, leavestage,leftstage) //data.layertype - Layer Type (image,video,html) //data.layersettings - Default Settings for Layer //data.layer - Layer as jQuery Object });', 'start_with_slide' => '1', 'stop_on_hover' => 'off', 'stop_slider' => 'on', 'stop_after_loops' => '0', 'stop_at_slide' => '1', 'shuffle' => 'off', 'viewport_start' => 'wait', 'viewport_area' => '80', 'enable_progressbar' => 'off', 'background_dotted_overlay' => 'none', 'background_color' => 'transparent', 'padding' => '0', 'show_background_image' => 'off', 'background_image' => '', 'bg_fit' => 'cover', 'bg_repeat' => 'no-repeat', 'bg_position' => 'center center', 'position' => 'center', 'use_spinner' => '-1', 'spinner_color' => '#FFFFFF', 'enable_arrows' => 'on', 'navigation_arrow_style' => 'navbar', 'arrows_always_on' => 'false', 'hide_arrows' => '200', 'hide_arrows_mobile' => '1200', 'hide_arrows_on_mobile' => 'on', 'arrows_under_hidden' => '600', 'hide_arrows_over' => 'off', 'arrows_over_hidden' => '0', 'leftarrow_align_hor' => 'left', 'leftarrow_align_vert' => 'center', 'leftarrow_offset_hor' => '30', 'leftarrow_offset_vert' => '0', 'rightarrow_align_hor' => 'right', 'rightarrow_align_vert' => 'center', 'rightarrow_offset_hor' => '30', 'rightarrow_offset_vert' => '0', 'enable_bullets' => 'off', 'navigation_bullets_style' => 'round-old', 'bullets_space' => '5', 'bullets_direction' => 'horizontal', 'bullets_always_on' => 'true', 'hide_bullets' => '200', 'hide_bullets_mobile' => '1200', 'hide_bullets_on_mobile' => 'on', 'bullets_under_hidden' => '600', 'hide_bullets_over' => 'off', 'bullets_over_hidden' => '0', 'bullets_align_hor' => 'center', 'bullets_align_vert' => 'bottom', 'bullets_offset_hor' => '0', 'bullets_offset_vert' => '30', 'enable_thumbnails' => 'on', 'thumbnails_padding' => '5', 'span_thumbnails_wrapper' => 'off', 'thumbnails_wrapper_color' => 'transparent', 'thumbnails_wrapper_opacity' => '100', 'thumbnails_style' => 'navbar', 'thumb_amount' => '5', 'thumbnails_space' => '5', 'thumbnail_direction' => 'horizontal', 'thumb_width' => '50', 'thumb_height' => '50', 'thumb_width_min' => '50', 'thumbs_always_on' => 'false', 'hide_thumbs' => '200', 'hide_thumbs_mobile' => '1200', 'hide_thumbs_on_mobile' => 'off', 'thumbs_under_hidden' => '0', 'hide_thumbs_over' => 'off', 'thumbs_over_hidden' => '0', 'thumbnails_inner_outer' => 'inner', 'thumbnails_align_hor' => 'center', 'thumbnails_align_vert' => 'bottom', 'thumbnails_offset_hor' => '0', 'thumbnails_offset_vert' => '20', 'enable_tabs' => 'off', 'tabs_padding' => '5', 'span_tabs_wrapper' => 'off', 'tabs_wrapper_color' => 'transparent', 'tabs_wrapper_opacity' => '5', 'tabs_style' => '', 'tabs_amount' => '5', 'tabs_space' => '5', 'tabs_direction' => 'horizontal', 'tabs_width' => '100', 'tabs_height' => '50', 'tabs_width_min' => '100', 'tabs_always_on' => 'false', 'hide_tabs' => '200', 'hide_tabs_mobile' => '1200', 'hide_tabs_on_mobile' => 'off', 'tabs_under_hidden' => '0', 'hide_tabs_over' => 'off', 'tabs_over_hidden' => '0', 'tabs_inner_outer' => 'inner', 'tabs_align_hor' => 'center', 'tabs_align_vert' => 'bottom', 'tabs_offset_hor' => '0', 'tabs_offset_vert' => '20', 'touchenabled' => 'on', 'drag_block_vertical' => 'off', 'swipe_velocity' => '75', 'swipe_min_touches' => '50', 'swipe_direction' => 'horizontal', 'keyboard_navigation' => 'off', 'keyboard_direction' => 'horizontal', 'mousescroll_navigation' => 'off', 'carousel_infinity' => 'off', 'carousel_space' => '0', 'carousel_borderr' => '0', 'carousel_borderr_unit' => 'px', 'carousel_padding_top' => '0', 'carousel_padding_bottom' => '0', 'carousel_maxitems' => '3', 'carousel_stretch' => 'off', 'carousel_fadeout' => 'on', 'carousel_varyfade' => 'off', 'carousel_rotation' => 'off', 'carousel_varyrotate' => 'off', 'carousel_maxrotation' => '0', 'carousel_scale' => 'off', 'carousel_varyscale' => 'off', 'carousel_scaledown' => '50', 'carousel_hposition' => 'center', 'carousel_vposition' => 'center', 'use_parallax' => 'on', 'disable_parallax_mobile' => 'off', 'parallax_type' => 'mouse', 'parallax_origo' => 'slidercenter', 'parallax_speed' => '2000', 'parallax_level_1' => '2', 'parallax_level_2' => '3', 'parallax_level_3' => '4', 'parallax_level_4' => '5', 'parallax_level_5' => '6', 'parallax_level_6' => '7', 'parallax_level_7' => '12', 'parallax_level_8' => '16', 'parallax_level_9' => '10', 'parallax_level_10' => '50', 'lazy_load_type' => 'smart', 'seo_optimization' => 'none', 'simplify_ie8_ios4' => 'off', 'show_alternative_type' => 'off', 'show_alternate_image' => '', 'jquery_noconflict' => 'off', 'js_to_body' => 'false', 'output_type' => 'none', 'jquery_debugmode' => 'off', 'slider_type' => 'auto', 'width' => '1240', 'width_notebook' => '1024', 'width_tablet' => '778', 'width_mobile' => '480', 'height' => '600', 'height_notebook' => '600', 'height_tablet' => '500', 'height_mobile' => '400', 'enable_custom_size_notebook' => 'on', 'enable_custom_size_tablet' => 'on', 'enable_custom_size_iphone' => 'on', 'main_overflow_hidden' => 'off', 'auto_height' => 'off', 'min_height' => '', 'custom_javascript' => '', 'custom_css' => '', ), ); $presets[] = array ( 'settings' => array ('class' => '', 'image' => RS_PLUGIN_URL.'admin/assets/images/sliderpresets/thumbs_left_auto.png', 'name' => 'Thumbs-Left-Auto', 'preset' => 'standardpreset' ), 'values' => array ( 'next_slide_on_window_focus' => 'off', 'delay' => '9000', 'start_js_after_delay' => '0', 'image_source_type' => 'full', 0 => 'revapi39.bind(\\"revolution.slide.layeraction\\",function (e) { //data.eventtype - Layer Action (enterstage, enteredstage, leavestage,leftstage) //data.layertype - Layer Type (image,video,html) //data.layersettings - Default Settings for Layer //data.layer - Layer as jQuery Object });', 'start_with_slide' => '1', 'stop_on_hover' => 'off', 'stop_slider' => 'on', 'stop_after_loops' => '0', 'stop_at_slide' => '1', 'shuffle' => 'off', 'viewport_start' => 'wait', 'viewport_area' => '80', 'enable_progressbar' => 'off', 'background_dotted_overlay' => 'none', 'background_color' => 'transparent', 'padding' => '0', 'show_background_image' => 'off', 'background_image' => '', 'bg_fit' => 'cover', 'bg_repeat' => 'no-repeat', 'bg_position' => 'center center', 'position' => 'center', 'use_spinner' => '-1', 'spinner_color' => '#FFFFFF', 'enable_arrows' => 'on', 'navigation_arrow_style' => 'navbar', 'arrows_always_on' => 'false', 'hide_arrows' => '200', 'hide_arrows_mobile' => '1200', 'hide_arrows_on_mobile' => 'off', 'arrows_under_hidden' => '600', 'hide_arrows_over' => 'off', 'arrows_over_hidden' => '0', 'leftarrow_align_hor' => 'right', 'leftarrow_align_vert' => 'bottom', 'leftarrow_offset_hor' => '40', 'leftarrow_offset_vert' => '0', 'rightarrow_align_hor' => 'right', 'rightarrow_align_vert' => 'bottom', 'rightarrow_offset_hor' => '0', 'rightarrow_offset_vert' => '0', 'enable_bullets' => 'off', 'navigation_bullets_style' => 'round-old', 'bullets_space' => '5', 'bullets_direction' => 'horizontal', 'bullets_always_on' => 'true', 'hide_bullets' => '200', 'hide_bullets_mobile' => '1200', 'hide_bullets_on_mobile' => 'on', 'bullets_under_hidden' => '600', 'hide_bullets_over' => 'off', 'bullets_over_hidden' => '0', 'bullets_align_hor' => 'center', 'bullets_align_vert' => 'bottom', 'bullets_offset_hor' => '0', 'bullets_offset_vert' => '30', 'enable_thumbnails' => 'on', 'thumbnails_padding' => '5', 'span_thumbnails_wrapper' => 'off', 'thumbnails_wrapper_color' => 'transparent', 'thumbnails_wrapper_opacity' => '100', 'thumbnails_style' => 'navbar', 'thumb_amount' => '5', 'thumbnails_space' => '5', 'thumbnail_direction' => 'vertical', 'thumb_width' => '50', 'thumb_height' => '50', 'thumb_width_min' => '50', 'thumbs_always_on' => 'false', 'hide_thumbs' => '200', 'hide_thumbs_mobile' => '1200', 'hide_thumbs_on_mobile' => 'on', 'thumbs_under_hidden' => '778', 'hide_thumbs_over' => 'off', 'thumbs_over_hidden' => '0', 'thumbnails_inner_outer' => 'inner', 'thumbnails_align_hor' => 'left', 'thumbnails_align_vert' => 'center', 'thumbnails_offset_hor' => '20', 'thumbnails_offset_vert' => '0', 'enable_tabs' => 'off', 'tabs_padding' => '5', 'span_tabs_wrapper' => 'off', 'tabs_wrapper_color' => 'transparent', 'tabs_wrapper_opacity' => '5', 'tabs_style' => '', 'tabs_amount' => '5', 'tabs_space' => '5', 'tabs_direction' => 'horizontal', 'tabs_width' => '100', 'tabs_height' => '50', 'tabs_width_min' => '100', 'tabs_always_on' => 'false', 'hide_tabs' => '200', 'hide_tabs_mobile' => '1200', 'hide_tabs_on_mobile' => 'off', 'tabs_under_hidden' => '0', 'hide_tabs_over' => 'off', 'tabs_over_hidden' => '0', 'tabs_inner_outer' => 'inner', 'tabs_align_hor' => 'center', 'tabs_align_vert' => 'bottom', 'tabs_offset_hor' => '0', 'tabs_offset_vert' => '20', 'touchenabled' => 'on', 'drag_block_vertical' => 'off', 'swipe_velocity' => '75', 'swipe_min_touches' => '50', 'swipe_direction' => 'horizontal', 'keyboard_navigation' => 'off', 'keyboard_direction' => 'horizontal', 'mousescroll_navigation' => 'off', 'carousel_infinity' => 'off', 'carousel_space' => '0', 'carousel_borderr' => '0', 'carousel_borderr_unit' => 'px', 'carousel_padding_top' => '0', 'carousel_padding_bottom' => '0', 'carousel_maxitems' => '3', 'carousel_stretch' => 'off', 'carousel_fadeout' => 'on', 'carousel_varyfade' => 'off', 'carousel_rotation' => 'off', 'carousel_varyrotate' => 'off', 'carousel_maxrotation' => '0', 'carousel_scale' => 'off', 'carousel_varyscale' => 'off', 'carousel_scaledown' => '50', 'carousel_hposition' => 'center', 'carousel_vposition' => 'center', 'use_parallax' => 'on', 'disable_parallax_mobile' => 'off', 'parallax_type' => 'mouse', 'parallax_origo' => 'slidercenter', 'parallax_speed' => '2000', 'parallax_level_1' => '2', 'parallax_level_2' => '3', 'parallax_level_3' => '4', 'parallax_level_4' => '5', 'parallax_level_5' => '6', 'parallax_level_6' => '7', 'parallax_level_7' => '12', 'parallax_level_8' => '16', 'parallax_level_9' => '10', 'parallax_level_10' => '50', 'lazy_load_type' => 'smart', 'seo_optimization' => 'none', 'simplify_ie8_ios4' => 'off', 'show_alternative_type' => 'off', 'show_alternate_image' => '', 'jquery_noconflict' => 'off', 'js_to_body' => 'false', 'output_type' => 'none', 'jquery_debugmode' => 'off', 'slider_type' => 'auto', 'width' => '1240', 'width_notebook' => '1024', 'width_tablet' => '778', 'width_mobile' => '480', 'height' => '600', 'height_notebook' => '600', 'height_tablet' => '500', 'height_mobile' => '400', 'enable_custom_size_notebook' => 'on', 'enable_custom_size_tablet' => 'on', 'enable_custom_size_iphone' => 'on', 'main_overflow_hidden' => 'off', 'auto_height' => 'off', 'min_height' => '', 'custom_javascript' => '', 'custom_css' => '', ), ); $presets[] = array ( 'settings' => array ('class' => '', 'image' => RS_PLUGIN_URL.'admin/assets/images/sliderpresets/thumbs_right_auto.png', 'name' => 'Thumbs-Right-Auto', 'preset' => 'standardpreset' ), 'values' => array ( 'next_slide_on_window_focus' => 'off', 'delay' => '9000', 'start_js_after_delay' => '0', 'image_source_type' => 'full', 0 => 'revapi39.bind(\\"revolution.slide.layeraction\\",function (e) { //data.eventtype - Layer Action (enterstage, enteredstage, leavestage,leftstage) //data.layertype - Layer Type (image,video,html) //data.layersettings - Default Settings for Layer //data.layer - Layer as jQuery Object });', 'start_with_slide' => '1', 'stop_on_hover' => 'off', 'stop_slider' => 'on', 'stop_after_loops' => '0', 'stop_at_slide' => '1', 'shuffle' => 'off', 'viewport_start' => 'wait', 'viewport_area' => '80', 'enable_progressbar' => 'off', 'background_dotted_overlay' => 'none', 'background_color' => 'transparent', 'padding' => '0', 'show_background_image' => 'off', 'background_image' => '', 'bg_fit' => 'cover', 'bg_repeat' => 'no-repeat', 'bg_position' => 'center center', 'position' => 'center', 'use_spinner' => '-1', 'spinner_color' => '#FFFFFF', 'enable_arrows' => 'on', 'navigation_arrow_style' => 'navbar', 'arrows_always_on' => 'false', 'hide_arrows' => '200', 'hide_arrows_mobile' => '1200', 'hide_arrows_on_mobile' => 'off', 'arrows_under_hidden' => '600', 'hide_arrows_over' => 'off', 'arrows_over_hidden' => '0', 'leftarrow_align_hor' => 'left', 'leftarrow_align_vert' => 'bottom', 'leftarrow_offset_hor' => '0', 'leftarrow_offset_vert' => '0', 'rightarrow_align_hor' => 'left', 'rightarrow_align_vert' => 'bottom', 'rightarrow_offset_hor' => '40', 'rightarrow_offset_vert' => '0', 'enable_bullets' => 'off', 'navigation_bullets_style' => 'round-old', 'bullets_space' => '5', 'bullets_direction' => 'horizontal', 'bullets_always_on' => 'true', 'hide_bullets' => '200', 'hide_bullets_mobile' => '1200', 'hide_bullets_on_mobile' => 'on', 'bullets_under_hidden' => '600', 'hide_bullets_over' => 'off', 'bullets_over_hidden' => '0', 'bullets_align_hor' => 'center', 'bullets_align_vert' => 'bottom', 'bullets_offset_hor' => '0', 'bullets_offset_vert' => '30', 'enable_thumbnails' => 'on', 'thumbnails_padding' => '5', 'span_thumbnails_wrapper' => 'off', 'thumbnails_wrapper_color' => 'transparent', 'thumbnails_wrapper_opacity' => '100', 'thumbnails_style' => 'navbar', 'thumb_amount' => '5', 'thumbnails_space' => '5', 'thumbnail_direction' => 'vertical', 'thumb_width' => '50', 'thumb_height' => '50', 'thumb_width_min' => '50', 'thumbs_always_on' => 'false', 'hide_thumbs' => '200', 'hide_thumbs_mobile' => '1200', 'hide_thumbs_on_mobile' => 'on', 'thumbs_under_hidden' => '778', 'hide_thumbs_over' => 'off', 'thumbs_over_hidden' => '0', 'thumbnails_inner_outer' => 'inner', 'thumbnails_align_hor' => 'right', 'thumbnails_align_vert' => 'center', 'thumbnails_offset_hor' => '20', 'thumbnails_offset_vert' => '0', 'enable_tabs' => 'off', 'tabs_padding' => '5', 'span_tabs_wrapper' => 'off', 'tabs_wrapper_color' => 'transparent', 'tabs_wrapper_opacity' => '5', 'tabs_style' => '', 'tabs_amount' => '5', 'tabs_space' => '5', 'tabs_direction' => 'horizontal', 'tabs_width' => '100', 'tabs_height' => '50', 'tabs_width_min' => '100', 'tabs_always_on' => 'false', 'hide_tabs' => '200', 'hide_tabs_mobile' => '1200', 'hide_tabs_on_mobile' => 'off', 'tabs_under_hidden' => '0', 'hide_tabs_over' => 'off', 'tabs_over_hidden' => '0', 'tabs_inner_outer' => 'inner', 'tabs_align_hor' => 'center', 'tabs_align_vert' => 'bottom', 'tabs_offset_hor' => '0', 'tabs_offset_vert' => '20', 'touchenabled' => 'on', 'drag_block_vertical' => 'off', 'swipe_velocity' => '75', 'swipe_min_touches' => '50', 'swipe_direction' => 'horizontal', 'keyboard_navigation' => 'off', 'keyboard_direction' => 'horizontal', 'mousescroll_navigation' => 'off', 'carousel_infinity' => 'off', 'carousel_space' => '0', 'carousel_borderr' => '0', 'carousel_borderr_unit' => 'px', 'carousel_padding_top' => '0', 'carousel_padding_bottom' => '0', 'carousel_maxitems' => '3', 'carousel_stretch' => 'off', 'carousel_fadeout' => 'on', 'carousel_varyfade' => 'off', 'carousel_rotation' => 'off', 'carousel_varyrotate' => 'off', 'carousel_maxrotation' => '0', 'carousel_scale' => 'off', 'carousel_varyscale' => 'off', 'carousel_scaledown' => '50', 'carousel_hposition' => 'center', 'carousel_vposition' => 'center', 'use_parallax' => 'on', 'disable_parallax_mobile' => 'off', 'parallax_type' => 'mouse', 'parallax_origo' => 'slidercenter', 'parallax_speed' => '2000', 'parallax_level_1' => '2', 'parallax_level_2' => '3', 'parallax_level_3' => '4', 'parallax_level_4' => '5', 'parallax_level_5' => '6', 'parallax_level_6' => '7', 'parallax_level_7' => '12', 'parallax_level_8' => '16', 'parallax_level_9' => '10', 'parallax_level_10' => '50', 'lazy_load_type' => 'smart', 'seo_optimization' => 'none', 'simplify_ie8_ios4' => 'off', 'show_alternative_type' => 'off', 'show_alternate_image' => '', 'jquery_noconflict' => 'off', 'js_to_body' => 'false', 'output_type' => 'none', 'jquery_debugmode' => 'off', 'slider_type' => 'auto', 'width' => '1240', 'width_notebook' => '1024', 'width_tablet' => '778', 'width_mobile' => '480', 'height' => '600', 'height_notebook' => '600', 'height_tablet' => '500', 'height_mobile' => '400', 'enable_custom_size_notebook' => 'on', 'enable_custom_size_tablet' => 'on', 'enable_custom_size_iphone' => 'on', 'main_overflow_hidden' => 'off', 'auto_height' => 'off', 'min_height' => '', 'custom_javascript' => '', 'custom_css' => '', ), ); $presets[] = array ( 'settings' => array ('class' => '', 'image' => RS_PLUGIN_URL.'admin/assets/images/sliderpresets/scroll_fullscreen.png', 'name' => 'Vertical-Bullet-Full-Screen', 'preset' => 'standardpreset' ), 'values' => array ( 'next_slide_on_window_focus' => 'off', 'delay' => '9000', 'start_js_after_delay' => '0', 'image_source_type' => 'full', 0 => 'revapi39.bind(\\"revolution.slide.layeraction\\",function (e) { //data.eventtype - Layer Action (enterstage, enteredstage, leavestage,leftstage) //data.layertype - Layer Type (image,video,html) //data.layersettings - Default Settings for Layer //data.layer - Layer as jQuery Object });', 'start_with_slide' => '1', 'stop_on_hover' => 'off', 'stop_slider' => 'on', 'stop_after_loops' => '0', 'stop_at_slide' => '1', 'shuffle' => 'off', 'viewport_start' => 'wait', 'viewport_area' => '80', 'enable_progressbar' => 'off', 'background_dotted_overlay' => 'none', 'background_color' => 'transparent', 'padding' => '0', 'show_background_image' => 'off', 'background_image' => '', 'bg_fit' => 'cover', 'bg_repeat' => 'no-repeat', 'bg_position' => 'center center', 'position' => 'center', 'use_spinner' => '-1', 'spinner_color' => '#FFFFFF', 'enable_arrows' => 'off', 'navigation_arrow_style' => 'navbar', 'arrows_always_on' => 'false', 'hide_arrows' => '200', 'hide_arrows_mobile' => '1200', 'hide_arrows_on_mobile' => 'off', 'arrows_under_hidden' => '600', 'hide_arrows_over' => 'off', 'arrows_over_hidden' => '0', 'leftarrow_align_hor' => 'left', 'leftarrow_align_vert' => 'bottom', 'leftarrow_offset_hor' => '0', 'leftarrow_offset_vert' => '0', 'rightarrow_align_hor' => 'left', 'rightarrow_align_vert' => 'bottom', 'rightarrow_offset_hor' => '40', 'rightarrow_offset_vert' => '0', 'enable_bullets' => 'on', 'navigation_bullets_style' => 'round-old', 'bullets_space' => '5', 'bullets_direction' => 'vertical', 'bullets_always_on' => 'false', 'hide_bullets' => '200', 'hide_bullets_mobile' => '1200', 'hide_bullets_on_mobile' => 'on', 'bullets_under_hidden' => '600', 'hide_bullets_over' => 'off', 'bullets_over_hidden' => '0', 'bullets_align_hor' => 'right', 'bullets_align_vert' => 'center', 'bullets_offset_hor' => '30', 'bullets_offset_vert' => '0', 'enable_thumbnails' => 'off', 'thumbnails_padding' => '5', 'span_thumbnails_wrapper' => 'off', 'thumbnails_wrapper_color' => 'transparent', 'thumbnails_wrapper_opacity' => '100', 'thumbnails_style' => 'navbar', 'thumb_amount' => '5', 'thumbnails_space' => '5', 'thumbnail_direction' => 'vertical', 'thumb_width' => '50', 'thumb_height' => '50', 'thumb_width_min' => '50', 'thumbs_always_on' => 'false', 'hide_thumbs' => '200', 'hide_thumbs_mobile' => '1200', 'hide_thumbs_on_mobile' => 'on', 'thumbs_under_hidden' => '778', 'hide_thumbs_over' => 'off', 'thumbs_over_hidden' => '0', 'thumbnails_inner_outer' => 'inner', 'thumbnails_align_hor' => 'right', 'thumbnails_align_vert' => 'center', 'thumbnails_offset_hor' => '20', 'thumbnails_offset_vert' => '0', 'enable_tabs' => 'off', 'tabs_padding' => '5', 'span_tabs_wrapper' => 'off', 'tabs_wrapper_color' => 'transparent', 'tabs_wrapper_opacity' => '5', 'tabs_style' => '', 'tabs_amount' => '5', 'tabs_space' => '5', 'tabs_direction' => 'horizontal', 'tabs_width' => '100', 'tabs_height' => '50', 'tabs_width_min' => '100', 'tabs_always_on' => 'false', 'hide_tabs' => '200', 'hide_tabs_mobile' => '1200', 'hide_tabs_on_mobile' => 'off', 'tabs_under_hidden' => '0', 'hide_tabs_over' => 'off', 'tabs_over_hidden' => '0', 'tabs_inner_outer' => 'inner', 'tabs_align_hor' => 'center', 'tabs_align_vert' => 'bottom', 'tabs_offset_hor' => '0', 'tabs_offset_vert' => '20', 'touchenabled' => 'on', 'drag_block_vertical' => 'off', 'swipe_velocity' => '75', 'swipe_min_touches' => '50', 'swipe_direction' => 'horizontal', 'keyboard_navigation' => 'off', 'keyboard_direction' => 'horizontal', 'mousescroll_navigation' => 'off', 'carousel_infinity' => 'off', 'carousel_space' => '0', 'carousel_borderr' => '0', 'carousel_borderr_unit' => 'px', 'carousel_padding_top' => '0', 'carousel_padding_bottom' => '0', 'carousel_maxitems' => '3', 'carousel_stretch' => 'off', 'carousel_fadeout' => 'on', 'carousel_varyfade' => 'off', 'carousel_rotation' => 'off', 'carousel_varyrotate' => 'off', 'carousel_maxrotation' => '0', 'carousel_scale' => 'off', 'carousel_varyscale' => 'off', 'carousel_scaledown' => '50', 'carousel_hposition' => 'center', 'carousel_vposition' => 'center', 'use_parallax' => 'on', 'disable_parallax_mobile' => 'off', 'parallax_type' => 'mouse', 'parallax_origo' => 'slidercenter', 'parallax_speed' => '2000', 'parallax_level_1' => '2', 'parallax_level_2' => '3', 'parallax_level_3' => '4', 'parallax_level_4' => '5', 'parallax_level_5' => '6', 'parallax_level_6' => '7', 'parallax_level_7' => '12', 'parallax_level_8' => '16', 'parallax_level_9' => '10', 'parallax_level_10' => '50', 'lazy_load_type' => 'smart', 'seo_optimization' => 'none', 'simplify_ie8_ios4' => 'off', 'show_alternative_type' => 'off', 'show_alternate_image' => '', 'jquery_noconflict' => 'off', 'js_to_body' => 'false', 'output_type' => 'none', 'jquery_debugmode' => 'off', 'slider_type' => 'fullscreen', 'width' => '1240', 'width_notebook' => '1024', 'width_tablet' => '778', 'width_mobile' => '480', 'height' => '600', 'height_notebook' => '600', 'height_tablet' => '500', 'height_mobile' => '400', 'enable_custom_size_notebook' => 'on', 'enable_custom_size_tablet' => 'on', 'enable_custom_size_iphone' => 'on', 'main_overflow_hidden' => 'off', 'auto_height' => 'off', 'min_height' => '', 'custom_javascript' => '', 'custom_css' => '', ), ); $presets[] = array ( 'settings' => array ('class' => '', 'image' => RS_PLUGIN_URL.'admin/assets/images/sliderpresets/wide_fullscreen.png', 'name' => 'Wide-Full-Screen', 'preset' => 'heropreset' ), 'values' => array ( 'next_slide_on_window_focus' => 'off', 'delay' => '9000', 'start_js_after_delay' => '0', 'image_source_type' => 'full', 0 => 'revapi39.bind(\\"revolution.slide.layeraction\\",function (e) { //data.eventtype - Layer Action (enterstage, enteredstage, leavestage,leftstage) //data.layertype - Layer Type (image,video,html) //data.layersettings - Default Settings for Layer //data.layer - Layer as jQuery Object });', 'start_with_slide' => '1', 'stop_on_hover' => 'off', 'stop_slider' => 'on', 'stop_after_loops' => '0', 'stop_at_slide' => '1', 'shuffle' => 'off', 'viewport_start' => 'wait', 'viewport_area' => '80', 'enable_progressbar' => 'off', 'background_dotted_overlay' => 'none', 'background_color' => 'transparent', 'padding' => '0', 'show_background_image' => 'off', 'background_image' => '', 'bg_fit' => 'cover', 'bg_repeat' => 'no-repeat', 'bg_position' => 'center center', 'position' => 'center', 'use_spinner' => '-1', 'spinner_color' => '#FFFFFF', 'enable_arrows' => 'off', 'navigation_arrow_style' => 'navbar', 'arrows_always_on' => 'false', 'hide_arrows' => '200', 'hide_arrows_mobile' => '1200', 'hide_arrows_on_mobile' => 'off', 'arrows_under_hidden' => '600', 'hide_arrows_over' => 'off', 'arrows_over_hidden' => '0', 'leftarrow_align_hor' => 'left', 'leftarrow_align_vert' => 'bottom', 'leftarrow_offset_hor' => '0', 'leftarrow_offset_vert' => '0', 'rightarrow_align_hor' => 'left', 'rightarrow_align_vert' => 'bottom', 'rightarrow_offset_hor' => '40', 'rightarrow_offset_vert' => '0', 'enable_bullets' => 'on', 'navigation_bullets_style' => 'round-old', 'bullets_space' => '5', 'bullets_direction' => 'vertical', 'bullets_always_on' => 'true', 'hide_bullets' => '200', 'hide_bullets_mobile' => '1200', 'hide_bullets_on_mobile' => 'on', 'bullets_under_hidden' => '600', 'hide_bullets_over' => 'off', 'bullets_over_hidden' => '0', 'bullets_align_hor' => 'right', 'bullets_align_vert' => 'center', 'bullets_offset_hor' => '30', 'bullets_offset_vert' => '0', 'enable_thumbnails' => 'off', 'thumbnails_padding' => '5', 'span_thumbnails_wrapper' => 'off', 'thumbnails_wrapper_color' => 'transparent', 'thumbnails_wrapper_opacity' => '100', 'thumbnails_style' => 'navbar', 'thumb_amount' => '5', 'thumbnails_space' => '5', 'thumbnail_direction' => 'vertical', 'thumb_width' => '50', 'thumb_height' => '50', 'thumb_width_min' => '50', 'thumbs_always_on' => 'false', 'hide_thumbs' => '200', 'hide_thumbs_mobile' => '1200', 'hide_thumbs_on_mobile' => 'on', 'thumbs_under_hidden' => '778', 'hide_thumbs_over' => 'off', 'thumbs_over_hidden' => '0', 'thumbnails_inner_outer' => 'inner', 'thumbnails_align_hor' => 'right', 'thumbnails_align_vert' => 'center', 'thumbnails_offset_hor' => '20', 'thumbnails_offset_vert' => '0', 'enable_tabs' => 'off', 'tabs_padding' => '5', 'span_tabs_wrapper' => 'off', 'tabs_wrapper_color' => 'transparent', 'tabs_wrapper_opacity' => '5', 'tabs_style' => '', 'tabs_amount' => '5', 'tabs_space' => '5', 'tabs_direction' => 'horizontal', 'tabs_width' => '100', 'tabs_height' => '50', 'tabs_width_min' => '100', 'tabs_always_on' => 'false', 'hide_tabs' => '200', 'hide_tabs_mobile' => '1200', 'hide_tabs_on_mobile' => 'off', 'tabs_under_hidden' => '0', 'hide_tabs_over' => 'off', 'tabs_over_hidden' => '0', 'tabs_inner_outer' => 'inner', 'tabs_align_hor' => 'center', 'tabs_align_vert' => 'bottom', 'tabs_offset_hor' => '0', 'tabs_offset_vert' => '20', 'touchenabled' => 'on', 'drag_block_vertical' => 'off', 'swipe_velocity' => '75', 'swipe_min_touches' => '50', 'swipe_direction' => 'horizontal', 'keyboard_navigation' => 'off', 'keyboard_direction' => 'horizontal', 'mousescroll_navigation' => 'off', 'carousel_infinity' => 'off', 'carousel_space' => '0', 'carousel_borderr' => '0', 'carousel_borderr_unit' => 'px', 'carousel_padding_top' => '0', 'carousel_padding_bottom' => '0', 'carousel_maxitems' => '3', 'carousel_stretch' => 'off', 'carousel_fadeout' => 'on', 'carousel_varyfade' => 'off', 'carousel_rotation' => 'off', 'carousel_varyrotate' => 'off', 'carousel_maxrotation' => '0', 'carousel_scale' => 'off', 'carousel_varyscale' => 'off', 'carousel_scaledown' => '50', 'carousel_hposition' => 'center', 'carousel_vposition' => 'center', 'use_parallax' => 'on', 'disable_parallax_mobile' => 'off', 'parallax_type' => 'mouse', 'parallax_origo' => 'slidercenter', 'parallax_speed' => '2000', 'parallax_level_1' => '2', 'parallax_level_2' => '3', 'parallax_level_3' => '4', 'parallax_level_4' => '5', 'parallax_level_5' => '6', 'parallax_level_6' => '7', 'parallax_level_7' => '12', 'parallax_level_8' => '16', 'parallax_level_9' => '10', 'parallax_level_10' => '50', 'lazy_load_type' => 'smart', 'seo_optimization' => 'none', 'simplify_ie8_ios4' => 'off', 'show_alternative_type' => 'off', 'show_alternate_image' => '', 'jquery_noconflict' => 'off', 'js_to_body' => 'false', 'output_type' => 'none', 'jquery_debugmode' => 'off', 'slider_type' => 'fullscreen', 'width' => '1400', 'width_notebook' => '1240', 'width_tablet' => '778', 'width_mobile' => '480', 'height' => '868', 'height_notebook' => '768', 'height_tablet' => '960', 'height_mobile' => '720', 'enable_custom_size_notebook' => 'on', 'enable_custom_size_tablet' => 'on', 'enable_custom_size_iphone' => 'on', 'main_overflow_hidden' => 'off', 'auto_height' => 'off', 'min_height' => '', 'custom_javascript' => '', 'custom_css' => '', ), ); $presets[] = array ( 'settings' => array ('class' => '', 'image' => RS_PLUGIN_URL.'admin/assets/images/sliderpresets/wide_fullscreen.png', 'name' => 'Wide-Full-Width', 'preset' => 'heropreset' ), 'values' => array ( 'next_slide_on_window_focus' => 'off', 'delay' => '9000', 'start_js_after_delay' => '0', 'image_source_type' => 'full', 0 => 'revapi39.bind(\\"revolution.slide.layeraction\\",function (e) { //data.eventtype - Layer Action (enterstage, enteredstage, leavestage,leftstage) //data.layertype - Layer Type (image,video,html) //data.layersettings - Default Settings for Layer //data.layer - Layer as jQuery Object });', 'start_with_slide' => '1', 'stop_on_hover' => 'off', 'stop_slider' => 'on', 'stop_after_loops' => '0', 'stop_at_slide' => '1', 'shuffle' => 'off', 'viewport_start' => 'wait', 'viewport_area' => '80', 'enable_progressbar' => 'off', 'background_dotted_overlay' => 'none', 'background_color' => 'transparent', 'padding' => '0', 'show_background_image' => 'off', 'background_image' => '', 'bg_fit' => 'cover', 'bg_repeat' => 'no-repeat', 'bg_position' => 'center center', 'position' => 'center', 'use_spinner' => '-1', 'spinner_color' => '#FFFFFF', 'enable_arrows' => 'off', 'navigation_arrow_style' => 'navbar', 'arrows_always_on' => 'false', 'hide_arrows' => '200', 'hide_arrows_mobile' => '1200', 'hide_arrows_on_mobile' => 'off', 'arrows_under_hidden' => '600', 'hide_arrows_over' => 'off', 'arrows_over_hidden' => '0', 'leftarrow_align_hor' => 'left', 'leftarrow_align_vert' => 'bottom', 'leftarrow_offset_hor' => '0', 'leftarrow_offset_vert' => '0', 'rightarrow_align_hor' => 'left', 'rightarrow_align_vert' => 'bottom', 'rightarrow_offset_hor' => '40', 'rightarrow_offset_vert' => '0', 'enable_bullets' => 'on', 'navigation_bullets_style' => 'round-old', 'bullets_space' => '5', 'bullets_direction' => 'vertical', 'bullets_always_on' => 'true', 'hide_bullets' => '200', 'hide_bullets_mobile' => '1200', 'hide_bullets_on_mobile' => 'on', 'bullets_under_hidden' => '600', 'hide_bullets_over' => 'off', 'bullets_over_hidden' => '0', 'bullets_align_hor' => 'right', 'bullets_align_vert' => 'center', 'bullets_offset_hor' => '30', 'bullets_offset_vert' => '0', 'enable_thumbnails' => 'off', 'thumbnails_padding' => '5', 'span_thumbnails_wrapper' => 'off', 'thumbnails_wrapper_color' => 'transparent', 'thumbnails_wrapper_opacity' => '100', 'thumbnails_style' => 'navbar', 'thumb_amount' => '5', 'thumbnails_space' => '5', 'thumbnail_direction' => 'vertical', 'thumb_width' => '50', 'thumb_height' => '50', 'thumb_width_min' => '50', 'thumbs_always_on' => 'false', 'hide_thumbs' => '200', 'hide_thumbs_mobile' => '1200', 'hide_thumbs_on_mobile' => 'on', 'thumbs_under_hidden' => '778', 'hide_thumbs_over' => 'off', 'thumbs_over_hidden' => '0', 'thumbnails_inner_outer' => 'inner', 'thumbnails_align_hor' => 'right', 'thumbnails_align_vert' => 'center', 'thumbnails_offset_hor' => '20', 'thumbnails_offset_vert' => '0', 'enable_tabs' => 'off', 'tabs_padding' => '5', 'span_tabs_wrapper' => 'off', 'tabs_wrapper_color' => 'transparent', 'tabs_wrapper_opacity' => '5', 'tabs_style' => '', 'tabs_amount' => '5', 'tabs_space' => '5', 'tabs_direction' => 'horizontal', 'tabs_width' => '100', 'tabs_height' => '50', 'tabs_width_min' => '100', 'tabs_always_on' => 'false', 'hide_tabs' => '200', 'hide_tabs_mobile' => '1200', 'hide_tabs_on_mobile' => 'off', 'tabs_under_hidden' => '0', 'hide_tabs_over' => 'off', 'tabs_over_hidden' => '0', 'tabs_inner_outer' => 'inner', 'tabs_align_hor' => 'center', 'tabs_align_vert' => 'bottom', 'tabs_offset_hor' => '0', 'tabs_offset_vert' => '20', 'touchenabled' => 'on', 'drag_block_vertical' => 'off', 'swipe_velocity' => '75', 'swipe_min_touches' => '50', 'swipe_direction' => 'horizontal', 'keyboard_navigation' => 'off', 'keyboard_direction' => 'horizontal', 'mousescroll_navigation' => 'off', 'carousel_infinity' => 'off', 'carousel_space' => '0', 'carousel_borderr' => '0', 'carousel_borderr_unit' => 'px', 'carousel_padding_top' => '0', 'carousel_padding_bottom' => '0', 'carousel_maxitems' => '3', 'carousel_stretch' => 'off', 'carousel_fadeout' => 'on', 'carousel_varyfade' => 'off', 'carousel_rotation' => 'off', 'carousel_varyrotate' => 'off', 'carousel_maxrotation' => '0', 'carousel_scale' => 'off', 'carousel_varyscale' => 'off', 'carousel_scaledown' => '50', 'carousel_hposition' => 'center', 'carousel_vposition' => 'center', 'use_parallax' => 'on', 'disable_parallax_mobile' => 'off', 'parallax_type' => 'mouse', 'parallax_origo' => 'slidercenter', 'parallax_speed' => '2000', 'parallax_level_1' => '2', 'parallax_level_2' => '3', 'parallax_level_3' => '4', 'parallax_level_4' => '5', 'parallax_level_5' => '6', 'parallax_level_6' => '7', 'parallax_level_7' => '12', 'parallax_level_8' => '16', 'parallax_level_9' => '10', 'parallax_level_10' => '50', 'lazy_load_type' => 'smart', 'seo_optimization' => 'none', 'simplify_ie8_ios4' => 'off', 'show_alternative_type' => 'off', 'show_alternate_image' => '', 'jquery_noconflict' => 'off', 'js_to_body' => 'false', 'output_type' => 'none', 'jquery_debugmode' => 'off', 'slider_type' => 'fullwidth', 'width' => '1400', 'width_notebook' => '1240', 'width_tablet' => '778', 'width_mobile' => '480', 'height' => '600', 'height_notebook' => '500', 'height_tablet' => '400', 'height_mobile' => '400', 'enable_custom_size_notebook' => 'on', 'enable_custom_size_tablet' => 'on', 'enable_custom_size_iphone' => 'on', 'main_overflow_hidden' => 'off', 'auto_height' => 'off', 'min_height' => '', 'custom_javascript' => '', 'custom_css' => '', ), ); $presets[] = array ( 'settings' => array ('class' => '', 'image' => RS_PLUGIN_URL.'admin/assets/images/sliderpresets/wide_fullscreen.png', 'name' => 'Regular-Full-Screen', 'preset' => 'heropreset' ), 'values' => array ( 'next_slide_on_window_focus' => 'off', 'delay' => '9000', 'start_js_after_delay' => '0', 'image_source_type' => 'full', 0 => 'revapi39.bind(\\"revolution.slide.layeraction\\",function (e) { //data.eventtype - Layer Action (enterstage, enteredstage, leavestage,leftstage) //data.layertype - Layer Type (image,video,html) //data.layersettings - Default Settings for Layer //data.layer - Layer as jQuery Object });', 'start_with_slide' => '1', 'stop_on_hover' => 'off', 'stop_slider' => 'on', 'stop_after_loops' => '0', 'stop_at_slide' => '1', 'shuffle' => 'off', 'viewport_start' => 'wait', 'viewport_area' => '80', 'enable_progressbar' => 'off', 'background_dotted_overlay' => 'none', 'background_color' => 'transparent', 'padding' => '0', 'show_background_image' => 'off', 'background_image' => '', 'bg_fit' => 'cover', 'bg_repeat' => 'no-repeat', 'bg_position' => 'center center', 'position' => 'center', 'use_spinner' => '-1', 'spinner_color' => '#FFFFFF', 'enable_arrows' => 'off', 'navigation_arrow_style' => 'navbar', 'arrows_always_on' => 'false', 'hide_arrows' => '200', 'hide_arrows_mobile' => '1200', 'hide_arrows_on_mobile' => 'off', 'arrows_under_hidden' => '600', 'hide_arrows_over' => 'off', 'arrows_over_hidden' => '0', 'leftarrow_align_hor' => 'left', 'leftarrow_align_vert' => 'bottom', 'leftarrow_offset_hor' => '0', 'leftarrow_offset_vert' => '0', 'rightarrow_align_hor' => 'left', 'rightarrow_align_vert' => 'bottom', 'rightarrow_offset_hor' => '40', 'rightarrow_offset_vert' => '0', 'enable_bullets' => 'on', 'navigation_bullets_style' => 'round-old', 'bullets_space' => '5', 'bullets_direction' => 'vertical', 'bullets_always_on' => 'true', 'hide_bullets' => '200', 'hide_bullets_mobile' => '1200', 'hide_bullets_on_mobile' => 'on', 'bullets_under_hidden' => '600', 'hide_bullets_over' => 'off', 'bullets_over_hidden' => '0', 'bullets_align_hor' => 'right', 'bullets_align_vert' => 'center', 'bullets_offset_hor' => '30', 'bullets_offset_vert' => '0', 'enable_thumbnails' => 'off', 'thumbnails_padding' => '5', 'span_thumbnails_wrapper' => 'off', 'thumbnails_wrapper_color' => 'transparent', 'thumbnails_wrapper_opacity' => '100', 'thumbnails_style' => 'navbar', 'thumb_amount' => '5', 'thumbnails_space' => '5', 'thumbnail_direction' => 'vertical', 'thumb_width' => '50', 'thumb_height' => '50', 'thumb_width_min' => '50', 'thumbs_always_on' => 'false', 'hide_thumbs' => '200', 'hide_thumbs_mobile' => '1200', 'hide_thumbs_on_mobile' => 'on', 'thumbs_under_hidden' => '778', 'hide_thumbs_over' => 'off', 'thumbs_over_hidden' => '0', 'thumbnails_inner_outer' => 'inner', 'thumbnails_align_hor' => 'right', 'thumbnails_align_vert' => 'center', 'thumbnails_offset_hor' => '20', 'thumbnails_offset_vert' => '0', 'enable_tabs' => 'off', 'tabs_padding' => '5', 'span_tabs_wrapper' => 'off', 'tabs_wrapper_color' => 'transparent', 'tabs_wrapper_opacity' => '5', 'tabs_style' => '', 'tabs_amount' => '5', 'tabs_space' => '5', 'tabs_direction' => 'horizontal', 'tabs_width' => '100', 'tabs_height' => '50', 'tabs_width_min' => '100', 'tabs_always_on' => 'false', 'hide_tabs' => '200', 'hide_tabs_mobile' => '1200', 'hide_tabs_on_mobile' => 'off', 'tabs_under_hidden' => '0', 'hide_tabs_over' => 'off', 'tabs_over_hidden' => '0', 'tabs_inner_outer' => 'inner', 'tabs_align_hor' => 'center', 'tabs_align_vert' => 'bottom', 'tabs_offset_hor' => '0', 'tabs_offset_vert' => '20', 'touchenabled' => 'on', 'drag_block_vertical' => 'off', 'swipe_velocity' => '75', 'swipe_min_touches' => '50', 'swipe_direction' => 'horizontal', 'keyboard_navigation' => 'off', 'keyboard_direction' => 'horizontal', 'mousescroll_navigation' => 'off', 'carousel_infinity' => 'off', 'carousel_space' => '0', 'carousel_borderr' => '0', 'carousel_borderr_unit' => 'px', 'carousel_padding_top' => '0', 'carousel_padding_bottom' => '0', 'carousel_maxitems' => '3', 'carousel_stretch' => 'off', 'carousel_fadeout' => 'on', 'carousel_varyfade' => 'off', 'carousel_rotation' => 'off', 'carousel_varyrotate' => 'off', 'carousel_maxrotation' => '0', 'carousel_scale' => 'off', 'carousel_varyscale' => 'off', 'carousel_scaledown' => '50', 'carousel_hposition' => 'center', 'carousel_vposition' => 'center', 'use_parallax' => 'on', 'disable_parallax_mobile' => 'off', 'parallax_type' => 'mouse', 'parallax_origo' => 'slidercenter', 'parallax_speed' => '2000', 'parallax_level_1' => '2', 'parallax_level_2' => '3', 'parallax_level_3' => '4', 'parallax_level_4' => '5', 'parallax_level_5' => '6', 'parallax_level_6' => '7', 'parallax_level_7' => '12', 'parallax_level_8' => '16', 'parallax_level_9' => '10', 'parallax_level_10' => '50', 'lazy_load_type' => 'smart', 'seo_optimization' => 'none', 'simplify_ie8_ios4' => 'off', 'show_alternative_type' => 'off', 'show_alternate_image' => '', 'jquery_noconflict' => 'off', 'js_to_body' => 'false', 'output_type' => 'none', 'jquery_debugmode' => 'off', 'slider_type' => 'fullscreen', 'width' => '1240', 'width_notebook' => '1024', 'width_tablet' => '778', 'width_mobile' => '480', 'height' => '868', 'height_notebook' => '768', 'height_tablet' => '960', 'height_mobile' => '720', 'enable_custom_size_notebook' => 'on', 'enable_custom_size_tablet' => 'on', 'enable_custom_size_iphone' => 'on', 'main_overflow_hidden' => 'off', 'auto_height' => 'off', 'min_height' => '', 'custom_javascript' => '', 'custom_css' => '', ), ); $presets[] = array ( 'settings' => array ('class' => '', 'image' => RS_PLUGIN_URL.'admin/assets/images/sliderpresets/wide_fullscreen.png', 'name' => 'Regular-Full-Width', 'preset' => 'heropreset' ), 'values' => array ( 'next_slide_on_window_focus' => 'off', 'delay' => '9000', 'start_js_after_delay' => '0', 'image_source_type' => 'full', 0 => 'revapi39.bind(\\"revolution.slide.layeraction\\",function (e) { //data.eventtype - Layer Action (enterstage, enteredstage, leavestage,leftstage) //data.layertype - Layer Type (image,video,html) //data.layersettings - Default Settings for Layer //data.layer - Layer as jQuery Object });', 'start_with_slide' => '1', 'stop_on_hover' => 'off', 'stop_slider' => 'on', 'stop_after_loops' => '0', 'stop_at_slide' => '1', 'shuffle' => 'off', 'viewport_start' => 'wait', 'viewport_area' => '80', 'enable_progressbar' => 'off', 'background_dotted_overlay' => 'none', 'background_color' => 'transparent', 'padding' => '0', 'show_background_image' => 'off', 'background_image' => '', 'bg_fit' => 'cover', 'bg_repeat' => 'no-repeat', 'bg_position' => 'center center', 'position' => 'center', 'use_spinner' => '-1', 'spinner_color' => '#FFFFFF', 'enable_arrows' => 'off', 'navigation_arrow_style' => 'navbar', 'arrows_always_on' => 'false', 'hide_arrows' => '200', 'hide_arrows_mobile' => '1200', 'hide_arrows_on_mobile' => 'off', 'arrows_under_hidden' => '600', 'hide_arrows_over' => 'off', 'arrows_over_hidden' => '0', 'leftarrow_align_hor' => 'left', 'leftarrow_align_vert' => 'bottom', 'leftarrow_offset_hor' => '0', 'leftarrow_offset_vert' => '0', 'rightarrow_align_hor' => 'left', 'rightarrow_align_vert' => 'bottom', 'rightarrow_offset_hor' => '40', 'rightarrow_offset_vert' => '0', 'enable_bullets' => 'on', 'navigation_bullets_style' => 'round-old', 'bullets_space' => '5', 'bullets_direction' => 'vertical', 'bullets_always_on' => 'true', 'hide_bullets' => '200', 'hide_bullets_mobile' => '1200', 'hide_bullets_on_mobile' => 'on', 'bullets_under_hidden' => '600', 'hide_bullets_over' => 'off', 'bullets_over_hidden' => '0', 'bullets_align_hor' => 'right', 'bullets_align_vert' => 'center', 'bullets_offset_hor' => '30', 'bullets_offset_vert' => '0', 'enable_thumbnails' => 'off', 'thumbnails_padding' => '5', 'span_thumbnails_wrapper' => 'off', 'thumbnails_wrapper_color' => 'transparent', 'thumbnails_wrapper_opacity' => '100', 'thumbnails_style' => 'navbar', 'thumb_amount' => '5', 'thumbnails_space' => '5', 'thumbnail_direction' => 'vertical', 'thumb_width' => '50', 'thumb_height' => '50', 'thumb_width_min' => '50', 'thumbs_always_on' => 'false', 'hide_thumbs' => '200', 'hide_thumbs_mobile' => '1200', 'hide_thumbs_on_mobile' => 'on', 'thumbs_under_hidden' => '778', 'hide_thumbs_over' => 'off', 'thumbs_over_hidden' => '0', 'thumbnails_inner_outer' => 'inner', 'thumbnails_align_hor' => 'right', 'thumbnails_align_vert' => 'center', 'thumbnails_offset_hor' => '20', 'thumbnails_offset_vert' => '0', 'enable_tabs' => 'off', 'tabs_padding' => '5', 'span_tabs_wrapper' => 'off', 'tabs_wrapper_color' => 'transparent', 'tabs_wrapper_opacity' => '5', 'tabs_style' => '', 'tabs_amount' => '5', 'tabs_space' => '5', 'tabs_direction' => 'horizontal', 'tabs_width' => '100', 'tabs_height' => '50', 'tabs_width_min' => '100', 'tabs_always_on' => 'false', 'hide_tabs' => '200', 'hide_tabs_mobile' => '1200', 'hide_tabs_on_mobile' => 'off', 'tabs_under_hidden' => '0', 'hide_tabs_over' => 'off', 'tabs_over_hidden' => '0', 'tabs_inner_outer' => 'inner', 'tabs_align_hor' => 'center', 'tabs_align_vert' => 'bottom', 'tabs_offset_hor' => '0', 'tabs_offset_vert' => '20', 'touchenabled' => 'on', 'drag_block_vertical' => 'off', 'swipe_velocity' => '75', 'swipe_min_touches' => '50', 'swipe_direction' => 'horizontal', 'keyboard_navigation' => 'off', 'keyboard_direction' => 'horizontal', 'mousescroll_navigation' => 'off', 'carousel_infinity' => 'off', 'carousel_space' => '0', 'carousel_borderr' => '0', 'carousel_borderr_unit' => 'px', 'carousel_padding_top' => '0', 'carousel_padding_bottom' => '0', 'carousel_maxitems' => '3', 'carousel_stretch' => 'off', 'carousel_fadeout' => 'on', 'carousel_varyfade' => 'off', 'carousel_rotation' => 'off', 'carousel_varyrotate' => 'off', 'carousel_maxrotation' => '0', 'carousel_scale' => 'off', 'carousel_varyscale' => 'off', 'carousel_scaledown' => '50', 'carousel_hposition' => 'center', 'carousel_vposition' => 'center', 'use_parallax' => 'on', 'disable_parallax_mobile' => 'off', 'parallax_type' => 'mouse', 'parallax_origo' => 'slidercenter', 'parallax_speed' => '2000', 'parallax_level_1' => '2', 'parallax_level_2' => '3', 'parallax_level_3' => '4', 'parallax_level_4' => '5', 'parallax_level_5' => '6', 'parallax_level_6' => '7', 'parallax_level_7' => '12', 'parallax_level_8' => '16', 'parallax_level_9' => '10', 'parallax_level_10' => '50', 'lazy_load_type' => 'smart', 'seo_optimization' => 'none', 'simplify_ie8_ios4' => 'off', 'show_alternative_type' => 'off', 'show_alternate_image' => '', 'jquery_noconflict' => 'off', 'js_to_body' => 'false', 'output_type' => 'none', 'jquery_debugmode' => 'off', 'slider_type' => 'fullwidth', 'width' => '1240', 'width_notebook' => '1024', 'width_tablet' => '778', 'width_mobile' => '480', 'height' => '600', 'height_notebook' => '500', 'height_tablet' => '400', 'height_mobile' => '300', 'enable_custom_size_notebook' => 'on', 'enable_custom_size_tablet' => 'on', 'enable_custom_size_iphone' => 'on', 'main_overflow_hidden' => 'off', 'auto_height' => 'off', 'min_height' => '', 'custom_javascript' => '', 'custom_css' => '', ), ); $presets[] = array ( 'settings' => array ('class' => '', 'image' => RS_PLUGIN_URL.'admin/assets/images/sliderpresets/cover_carousel_thumbs.png', 'name' => 'Cover-Flow-Thumbs', 'preset' => 'carouselpreset' ), 'values' => array ( 'next_slide_on_window_focus' => 'off', 'delay' => '9000', 'start_js_after_delay' => '0', 'image_source_type' => 'full', 0 => 'revapi39.bind(\\"revolution.slide.layeraction\\",function (e) { //data.eventtype - Layer Action (enterstage, enteredstage, leavestage,leftstage) //data.layertype - Layer Type (image,video,html) //data.layersettings - Default Settings for Layer //data.layer - Layer as jQuery Object });', 'start_with_slide' => '1', 'stop_on_hover' => 'off', 'stop_slider' => 'on', 'stop_after_loops' => '0', 'stop_at_slide' => '1', 'shuffle' => 'off', 'viewport_start' => 'wait', 'viewport_area' => '80', 'enable_progressbar' => 'on', 'background_dotted_overlay' => 'none', 'background_color' => 'transparent', 'padding' => '0', 'show_background_image' => 'off', 'background_image' => '', 'bg_fit' => 'cover', 'bg_repeat' => 'no-repeat', 'bg_position' => 'center center', 'position' => 'center', 'use_spinner' => '-1', 'spinner_color' => '#FFFFFF', 'enable_arrows' => 'on', 'navigation_arrow_style' => 'navbar-old', 'arrows_always_on' => 'false', 'hide_arrows' => '200', 'hide_arrows_mobile' => '1200', 'hide_arrows_on_mobile' => 'off', 'arrows_under_hidden' => '600', 'hide_arrows_over' => 'off', 'arrows_over_hidden' => '0', 'leftarrow_align_hor' => 'left', 'leftarrow_align_vert' => 'center', 'leftarrow_offset_hor' => '30', 'leftarrow_offset_vert' => '0', 'rightarrow_align_hor' => 'right', 'rightarrow_align_vert' => 'center', 'rightarrow_offset_hor' => '30', 'rightarrow_offset_vert' => '0', 'enable_bullets' => 'off', 'navigation_bullets_style' => 'round-old', 'bullets_space' => '5', 'bullets_direction' => 'horizontal', 'bullets_always_on' => 'true', 'hide_bullets' => '200', 'hide_bullets_mobile' => '1200', 'hide_bullets_on_mobile' => 'on', 'bullets_under_hidden' => '600', 'hide_bullets_over' => 'off', 'bullets_over_hidden' => '0', 'bullets_align_hor' => 'center', 'bullets_align_vert' => 'bottom', 'bullets_offset_hor' => '0', 'bullets_offset_vert' => '30', 'enable_thumbnails' => 'on', 'thumbnails_padding' => '20', 'span_thumbnails_wrapper' => 'on', 'thumbnails_wrapper_color' => '#000000', 'thumbnails_wrapper_opacity' => '15', 'thumbnails_style' => 'navbar', 'thumb_amount' => '9', 'thumbnails_space' => '10', 'thumbnail_direction' => 'horizontal', 'thumb_width' => '60', 'thumb_height' => '60', 'thumb_width_min' => '60', 'thumbs_always_on' => 'false', 'hide_thumbs' => '200', 'hide_thumbs_mobile' => '1200', 'hide_thumbs_on_mobile' => 'off', 'thumbs_under_hidden' => '0', 'hide_thumbs_over' => 'off', 'thumbs_over_hidden' => '0', 'thumbnails_inner_outer' => 'outer-bottom', 'thumbnails_align_hor' => 'center', 'thumbnails_align_vert' => 'bottom', 'thumbnails_offset_hor' => '0', 'thumbnails_offset_vert' => '0', 'enable_tabs' => 'off', 'tabs_padding' => '5', 'span_tabs_wrapper' => 'off', 'tabs_wrapper_color' => 'transparent', 'tabs_wrapper_opacity' => '5', 'tabs_style' => '', 'tabs_amount' => '5', 'tabs_space' => '5', 'tabs_direction' => 'horizontal', 'tabs_width' => '100', 'tabs_height' => '50', 'tabs_width_min' => '100', 'tabs_always_on' => 'false', 'hide_tabs' => '200', 'hide_tabs_mobile' => '1200', 'hide_tabs_on_mobile' => 'off', 'tabs_under_hidden' => '0', 'hide_tabs_over' => 'off', 'tabs_over_hidden' => '0', 'tabs_inner_outer' => 'inner', 'tabs_align_hor' => 'center', 'tabs_align_vert' => 'bottom', 'tabs_offset_hor' => '0', 'tabs_offset_vert' => '20', 'touchenabled' => 'on', 'drag_block_vertical' => 'off', 'swipe_velocity' => '75', 'swipe_min_touches' => '50', 'swipe_direction' => 'horizontal', 'keyboard_navigation' => 'off', 'keyboard_direction' => 'horizontal', 'mousescroll_navigation' => 'off', 'carousel_infinity' => 'off', 'carousel_space' => '-150', 'carousel_borderr' => '0', 'carousel_borderr_unit' => 'px', 'carousel_padding_top' => '0', 'carousel_padding_bottom' => '0', 'carousel_maxitems' => '5', 'carousel_stretch' => 'off', 'carousel_fadeout' => 'on', 'carousel_varyfade' => 'on', 'carousel_rotation' => 'on', 'carousel_varyrotate' => 'on', 'carousel_maxrotation' => '65', 'carousel_scale' => 'on', 'carousel_varyscale' => 'off', 'carousel_scaledown' => '55', 'carousel_hposition' => 'center', 'carousel_vposition' => 'center', 'use_parallax' => 'on', 'disable_parallax_mobile' => 'off', 'parallax_type' => 'mouse', 'parallax_origo' => 'slidercenter', 'parallax_speed' => '2000', 'parallax_level_1' => '2', 'parallax_level_2' => '3', 'parallax_level_3' => '4', 'parallax_level_4' => '5', 'parallax_level_5' => '6', 'parallax_level_6' => '7', 'parallax_level_7' => '12', 'parallax_level_8' => '16', 'parallax_level_9' => '10', 'parallax_level_10' => '50', 'lazy_load_type' => 'smart', 'seo_optimization' => 'none', 'simplify_ie8_ios4' => 'off', 'show_alternative_type' => 'off', 'show_alternate_image' => '', 'jquery_noconflict' => 'off', 'js_to_body' => 'false', 'output_type' => 'none', 'jquery_debugmode' => 'off', 'slider_type' => 'fullwidth', 'width' => '600', 'width_notebook' => '600', 'width_tablet' => '600', 'width_mobile' => '600', 'height' => '600', 'height_notebook' => '600', 'height_tablet' => '600', 'height_mobile' => '600', 'enable_custom_size_notebook' => 'off', 'enable_custom_size_tablet' => 'off', 'enable_custom_size_iphone' => 'off', 'main_overflow_hidden' => 'off', 'auto_height' => 'off', 'min_height' => '', 'custom_css' => '', 'custom_javascript' => '', ), ); $presets[] = array ( 'settings' => array ('class' => '', 'image' => RS_PLUGIN_URL.'admin/assets/images/sliderpresets/cover_carousel_endless.png', 'name' => 'Cover-Flow-Infinite', 'preset' => 'carouselpreset' ), 'values' => array ( 'next_slide_on_window_focus' => 'off', 'delay' => '9000', 'start_js_after_delay' => '0', 'image_source_type' => 'full', 0 => 'revapi39.bind(\\"revolution.slide.layeraction\\",function (e) { //data.eventtype - Layer Action (enterstage, enteredstage, leavestage,leftstage) //data.layertype - Layer Type (image,video,html) //data.layersettings - Default Settings for Layer //data.layer - Layer as jQuery Object });', 'start_with_slide' => '1', 'stop_on_hover' => 'off', 'stop_slider' => 'on', 'stop_after_loops' => '0', 'stop_at_slide' => '1', 'shuffle' => 'off', 'viewport_start' => 'wait', 'viewport_area' => '80', 'enable_progressbar' => 'on', 'background_dotted_overlay' => 'none', 'background_color' => 'transparent', 'padding' => '0', 'show_background_image' => 'off', 'background_image' => '', 'bg_fit' => 'cover', 'bg_repeat' => 'no-repeat', 'bg_position' => 'center center', 'position' => 'center', 'use_spinner' => '-1', 'spinner_color' => '#FFFFFF', 'enable_arrows' => 'on', 'navigation_arrow_style' => 'round', 'arrows_always_on' => 'false', 'hide_arrows' => '200', 'hide_arrows_mobile' => '1200', 'hide_arrows_on_mobile' => 'off', 'arrows_under_hidden' => '600', 'hide_arrows_over' => 'off', 'arrows_over_hidden' => '0', 'leftarrow_align_hor' => 'left', 'leftarrow_align_vert' => 'center', 'leftarrow_offset_hor' => '30', 'leftarrow_offset_vert' => '0', 'rightarrow_align_hor' => 'right', 'rightarrow_align_vert' => 'center', 'rightarrow_offset_hor' => '30', 'rightarrow_offset_vert' => '0', 'enable_bullets' => 'off', 'navigation_bullets_style' => 'round-old', 'bullets_space' => '5', 'bullets_direction' => 'horizontal', 'bullets_always_on' => 'true', 'hide_bullets' => '200', 'hide_bullets_mobile' => '1200', 'hide_bullets_on_mobile' => 'on', 'bullets_under_hidden' => '600', 'hide_bullets_over' => 'off', 'bullets_over_hidden' => '0', 'bullets_align_hor' => 'center', 'bullets_align_vert' => 'bottom', 'bullets_offset_hor' => '0', 'bullets_offset_vert' => '30', 'enable_thumbnails' => 'off', 'thumbnails_padding' => '20', 'span_thumbnails_wrapper' => 'on', 'thumbnails_wrapper_color' => '#000000', 'thumbnails_wrapper_opacity' => '15', 'thumbnails_style' => 'navbar', 'thumb_amount' => '9', 'thumbnails_space' => '10', 'thumbnail_direction' => 'horizontal', 'thumb_width' => '60', 'thumb_height' => '60', 'thumb_width_min' => '60', 'thumbs_always_on' => 'false', 'hide_thumbs' => '200', 'hide_thumbs_mobile' => '1200', 'hide_thumbs_on_mobile' => 'off', 'thumbs_under_hidden' => '0', 'hide_thumbs_over' => 'off', 'thumbs_over_hidden' => '0', 'thumbnails_inner_outer' => 'outer-bottom', 'thumbnails_align_hor' => 'center', 'thumbnails_align_vert' => 'bottom', 'thumbnails_offset_hor' => '0', 'thumbnails_offset_vert' => '0', 'enable_tabs' => 'off', 'tabs_padding' => '5', 'span_tabs_wrapper' => 'off', 'tabs_wrapper_color' => 'transparent', 'tabs_wrapper_opacity' => '5', 'tabs_style' => '', 'tabs_amount' => '5', 'tabs_space' => '5', 'tabs_direction' => 'horizontal', 'tabs_width' => '100', 'tabs_height' => '50', 'tabs_width_min' => '100', 'tabs_always_on' => 'false', 'hide_tabs' => '200', 'hide_tabs_mobile' => '1200', 'hide_tabs_on_mobile' => 'off', 'tabs_under_hidden' => '0', 'hide_tabs_over' => 'off', 'tabs_over_hidden' => '0', 'tabs_inner_outer' => 'inner', 'tabs_align_hor' => 'center', 'tabs_align_vert' => 'bottom', 'tabs_offset_hor' => '0', 'tabs_offset_vert' => '20', 'touchenabled' => 'on', 'drag_block_vertical' => 'off', 'swipe_velocity' => '75', 'swipe_min_touches' => '50', 'swipe_direction' => 'horizontal', 'keyboard_navigation' => 'off', 'keyboard_direction' => 'horizontal', 'mousescroll_navigation' => 'off', 'carousel_infinity' => 'on', 'carousel_space' => '-150', 'carousel_borderr' => '0', 'carousel_borderr_unit' => 'px', 'carousel_padding_top' => '0', 'carousel_padding_bottom' => '0', 'carousel_maxitems' => '3', 'carousel_stretch' => 'off', 'carousel_fadeout' => 'on', 'carousel_varyfade' => 'on', 'carousel_rotation' => 'on', 'carousel_varyrotate' => 'on', 'carousel_maxrotation' => '65', 'carousel_scale' => 'on', 'carousel_varyscale' => 'off', 'carousel_scaledown' => '55', 'carousel_hposition' => 'center', 'carousel_vposition' => 'center', 'use_parallax' => 'on', 'disable_parallax_mobile' => 'off', 'parallax_type' => 'mouse', 'parallax_origo' => 'slidercenter', 'parallax_speed' => '2000', 'parallax_level_1' => '2', 'parallax_level_2' => '3', 'parallax_level_3' => '4', 'parallax_level_4' => '5', 'parallax_level_5' => '6', 'parallax_level_6' => '7', 'parallax_level_7' => '12', 'parallax_level_8' => '16', 'parallax_level_9' => '10', 'parallax_level_10' => '50', 'lazy_load_type' => 'smart', 'seo_optimization' => 'none', 'simplify_ie8_ios4' => 'off', 'show_alternative_type' => 'off', 'show_alternate_image' => '', 'jquery_noconflict' => 'off', 'js_to_body' => 'false', 'output_type' => 'none', 'jquery_debugmode' => 'off', 'slider_type' => 'fullwidth', 'width' => '600', 'width_notebook' => '600', 'width_tablet' => '600', 'width_mobile' => '600', 'height' => '600', 'height_notebook' => '600', 'height_tablet' => '600', 'height_mobile' => '600', 'enable_custom_size_notebook' => 'off', 'enable_custom_size_tablet' => 'off', 'enable_custom_size_iphone' => 'off', 'main_overflow_hidden' => 'off', 'auto_height' => 'off', 'min_height' => '', 'custom_css' => '', 'custom_javascript' => '', ), ); $presets[] = array ( 'settings' => array ('class' => '', 'image' => RS_PLUGIN_URL.'admin/assets/images/sliderpresets/flat_carousel_thumbs.png', 'name' => 'Flat-Infinite-Thumbs', 'preset' => 'carouselpreset' ), 'values' => array ( 'next_slide_on_window_focus' => 'off', 'delay' => '9000', 'start_js_after_delay' => '0', 'image_source_type' => 'full', 0 => 'revapi39.bind(\\"revolution.slide.layeraction\\",function (e) { //data.eventtype - Layer Action (enterstage, enteredstage, leavestage,leftstage) //data.layertype - Layer Type (image,video,html) //data.layersettings - Default Settings for Layer //data.layer - Layer as jQuery Object });', 'start_with_slide' => '1', 'stop_on_hover' => 'off', 'stop_slider' => 'on', 'stop_after_loops' => '0', 'stop_at_slide' => '1', 'shuffle' => 'off', 'viewport_start' => 'wait', 'viewport_area' => '80', 'enable_progressbar' => 'on', 'background_dotted_overlay' => 'none', 'background_color' => '#111111', 'padding' => '0', 'show_background_image' => 'off', 'background_image' => '', 'bg_fit' => 'cover', 'bg_repeat' => 'no-repeat', 'bg_position' => 'center center', 'position' => 'center', 'use_spinner' => '-1', 'spinner_color' => '#FFFFFF', 'enable_arrows' => 'on', 'navigation_arrow_style' => 'navbar', 'arrows_always_on' => 'false', 'hide_arrows' => '200', 'hide_arrows_mobile' => '1200', 'hide_arrows_on_mobile' => 'off', 'arrows_under_hidden' => '600', 'hide_arrows_over' => 'off', 'arrows_over_hidden' => '0', 'leftarrow_align_hor' => 'left', 'leftarrow_align_vert' => 'center', 'leftarrow_offset_hor' => '30', 'leftarrow_offset_vert' => '0', 'rightarrow_align_hor' => 'right', 'rightarrow_align_vert' => 'center', 'rightarrow_offset_hor' => '30', 'rightarrow_offset_vert' => '0', 'enable_bullets' => 'off', 'navigation_bullets_style' => 'round-old', 'bullets_space' => '5', 'bullets_direction' => 'horizontal', 'bullets_always_on' => 'true', 'hide_bullets' => '200', 'hide_bullets_mobile' => '1200', 'hide_bullets_on_mobile' => 'on', 'bullets_under_hidden' => '600', 'hide_bullets_over' => 'off', 'bullets_over_hidden' => '0', 'bullets_align_hor' => 'center', 'bullets_align_vert' => 'bottom', 'bullets_offset_hor' => '0', 'bullets_offset_vert' => '30', 'enable_thumbnails' => 'on', 'thumbnails_padding' => '20', 'span_thumbnails_wrapper' => 'on', 'thumbnails_wrapper_color' => '#222222', 'thumbnails_wrapper_opacity' => '100', 'thumbnails_style' => 'navbar', 'thumb_amount' => '9', 'thumbnails_space' => '10', 'thumbnail_direction' => 'horizontal', 'thumb_width' => '60', 'thumb_height' => '60', 'thumb_width_min' => '60', 'thumbs_always_on' => 'false', 'hide_thumbs' => '200', 'hide_thumbs_mobile' => '1200', 'hide_thumbs_on_mobile' => 'off', 'thumbs_under_hidden' => '0', 'hide_thumbs_over' => 'off', 'thumbs_over_hidden' => '0', 'thumbnails_inner_outer' => 'outer-bottom', 'thumbnails_align_hor' => 'center', 'thumbnails_align_vert' => 'bottom', 'thumbnails_offset_hor' => '0', 'thumbnails_offset_vert' => '0', 'enable_tabs' => 'off', 'tabs_padding' => '5', 'span_tabs_wrapper' => 'off', 'tabs_wrapper_color' => 'transparent', 'tabs_wrapper_opacity' => '5', 'tabs_style' => '', 'tabs_amount' => '5', 'tabs_space' => '5', 'tabs_direction' => 'horizontal', 'tabs_width' => '100', 'tabs_height' => '50', 'tabs_width_min' => '100', 'tabs_always_on' => 'false', 'hide_tabs' => '200', 'hide_tabs_mobile' => '1200', 'hide_tabs_on_mobile' => 'off', 'tabs_under_hidden' => '0', 'hide_tabs_over' => 'off', 'tabs_over_hidden' => '0', 'tabs_inner_outer' => 'inner', 'tabs_align_hor' => 'center', 'tabs_align_vert' => 'bottom', 'tabs_offset_hor' => '0', 'tabs_offset_vert' => '20', 'touchenabled' => 'on', 'drag_block_vertical' => 'off', 'swipe_velocity' => '75', 'swipe_min_touches' => '50', 'swipe_direction' => 'horizontal', 'keyboard_navigation' => 'off', 'keyboard_direction' => 'horizontal', 'mousescroll_navigation' => 'off', 'carousel_infinity' => 'on', 'carousel_space' => '0', 'carousel_borderr' => '0', 'carousel_borderr_unit' => 'px', 'carousel_padding_top' => '0', 'carousel_padding_bottom' => '0', 'carousel_maxitems' => '3', 'carousel_stretch' => 'off', 'carousel_fadeout' => 'on', 'carousel_varyfade' => 'on', 'carousel_rotation' => 'off', 'carousel_varyrotate' => 'on', 'carousel_maxrotation' => '65', 'carousel_scale' => 'off', 'carousel_varyscale' => 'off', 'carousel_scaledown' => '55', 'carousel_hposition' => 'center', 'carousel_vposition' => 'center', 'use_parallax' => 'on', 'disable_parallax_mobile' => 'off', 'parallax_type' => 'mouse', 'parallax_origo' => 'slidercenter', 'parallax_speed' => '2000', 'parallax_level_1' => '2', 'parallax_level_2' => '3', 'parallax_level_3' => '4', 'parallax_level_4' => '5', 'parallax_level_5' => '6', 'parallax_level_6' => '7', 'parallax_level_7' => '12', 'parallax_level_8' => '16', 'parallax_level_9' => '10', 'parallax_level_10' => '50', 'lazy_load_type' => 'smart', 'seo_optimization' => 'none', 'simplify_ie8_ios4' => 'off', 'show_alternative_type' => 'off', 'show_alternate_image' => '', 'jquery_noconflict' => 'off', 'js_to_body' => 'false', 'output_type' => 'none', 'jquery_debugmode' => 'off', 'slider_type' => 'fullwidth', 'width' => '720', 'width_notebook' => '720', 'width_tablet' => '720', 'width_mobile' => '720', 'height' => '405', 'height_notebook' => '405', 'height_tablet' => '405', 'height_mobile' => '405', 'enable_custom_size_notebook' => 'off', 'enable_custom_size_tablet' => 'off', 'enable_custom_size_iphone' => 'off', 'main_overflow_hidden' => 'off', 'auto_height' => 'off', 'min_height' => '', 'custom_css' => '', 'custom_javascript' => '', ), ); $presets[] = array ( 'settings' => array ('class' => '', 'image' => RS_PLUGIN_URL.'admin/assets/images/sliderpresets/flat_carousel.png', 'name' => 'Flat-Infinite', 'preset' => 'carouselpreset' ), 'values' => array ( 'next_slide_on_window_focus' => 'off', 'delay' => '9000', 'start_js_after_delay' => '0', 'image_source_type' => 'full', 0 => 'revapi39.bind(\\"revolution.slide.layeraction\\",function (e) { //data.eventtype - Layer Action (enterstage, enteredstage, leavestage,leftstage) //data.layertype - Layer Type (image,video,html) //data.layersettings - Default Settings for Layer //data.layer - Layer as jQuery Object });', 'start_with_slide' => '1', 'stop_on_hover' => 'off', 'stop_slider' => 'on', 'stop_after_loops' => '0', 'stop_at_slide' => '1', 'shuffle' => 'off', 'viewport_start' => 'wait', 'viewport_area' => '80', 'enable_progressbar' => 'on', 'background_dotted_overlay' => 'none', 'background_color' => '#111111', 'padding' => '0', 'show_background_image' => 'off', 'background_image' => '', 'bg_fit' => 'cover', 'bg_repeat' => 'no-repeat', 'bg_position' => 'center center', 'position' => 'center', 'use_spinner' => '-1', 'spinner_color' => '#FFFFFF', 'enable_arrows' => 'on', 'navigation_arrow_style' => 'uranus', 'arrows_always_on' => 'false', 'hide_arrows' => '200', 'hide_arrows_mobile' => '1200', 'hide_arrows_on_mobile' => 'off', 'arrows_under_hidden' => '600', 'hide_arrows_over' => 'off', 'arrows_over_hidden' => '0', 'leftarrow_align_hor' => 'left', 'leftarrow_align_vert' => 'center', 'leftarrow_offset_hor' => '30', 'leftarrow_offset_vert' => '0', 'rightarrow_align_hor' => 'right', 'rightarrow_align_vert' => 'center', 'rightarrow_offset_hor' => '30', 'rightarrow_offset_vert' => '0', 'enable_bullets' => 'off', 'navigation_bullets_style' => 'round-old', 'bullets_space' => '5', 'bullets_direction' => 'horizontal', 'bullets_always_on' => 'true', 'hide_bullets' => '200', 'hide_bullets_mobile' => '1200', 'hide_bullets_on_mobile' => 'on', 'bullets_under_hidden' => '600', 'hide_bullets_over' => 'off', 'bullets_over_hidden' => '0', 'bullets_align_hor' => 'center', 'bullets_align_vert' => 'bottom', 'bullets_offset_hor' => '0', 'bullets_offset_vert' => '30', 'enable_thumbnails' => 'off', 'thumbnails_padding' => '20', 'span_thumbnails_wrapper' => 'on', 'thumbnails_wrapper_color' => '#222222', 'thumbnails_wrapper_opacity' => '100', 'thumbnails_style' => 'navbar', 'thumb_amount' => '9', 'thumbnails_space' => '10', 'thumbnail_direction' => 'horizontal', 'thumb_width' => '60', 'thumb_height' => '60', 'thumb_width_min' => '60', 'thumbs_always_on' => 'false', 'hide_thumbs' => '200', 'hide_thumbs_mobile' => '1200', 'hide_thumbs_on_mobile' => 'off', 'thumbs_under_hidden' => '0', 'hide_thumbs_over' => 'off', 'thumbs_over_hidden' => '0', 'thumbnails_inner_outer' => 'outer-bottom', 'thumbnails_align_hor' => 'center', 'thumbnails_align_vert' => 'bottom', 'thumbnails_offset_hor' => '0', 'thumbnails_offset_vert' => '0', 'enable_tabs' => 'off', 'tabs_padding' => '5', 'span_tabs_wrapper' => 'off', 'tabs_wrapper_color' => 'transparent', 'tabs_wrapper_opacity' => '5', 'tabs_style' => '', 'tabs_amount' => '5', 'tabs_space' => '5', 'tabs_direction' => 'horizontal', 'tabs_width' => '100', 'tabs_height' => '50', 'tabs_width_min' => '100', 'tabs_always_on' => 'false', 'hide_tabs' => '200', 'hide_tabs_mobile' => '1200', 'hide_tabs_on_mobile' => 'off', 'tabs_under_hidden' => '0', 'hide_tabs_over' => 'off', 'tabs_over_hidden' => '0', 'tabs_inner_outer' => 'inner', 'tabs_align_hor' => 'center', 'tabs_align_vert' => 'bottom', 'tabs_offset_hor' => '0', 'tabs_offset_vert' => '20', 'touchenabled' => 'on', 'drag_block_vertical' => 'off', 'swipe_velocity' => '75', 'swipe_min_touches' => '50', 'swipe_direction' => 'horizontal', 'keyboard_navigation' => 'off', 'keyboard_direction' => 'horizontal', 'mousescroll_navigation' => 'off', 'carousel_infinity' => 'on', 'carousel_space' => '0', 'carousel_borderr' => '0', 'carousel_borderr_unit' => 'px', 'carousel_padding_top' => '0', 'carousel_padding_bottom' => '0', 'carousel_maxitems' => '3', 'carousel_stretch' => 'off', 'carousel_fadeout' => 'on', 'carousel_varyfade' => 'on', 'carousel_rotation' => 'off', 'carousel_varyrotate' => 'on', 'carousel_maxrotation' => '65', 'carousel_scale' => 'off', 'carousel_varyscale' => 'off', 'carousel_scaledown' => '55', 'carousel_hposition' => 'center', 'carousel_vposition' => 'center', 'use_parallax' => 'on', 'disable_parallax_mobile' => 'off', 'parallax_type' => 'mouse', 'parallax_origo' => 'slidercenter', 'parallax_speed' => '2000', 'parallax_level_1' => '2', 'parallax_level_2' => '3', 'parallax_level_3' => '4', 'parallax_level_4' => '5', 'parallax_level_5' => '6', 'parallax_level_6' => '7', 'parallax_level_7' => '12', 'parallax_level_8' => '16', 'parallax_level_9' => '10', 'parallax_level_10' => '50', 'lazy_load_type' => 'smart', 'seo_optimization' => 'none', 'simplify_ie8_ios4' => 'off', 'show_alternative_type' => 'off', 'show_alternate_image' => '', 'jquery_noconflict' => 'off', 'js_to_body' => 'false', 'output_type' => 'none', 'jquery_debugmode' => 'off', 'slider_type' => 'fullwidth', 'width' => '720', 'width_notebook' => '720', 'width_tablet' => '720', 'width_mobile' => '720', 'height' => '405', 'height_notebook' => '405', 'height_tablet' => '405', 'height_mobile' => '405', 'enable_custom_size_notebook' => 'off', 'enable_custom_size_tablet' => 'off', 'enable_custom_size_iphone' => 'off', 'main_overflow_hidden' => 'off', 'auto_height' => 'off', 'min_height' => '', 'custom_css' => '', 'custom_javascript' => '', ), ); $presets[] = array ( 'settings' => array ('class' => '', 'image' => RS_PLUGIN_URL.'admin/assets/images/sliderpresets/flat_carousel_thumbs_left.png', 'name' => 'Flat-Thumbs-Left', 'preset' => 'carouselpreset' ), 'values' => array ( 'next_slide_on_window_focus' => 'off', 'delay' => '9000', 'start_js_after_delay' => '0', 'image_source_type' => 'full', 0 => 'revapi39.bind(\\"revolution.slide.layeraction\\",function (e) { //data.eventtype - Layer Action (enterstage, enteredstage, leavestage,leftstage) //data.layertype - Layer Type (image,video,html) //data.layersettings - Default Settings for Layer //data.layer - Layer as jQuery Object });', 'start_with_slide' => '1', 'stop_on_hover' => 'off', 'stop_slider' => 'on', 'stop_after_loops' => '0', 'stop_at_slide' => '1', 'shuffle' => 'off', 'viewport_start' => 'wait', 'viewport_area' => '80', 'enable_progressbar' => 'on', 'background_dotted_overlay' => 'none', 'background_color' => '#111111', 'padding' => '0', 'show_background_image' => 'off', 'background_image' => '', 'bg_fit' => 'cover', 'bg_repeat' => 'no-repeat', 'bg_position' => 'center center', 'position' => 'center', 'use_spinner' => '-1', 'spinner_color' => '#FFFFFF', 'enable_arrows' => 'on', 'navigation_arrow_style' => 'uranus', 'arrows_always_on' => 'false', 'hide_arrows' => '200', 'hide_arrows_mobile' => '1200', 'hide_arrows_on_mobile' => 'off', 'arrows_under_hidden' => '600', 'hide_arrows_over' => 'off', 'arrows_over_hidden' => '0', 'leftarrow_align_hor' => 'left', 'leftarrow_align_vert' => 'center', 'leftarrow_offset_hor' => '30', 'leftarrow_offset_vert' => '0', 'rightarrow_align_hor' => 'right', 'rightarrow_align_vert' => 'center', 'rightarrow_offset_hor' => '30', 'rightarrow_offset_vert' => '0', 'enable_bullets' => 'off', 'navigation_bullets_style' => 'round-old', 'bullets_space' => '5', 'bullets_direction' => 'horizontal', 'bullets_always_on' => 'true', 'hide_bullets' => '200', 'hide_bullets_mobile' => '1200', 'hide_bullets_on_mobile' => 'on', 'bullets_under_hidden' => '600', 'hide_bullets_over' => 'off', 'bullets_over_hidden' => '0', 'bullets_align_hor' => 'center', 'bullets_align_vert' => 'bottom', 'bullets_offset_hor' => '0', 'bullets_offset_vert' => '30', 'enable_thumbnails' => 'on', 'thumbnails_padding' => '20', 'span_thumbnails_wrapper' => 'on', 'thumbnails_wrapper_color' => '#222222', 'thumbnails_wrapper_opacity' => '100', 'thumbnails_style' => 'navbar', 'thumb_amount' => '9', 'thumbnails_space' => '10', 'thumbnail_direction' => 'vertical', 'thumb_width' => '60', 'thumb_height' => '60', 'thumb_width_min' => '60', 'thumbs_always_on' => 'false', 'hide_thumbs' => '200', 'hide_thumbs_mobile' => '1200', 'hide_thumbs_on_mobile' => 'off', 'thumbs_under_hidden' => '0', 'hide_thumbs_over' => 'off', 'thumbs_over_hidden' => '0', 'thumbnails_inner_outer' => 'outer-left', 'thumbnails_align_hor' => 'left', 'thumbnails_align_vert' => 'top', 'thumbnails_offset_hor' => '0', 'thumbnails_offset_vert' => '0', 'enable_tabs' => 'off', 'tabs_padding' => '5', 'span_tabs_wrapper' => 'off', 'tabs_wrapper_color' => 'transparent', 'tabs_wrapper_opacity' => '5', 'tabs_style' => '', 'tabs_amount' => '5', 'tabs_space' => '5', 'tabs_direction' => 'horizontal', 'tabs_width' => '100', 'tabs_height' => '50', 'tabs_width_min' => '100', 'tabs_always_on' => 'false', 'hide_tabs' => '200', 'hide_tabs_mobile' => '1200', 'hide_tabs_on_mobile' => 'off', 'tabs_under_hidden' => '0', 'hide_tabs_over' => 'off', 'tabs_over_hidden' => '0', 'tabs_inner_outer' => 'inner', 'tabs_align_hor' => 'center', 'tabs_align_vert' => 'bottom', 'tabs_offset_hor' => '0', 'tabs_offset_vert' => '20', 'touchenabled' => 'on', 'drag_block_vertical' => 'off', 'swipe_velocity' => '75', 'swipe_min_touches' => '50', 'swipe_direction' => 'horizontal', 'keyboard_navigation' => 'off', 'keyboard_direction' => 'horizontal', 'mousescroll_navigation' => 'off', 'carousel_infinity' => 'on', 'carousel_space' => '0', 'carousel_borderr' => '0', 'carousel_borderr_unit' => 'px', 'carousel_padding_top' => '0', 'carousel_padding_bottom' => '0', 'carousel_maxitems' => '3', 'carousel_stretch' => 'off', 'carousel_fadeout' => 'on', 'carousel_varyfade' => 'on', 'carousel_rotation' => 'off', 'carousel_varyrotate' => 'on', 'carousel_maxrotation' => '65', 'carousel_scale' => 'off', 'carousel_varyscale' => 'off', 'carousel_scaledown' => '55', 'carousel_hposition' => 'center', 'carousel_vposition' => 'center', 'use_parallax' => 'on', 'disable_parallax_mobile' => 'off', 'parallax_type' => 'mouse', 'parallax_origo' => 'slidercenter', 'parallax_speed' => '2000', 'parallax_level_1' => '2', 'parallax_level_2' => '3', 'parallax_level_3' => '4', 'parallax_level_4' => '5', 'parallax_level_5' => '6', 'parallax_level_6' => '7', 'parallax_level_7' => '12', 'parallax_level_8' => '16', 'parallax_level_9' => '10', 'parallax_level_10' => '50', 'lazy_load_type' => 'smart', 'seo_optimization' => 'none', 'simplify_ie8_ios4' => 'off', 'show_alternative_type' => 'off', 'show_alternate_image' => '', 'jquery_noconflict' => 'off', 'js_to_body' => 'false', 'output_type' => 'none', 'jquery_debugmode' => 'off', 'slider_type' => 'fullwidth', 'width' => '720', 'width_notebook' => '720', 'width_tablet' => '720', 'width_mobile' => '720', 'height' => '405', 'height_notebook' => '405', 'height_tablet' => '405', 'height_mobile' => '405', 'enable_custom_size_notebook' => 'off', 'enable_custom_size_tablet' => 'off', 'enable_custom_size_iphone' => 'off', 'main_overflow_hidden' => 'off', 'auto_height' => 'off', 'min_height' => '', 'custom_css' => '', 'custom_javascript' => '', ), ); $presets[] = array ( 'settings' => array ('class' => '', 'image' => RS_PLUGIN_URL.'admin/assets/images/sliderpresets/carousel_thumbs_right_fullscreen.png', 'name' => 'Full-Screen-Thumbs-Right', 'preset' => 'carouselpreset' ), 'values' => array ( 'next_slide_on_window_focus' => 'off', 'delay' => '9000', 'start_js_after_delay' => '0', 'image_source_type' => 'full', 0 => 'revapi39.bind(\\"revolution.slide.layeraction\\",function (e) { //data.eventtype - Layer Action (enterstage, enteredstage, leavestage,leftstage) //data.layertype - Layer Type (image,video,html) //data.layersettings - Default Settings for Layer //data.layer - Layer as jQuery Object });', 'start_with_slide' => '1', 'stop_on_hover' => 'off', 'stop_slider' => 'on', 'stop_after_loops' => '0', 'stop_at_slide' => '1', 'shuffle' => 'off', 'viewport_start' => 'wait', 'viewport_area' => '80', 'enable_progressbar' => 'on', 'background_dotted_overlay' => 'none', 'background_color' => '#111111', 'padding' => '0', 'show_background_image' => 'off', 'background_image' => '', 'bg_fit' => 'cover', 'bg_repeat' => 'no-repeat', 'bg_position' => 'center center', 'position' => 'center', 'use_spinner' => '-1', 'spinner_color' => '#FFFFFF', 'enable_arrows' => 'on', 'navigation_arrow_style' => 'uranus', 'arrows_always_on' => 'false', 'hide_arrows' => '200', 'hide_arrows_mobile' => '1200', 'hide_arrows_on_mobile' => 'off', 'arrows_under_hidden' => '600', 'hide_arrows_over' => 'off', 'arrows_over_hidden' => '0', 'leftarrow_align_hor' => 'left', 'leftarrow_align_vert' => 'center', 'leftarrow_offset_hor' => '30', 'leftarrow_offset_vert' => '0', 'rightarrow_align_hor' => 'right', 'rightarrow_align_vert' => 'center', 'rightarrow_offset_hor' => '30', 'rightarrow_offset_vert' => '0', 'enable_bullets' => 'off', 'navigation_bullets_style' => 'round-old', 'bullets_space' => '5', 'bullets_direction' => 'horizontal', 'bullets_always_on' => 'true', 'hide_bullets' => '200', 'hide_bullets_mobile' => '1200', 'hide_bullets_on_mobile' => 'on', 'bullets_under_hidden' => '600', 'hide_bullets_over' => 'off', 'bullets_over_hidden' => '0', 'bullets_align_hor' => 'center', 'bullets_align_vert' => 'bottom', 'bullets_offset_hor' => '0', 'bullets_offset_vert' => '30', 'enable_thumbnails' => 'on', 'thumbnails_padding' => '20', 'span_thumbnails_wrapper' => 'on', 'thumbnails_wrapper_color' => '#222222', 'thumbnails_wrapper_opacity' => '100', 'thumbnails_style' => 'navbar', 'thumb_amount' => '9', 'thumbnails_space' => '10', 'thumbnail_direction' => 'vertical', 'thumb_width' => '60', 'thumb_height' => '60', 'thumb_width_min' => '60', 'thumbs_always_on' => 'false', 'hide_thumbs' => '200', 'hide_thumbs_mobile' => '1200', 'hide_thumbs_on_mobile' => 'off', 'thumbs_under_hidden' => '0', 'hide_thumbs_over' => 'off', 'thumbs_over_hidden' => '0', 'thumbnails_inner_outer' => 'outer-right', 'thumbnails_align_hor' => 'right', 'thumbnails_align_vert' => 'top', 'thumbnails_offset_hor' => '0', 'thumbnails_offset_vert' => '0', 'enable_tabs' => 'off', 'tabs_padding' => '5', 'span_tabs_wrapper' => 'off', 'tabs_wrapper_color' => 'transparent', 'tabs_wrapper_opacity' => '5', 'tabs_style' => '', 'tabs_amount' => '5', 'tabs_space' => '5', 'tabs_direction' => 'horizontal', 'tabs_width' => '100', 'tabs_height' => '50', 'tabs_width_min' => '100', 'tabs_always_on' => 'false', 'hide_tabs' => '200', 'hide_tabs_mobile' => '1200', 'hide_tabs_on_mobile' => 'off', 'tabs_under_hidden' => '0', 'hide_tabs_over' => 'off', 'tabs_over_hidden' => '0', 'tabs_inner_outer' => 'inner', 'tabs_align_hor' => 'center', 'tabs_align_vert' => 'bottom', 'tabs_offset_hor' => '0', 'tabs_offset_vert' => '20', 'touchenabled' => 'on', 'drag_block_vertical' => 'off', 'swipe_velocity' => '75', 'swipe_min_touches' => '50', 'swipe_direction' => 'horizontal', 'keyboard_navigation' => 'off', 'keyboard_direction' => 'horizontal', 'mousescroll_navigation' => 'off', 'carousel_infinity' => 'on', 'carousel_space' => '0', 'carousel_borderr' => '0', 'carousel_borderr_unit' => 'px', 'carousel_padding_top' => '0', 'carousel_padding_bottom' => '0', 'carousel_maxitems' => '3', 'carousel_stretch' => 'off', 'carousel_fadeout' => 'on', 'carousel_varyfade' => 'on', 'carousel_rotation' => 'off', 'carousel_varyrotate' => 'on', 'carousel_maxrotation' => '65', 'carousel_scale' => 'off', 'carousel_varyscale' => 'off', 'carousel_scaledown' => '55', 'carousel_hposition' => 'center', 'carousel_vposition' => 'center', 'use_parallax' => 'on', 'disable_parallax_mobile' => 'off', 'parallax_type' => 'mouse', 'parallax_origo' => 'slidercenter', 'parallax_speed' => '2000', 'parallax_level_1' => '2', 'parallax_level_2' => '3', 'parallax_level_3' => '4', 'parallax_level_4' => '5', 'parallax_level_5' => '6', 'parallax_level_6' => '7', 'parallax_level_7' => '12', 'parallax_level_8' => '16', 'parallax_level_9' => '10', 'parallax_level_10' => '50', 'lazy_load_type' => 'smart', 'seo_optimization' => 'none', 'simplify_ie8_ios4' => 'off', 'show_alternative_type' => 'off', 'show_alternate_image' => '', 'jquery_noconflict' => 'off', 'js_to_body' => 'false', 'output_type' => 'none', 'jquery_debugmode' => 'off', 'slider_type' => 'fullscreen', 'width' => '900', 'width_notebook' => '720', 'width_tablet' => '720', 'width_mobile' => '720', 'height' => '720', 'height_notebook' => '405', 'height_tablet' => '405', 'height_mobile' => '405', 'enable_custom_size_notebook' => 'off', 'enable_custom_size_tablet' => 'off', 'enable_custom_size_iphone' => 'off', 'main_overflow_hidden' => 'off', 'auto_height' => 'off', 'min_height' => '', 'custom_css' => '', 'custom_javascript' => '', ), ); $presets[] = array ( 'settings' => array ('class' => '', 'image' => RS_PLUGIN_URL.'admin/assets/images/sliderpresets/cover_carousel_thumbs.png', 'name' => 'Cover-Flow-Full-Screen', 'preset' => 'carouselpreset' ), 'values' => array ( 'next_slide_on_window_focus' => 'off', 'delay' => '9000', 'start_js_after_delay' => '0', 'image_source_type' => 'full', 0 => 'revapi39.bind(\\"revolution.slide.layeraction\\",function (e) { //data.eventtype - Layer Action (enterstage, enteredstage, leavestage,leftstage) //data.layertype - Layer Type (image,video,html) //data.layersettings - Default Settings for Layer //data.layer - Layer as jQuery Object });', 'start_with_slide' => '1', 'first_transition_active' => 'on', 'first_transition_type' => 'fade', 'first_transition_duration' => '1500', 'first_transition_slot_amount' => '7', 'stop_on_hover' => 'off', 'stop_slider' => 'on', 'stop_after_loops' => '0', 'stop_at_slide' => '1', 'shuffle' => 'off', 'viewport_start' => 'wait', 'viewport_area' => '80', 'enable_progressbar' => 'on', 'background_dotted_overlay' => 'none', 'background_color' => 'transparent', 'padding' => '0', 'show_background_image' => 'off', 'background_image' => '', 'bg_fit' => 'cover', 'bg_repeat' => 'no-repeat', 'bg_position' => 'center center', 'position' => 'center', 'use_spinner' => '-1', 'spinner_color' => '#FFFFFF', 'enable_arrows' => 'on', 'navigation_arrow_style' => 'navbar-old', 'arrows_always_on' => 'false', 'hide_arrows' => '200', 'hide_arrows_mobile' => '1200', 'hide_arrows_on_mobile' => 'off', 'arrows_under_hidden' => '600', 'hide_arrows_over' => 'off', 'arrows_over_hidden' => '0', 'leftarrow_align_hor' => 'left', 'leftarrow_align_vert' => 'center', 'leftarrow_offset_hor' => '30', 'leftarrow_offset_vert' => '0', 'rightarrow_align_hor' => 'right', 'rightarrow_align_vert' => 'center', 'rightarrow_offset_hor' => '30', 'rightarrow_offset_vert' => '0', 'enable_bullets' => 'off', 'navigation_bullets_style' => 'round-old', 'bullets_space' => '5', 'bullets_direction' => 'horizontal', 'bullets_always_on' => 'true', 'hide_bullets' => '200', 'hide_bullets_mobile' => '1200', 'hide_bullets_on_mobile' => 'on', 'bullets_under_hidden' => '600', 'hide_bullets_over' => 'off', 'bullets_over_hidden' => '0', 'bullets_align_hor' => 'center', 'bullets_align_vert' => 'bottom', 'bullets_offset_hor' => '0', 'bullets_offset_vert' => '30', 'enable_thumbnails' => 'on', 'thumbnails_padding' => '20', 'span_thumbnails_wrapper' => 'on', 'thumbnails_wrapper_color' => '#000000', 'thumbnails_wrapper_opacity' => '15', 'thumbnails_style' => 'navbar', 'thumb_amount' => '9', 'thumbnails_space' => '10', 'thumbnail_direction' => 'horizontal', 'thumb_width' => '60', 'thumb_height' => '60', 'thumb_width_min' => '60', 'thumbs_always_on' => 'false', 'hide_thumbs' => '200', 'hide_thumbs_mobile' => '1200', 'hide_thumbs_on_mobile' => 'off', 'thumbs_under_hidden' => '0', 'hide_thumbs_over' => 'off', 'thumbs_over_hidden' => '0', 'thumbnails_inner_outer' => 'inner', 'thumbnails_align_hor' => 'center', 'thumbnails_align_vert' => 'bottom', 'thumbnails_offset_hor' => '0', 'thumbnails_offset_vert' => '0', 'enable_tabs' => 'off', 'tabs_padding' => '5', 'span_tabs_wrapper' => 'off', 'tabs_wrapper_color' => 'transparent', 'tabs_wrapper_opacity' => '5', 'tabs_style' => '', 'tabs_amount' => '5', 'tabs_space' => '5', 'tabs_direction' => 'horizontal', 'tabs_width' => '100', 'tabs_height' => '50', 'tabs_width_min' => '100', 'tabs_always_on' => 'false', 'hide_tabs' => '200', 'hide_tabs_mobile' => '1200', 'hide_tabs_on_mobile' => 'off', 'tabs_under_hidden' => '0', 'hide_tabs_over' => 'off', 'tabs_over_hidden' => '0', 'tabs_inner_outer' => 'inner', 'tabs_align_hor' => 'center', 'tabs_align_vert' => 'bottom', 'tabs_offset_hor' => '0', 'tabs_offset_vert' => '20', 'touchenabled' => 'on', 'drag_block_vertical' => 'off', 'swipe_velocity' => '75', 'swipe_min_touches' => '50', 'swipe_direction' => 'horizontal', 'keyboard_navigation' => 'off', 'keyboard_direction' => 'horizontal', 'mousescroll_navigation' => 'off', 'carousel_infinity' => 'on', 'carousel_space' => '-150', 'carousel_borderr' => '0', 'carousel_borderr_unit' => '%', 'carousel_padding_top' => '0', 'carousel_padding_bottom' => '0', 'carousel_maxitems' => '5', 'carousel_stretch' => 'off', 'carousel_fadeout' => 'on', 'carousel_varyfade' => 'on', 'carousel_rotation' => 'on', 'carousel_varyrotate' => 'on', 'carousel_maxrotation' => '65', 'carousel_scale' => 'on', 'carousel_varyscale' => 'off', 'carousel_scaledown' => '55', 'carousel_hposition' => 'center', 'carousel_vposition' => 'center', 'use_parallax' => 'on', 'disable_parallax_mobile' => 'off', 'parallax_type' => 'mouse', 'parallax_origo' => 'slidercenter', 'parallax_speed' => '2000', 'parallax_level_1' => '2', 'parallax_level_2' => '3', 'parallax_level_3' => '4', 'parallax_level_4' => '5', 'parallax_level_5' => '6', 'parallax_level_6' => '7', 'parallax_level_7' => '12', 'parallax_level_8' => '16', 'parallax_level_9' => '10', 'parallax_level_10' => '50', 'lazy_load_type' => 'smart', 'seo_optimization' => 'none', 'simplify_ie8_ios4' => 'off', 'show_alternative_type' => 'off', 'show_alternate_image' => '', 'jquery_noconflict' => 'off', 'js_to_body' => 'false', 'output_type' => 'none', 'jquery_debugmode' => 'off', 'slider_type' => 'fullscreen', 'width' => '800', 'width_notebook' => '600', 'width_tablet' => '600', 'width_mobile' => '600', 'height' => '800', 'height_notebook' => '600', 'height_tablet' => '600', 'height_mobile' => '600', 'enable_custom_size_notebook' => 'off', 'enable_custom_size_tablet' => 'off', 'enable_custom_size_iphone' => 'off', 'main_overflow_hidden' => 'off', 'auto_height' => 'off', 'min_height' => '', 'custom_css' => '', 'custom_javascript' => '', ), ); $presets[] = array ( 'settings' => array ('class' => '', 'image' => RS_PLUGIN_URL.'admin/assets/images/sliderpresets/carousel_full_rounded.png', 'name' => 'Cover-Flow-Rounded', 'preset' => 'carouselpreset' ), 'values' => array ( 'next_slide_on_window_focus' => 'off', 'delay' => '9000', 'start_js_after_delay' => '0', 'image_source_type' => 'full', 0 => 'revapi39.bind(\\"revolution.slide.layeraction\\",function (e) { //data.eventtype - Layer Action (enterstage, enteredstage, leavestage,leftstage) //data.layertype - Layer Type (image,video,html) //data.layersettings - Default Settings for Layer //data.layer - Layer as jQuery Object });', 'start_with_slide' => '1', 'first_transition_active' => 'on', 'first_transition_type' => 'fade', 'first_transition_duration' => '1500', 'first_transition_slot_amount' => '7', 'stop_on_hover' => 'off', 'stop_slider' => 'on', 'stop_after_loops' => '0', 'stop_at_slide' => '1', 'shuffle' => 'off', 'viewport_start' => 'wait', 'viewport_area' => '80', 'enable_progressbar' => 'on', 'background_dotted_overlay' => 'none', 'background_color' => 'transparent', 'padding' => '0', 'show_background_image' => 'off', 'background_image' => '', 'bg_fit' => 'cover', 'bg_repeat' => 'no-repeat', 'bg_position' => 'center center', 'position' => 'center', 'use_spinner' => '-1', 'spinner_color' => '#FFFFFF', 'enable_arrows' => 'on', 'navigation_arrow_style' => 'round', 'arrows_always_on' => 'false', 'hide_arrows' => '200', 'hide_arrows_mobile' => '1200', 'hide_arrows_on_mobile' => 'off', 'arrows_under_hidden' => '600', 'hide_arrows_over' => 'off', 'arrows_over_hidden' => '0', 'leftarrow_align_hor' => 'left', 'leftarrow_align_vert' => 'center', 'leftarrow_offset_hor' => '30', 'leftarrow_offset_vert' => '0', 'rightarrow_align_hor' => 'right', 'rightarrow_align_vert' => 'center', 'rightarrow_offset_hor' => '30', 'rightarrow_offset_vert' => '0', 'enable_bullets' => 'off', 'navigation_bullets_style' => 'round-old', 'bullets_space' => '5', 'bullets_direction' => 'horizontal', 'bullets_always_on' => 'true', 'hide_bullets' => '200', 'hide_bullets_mobile' => '1200', 'hide_bullets_on_mobile' => 'on', 'bullets_under_hidden' => '600', 'hide_bullets_over' => 'off', 'bullets_over_hidden' => '0', 'bullets_align_hor' => 'center', 'bullets_align_vert' => 'bottom', 'bullets_offset_hor' => '0', 'bullets_offset_vert' => '30', 'enable_thumbnails' => 'on', 'thumbnails_padding' => '20', 'span_thumbnails_wrapper' => 'on', 'thumbnails_wrapper_color' => '#000000', 'thumbnails_wrapper_opacity' => '0', 'thumbnails_style' => 'preview1', 'thumb_amount' => '9', 'thumbnails_space' => '10', 'thumbnail_direction' => 'horizontal', 'thumb_width' => '60', 'thumb_height' => '60', 'thumb_width_min' => '60', 'thumbs_always_on' => 'false', 'hide_thumbs' => '200', 'hide_thumbs_mobile' => '1200', 'hide_thumbs_on_mobile' => 'off', 'thumbs_under_hidden' => '0', 'hide_thumbs_over' => 'off', 'thumbs_over_hidden' => '0', 'thumbnails_inner_outer' => 'inner', 'thumbnails_align_hor' => 'center', 'thumbnails_align_vert' => 'bottom', 'thumbnails_offset_hor' => '0', 'thumbnails_offset_vert' => '0', 'enable_tabs' => 'off', 'tabs_padding' => '5', 'span_tabs_wrapper' => 'off', 'tabs_wrapper_color' => 'transparent', 'tabs_wrapper_opacity' => '5', 'tabs_style' => '', 'tabs_amount' => '5', 'tabs_space' => '5', 'tabs_direction' => 'horizontal', 'tabs_width' => '100', 'tabs_height' => '50', 'tabs_width_min' => '100', 'tabs_always_on' => 'false', 'hide_tabs' => '200', 'hide_tabs_mobile' => '1200', 'hide_tabs_on_mobile' => 'off', 'tabs_under_hidden' => '0', 'hide_tabs_over' => 'off', 'tabs_over_hidden' => '0', 'tabs_inner_outer' => 'inner', 'tabs_align_hor' => 'center', 'tabs_align_vert' => 'bottom', 'tabs_offset_hor' => '0', 'tabs_offset_vert' => '20', 'touchenabled' => 'on', 'drag_block_vertical' => 'off', 'swipe_velocity' => '75', 'swipe_min_touches' => '50', 'swipe_direction' => 'horizontal', 'keyboard_navigation' => 'off', 'keyboard_direction' => 'horizontal', 'mousescroll_navigation' => 'off', 'carousel_infinity' => 'on', 'carousel_space' => '-150', 'carousel_borderr' => '50', 'carousel_borderr_unit' => '%', 'carousel_padding_top' => '0', 'carousel_padding_bottom' => '0', 'carousel_maxitems' => '5', 'carousel_stretch' => 'off', 'carousel_fadeout' => 'on', 'carousel_varyfade' => 'on', 'carousel_rotation' => 'off', 'carousel_varyrotate' => 'on', 'carousel_maxrotation' => '65', 'carousel_scale' => 'on', 'carousel_varyscale' => 'off', 'carousel_scaledown' => '55', 'carousel_hposition' => 'center', 'carousel_vposition' => 'center', 'use_parallax' => 'on', 'disable_parallax_mobile' => 'off', 'parallax_type' => 'mouse', 'parallax_origo' => 'slidercenter', 'parallax_speed' => '2000', 'parallax_level_1' => '2', 'parallax_level_2' => '3', 'parallax_level_3' => '4', 'parallax_level_4' => '5', 'parallax_level_5' => '6', 'parallax_level_6' => '7', 'parallax_level_7' => '12', 'parallax_level_8' => '16', 'parallax_level_9' => '10', 'parallax_level_10' => '50', 'lazy_load_type' => 'smart', 'seo_optimization' => 'none', 'simplify_ie8_ios4' => 'off', 'show_alternative_type' => 'off', 'show_alternate_image' => '', 'jquery_noconflict' => 'off', 'js_to_body' => 'false', 'output_type' => 'none', 'jquery_debugmode' => 'off', 'slider_type' => 'fullwidth', 'width' => '800', 'width_notebook' => '600', 'width_tablet' => '600', 'width_mobile' => '600', 'height' => '800', 'height_notebook' => '600', 'height_tablet' => '600', 'height_mobile' => '600', 'enable_custom_size_notebook' => 'off', 'enable_custom_size_tablet' => 'off', 'enable_custom_size_iphone' => 'off', 'main_overflow_hidden' => 'off', 'auto_height' => 'off', 'min_height' => '', 'custom_css' => '', 'custom_javascript' => '', ), ); //add the presets made from customers $customer_presets = get_option('revslider_presets', array()); $presets = array_merge($presets, $customer_presets); $presets = apply_filters('revslider_slider_presets', $presets); foreach($presets as $key => $preset){ if(intval($preset['settings']['image']) > 0){ $img = wp_get_attachment_image_src(esc_attr($preset['settings']['image']), 'medium'); $presets[$key]['settings']['image'] = ($img !== false) ? $img['0'] : ''; } } return $presets; } /* Provider: - * * * @since: 5.0 **/ public static function add_preset_setting($data){ if(!isset($data['settings']) || !isset($data['values'])) return __('Missing values to add preset', REVSLIDER_TEXTDOMAIN); $customer_presets = get_option('revslider_presets', array()); $data['settings']['custom'] = true; $customer_presets[] = array( 'settings' => $data['settings'], 'values' => $data['values'] ); update_option('revslider_presets', $customer_presets); return true; } /* Provider: - * * @since: 5.0 **/ public static function remove_preset_setting($data){ if(!isset($data['name'])) return __('Missing values to remove preset', REVSLIDER_TEXTDOMAIN); $customer_presets = get_option('revslider_presets', array()); if(!empty($customer_presets)){ foreach($customer_presets as $key => $preset){ if($preset['settings']['name'] == $data['name']){ unset($customer_presets[$key]); break; } } } update_option('revslider_presets', $customer_presets); return true; } /* Provider: - * * @since: 5.0 **/ public static function update_preset_setting($data){ if(!isset($data['name'])) return __('Missing values to update preset', REVSLIDER_TEXTDOMAIN); $customer_presets = get_option('revslider_presets', array()); if(!empty($customer_presets)){ foreach($customer_presets as $key => $preset){ if($preset['settings']['name'] == $data['name']){ $customer_presets[$key]['values'] = $data['values']; break; } } } update_option('revslider_presets', $customer_presets); return true; } } /* Provider: - * * old classname extends new one (old classnames will be obsolete soon) * @since: 5.0 **/ class RevOperations extends RevSliderOperations {} ?>