%PDF- %PDF-
Direktori : /home1/lightco1/luminero.com.au/libraries/nextend2/smartslider/smartslider/libraries/ |
Current File : //home1/lightco1/luminero.com.au/libraries/nextend2/smartslider/smartslider/libraries/storage.php |
<?php class N2SmartSliderStorage { public static function init() { N2Pluggable::addAction('fontStorage', 'N2SmartSliderStorage::fontStorage'); N2Pluggable::addAction('styleStorage', 'N2SmartSliderStorage::styleStorage'); N2Pluggable::addAction('animationStorage', 'N2SmartSliderStorage::animationStorage'); N2Pluggable::addAction('splitTextAnimationStorage', 'N2SmartSliderStorage::splitTextAnimationStorage'); N2Pluggable::addAction('backgroundAnimationStorage', 'N2SmartSliderStorage::backgroundAnimationStorage'); N2Pluggable::addAction('postBackgroundAnimationStorage', 'N2SmartSliderStorage::postBackgroundAnimationStorage'); N2Pluggable::addAction('layoutStorage', 'N2SmartSliderStorage::layoutStorage'); } public static function styleStorage(&$sets, &$styles) { N2Base::getApplicationInfo('smartslider') ->loadLocale(); array_push($sets, array( 'id' => 1000, 'referencekey' => '', 'value' => n2_('Heading') )); array_push($styles, array( 'id' => 1001, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Blue'), 'data' => array( array( 'backgroundcolor' => '01add3ff', 'padding' => '5|*|20|*|5|*|20|*|px', ), ), ) )); array_push($styles, array( 'id' => 1002, 'referencekey' => 1000, 'value' => array( 'name' => n2_('White'), 'data' => array( array( 'backgroundcolor' => 'ffffffcc', 'padding' => '5|*|20|*|5|*|20|*|px', ), ), ) )); array_push($styles, array( 'id' => 1003, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Green'), 'data' => array( array( 'backgroundcolor' => '5cba3cff', 'padding' => '5|*|20|*|5|*|20|*|px', ), ), ) )); array_push($styles, array( 'id' => 1004, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Purple'), 'data' => array( array( 'backgroundcolor' => '8757b2ff', 'padding' => '5|*|20|*|5|*|20|*|px', ), ), ) )); array_push($styles, array( 'id' => 1005, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Grey'), 'data' => array( array( 'backgroundcolor' => '81898dff', 'padding' => '5|*|20|*|5|*|20|*|px', ), ), ) )); array_push($styles, array( 'id' => 1006, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Black'), 'data' => array( array( 'backgroundcolor' => '000000cc', 'padding' => '5|*|20|*|5|*|20|*|px', ), ), ) )); array_push($styles, array( 'id' => 1007, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Rounded Blue'), 'data' => array( array( 'backgroundcolor' => '01add3ff', 'padding' => '5|*|20|*|5|*|20|*|px', 'borderradius' => '3', ), ), ) )); array_push($styles, array( 'id' => 1008, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Rounded Green'), 'data' => array( array( 'backgroundcolor' => '5cba3cff', 'padding' => '5|*|20|*|5|*|20|*|px', 'borderradius' => '3', ), ), ) )); array_push($styles, array( 'id' => 1009, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Rounded Purple'), 'data' => array( array( 'backgroundcolor' => '8757b2ff', 'padding' => '5|*|20|*|5|*|20|*|px', 'borderradius' => '3', ), ), ) )); array_push($styles, array( 'id' => 1010, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Rounded Grey'), 'data' => array( array( 'backgroundcolor' => '81898dff', 'padding' => '5|*|20|*|5|*|20|*|px', 'borderradius' => '3', ), ), ) )); array_push($styles, array( 'id' => 1011, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Rounded White'), 'data' => array( array( 'backgroundcolor' => 'ffffffcc', 'padding' => '5|*|20|*|5|*|20|*|px', 'borderradius' => '3', ), ), ) )); array_push($styles, array( 'id' => 1012, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Rounded Black'), 'data' => array( array( 'backgroundcolor' => '000000cc', 'padding' => '5|*|20|*|5|*|20|*|px', 'borderradius' => '3', ), ), ) )); array_push($styles, array( 'id' => 1013, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Border White'), 'data' => array( array( 'backgroundcolor' => '00000000', 'padding' => '5|*|20|*|5|*|20|*|px', 'border' => '2|*|solid|*|ffffffff', ), ), ) )); array_push($styles, array( 'id' => 1014, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Border Dark'), 'data' => array( array( 'backgroundcolor' => '00000000', 'padding' => '5|*|20|*|5|*|20|*|px', 'border' => '2|*|solid|*|000000cc', ), ), ) )); array_push($sets, array( 'id' => 1100, 'referencekey' => '', 'value' => n2_('Button') )); array_push($styles, array( 'id' => 1101, 'referencekey' => 1100, 'value' => array( 'name' => n2_('Rectangle Green'), 'data' => array( array( 'backgroundcolor' => '5cba3cff', 'padding' => '10|*|30|*|10|*|30|*|px', ), ), ) )); array_push($styles, array( 'id' => 1102, 'referencekey' => 1100, 'value' => array( 'name' => n2_('Rectangle Blue'), 'data' => array( array( 'backgroundcolor' => '01add3ff', 'padding' => '10|*|30|*|10|*|30|*|px', ), ), ) )); array_push($styles, array( 'id' => 1103, 'referencekey' => 1100, 'value' => array( 'name' => n2_('Rectangle Purple'), 'data' => array( array( 'backgroundcolor' => '8757b2ff', 'padding' => '10|*|30|*|10|*|30|*|px', ), ), ) )); array_push($styles, array( 'id' => 1104, 'referencekey' => 1100, 'value' => array( 'name' => n2_('Rectangle Grey'), 'data' => array( array( 'backgroundcolor' => '81898dff', 'padding' => '10|*|30|*|10|*|30|*|px', ), ), ) )); array_push($styles, array( 'id' => 1105, 'referencekey' => 1100, 'value' => array( 'name' => n2_('Rounded Rectangle Green'), 'data' => array( array( 'backgroundcolor' => '5cba3cff', 'padding' => '10|*|30|*|10|*|30|*|px', 'borderradius' => '3', ), array( 'backgroundcolor' => '58ad3bff', ), ), ) )); array_push($styles, array( 'id' => 1106, 'referencekey' => 1100, 'value' => array( 'name' => n2_('Rounded Rectangle Blue'), 'data' => array( array( 'backgroundcolor' => '01add3ff', 'padding' => '10|*|30|*|10|*|30|*|px', 'borderradius' => '3', ), array( 'backgroundcolor' => '04a0c3ff', ), ), ) )); array_push($styles, array( 'id' => 1107, 'referencekey' => 1100, 'value' => array( 'name' => n2_('Rounded Rectangle Purple'), 'data' => array( array( 'backgroundcolor' => '8757b2ff', 'padding' => '10|*|30|*|10|*|30|*|px', 'borderradius' => '3', ), array( 'backgroundcolor' => '7b51a1ff', ), ), ) )); array_push($styles, array( 'id' => 1108, 'referencekey' => 1100, 'value' => array( 'name' => n2_('Rounded Grey'), 'data' => array( array( 'backgroundcolor' => '81898dff', 'padding' => '10|*|30|*|10|*|30|*|px', 'borderradius' => '3', ), ), ) )); array_push($styles, array( 'id' => 1109, 'referencekey' => 1100, 'value' => array( 'name' => n2_('Rounded Green'), 'data' => array( array( 'backgroundcolor' => '5cba3cff', 'padding' => '10|*|30|*|10|*|30|*|px', 'borderradius' => '30', ), ), ) )); array_push($styles, array( 'id' => 1110, 'referencekey' => 1100, 'value' => array( 'name' => n2_('Rounded Blue'), 'data' => array( array( 'backgroundcolor' => '01add3ff', 'padding' => '10|*|30|*|10|*|30|*|px', 'borderradius' => '30', ), ), ) )); array_push($styles, array( 'id' => 1111, 'referencekey' => 1100, 'value' => array( 'name' => n2_('Rounded Purple'), 'data' => array( array( 'backgroundcolor' => '8757b2ff', 'padding' => '10|*|30|*|10|*|30|*|px', 'borderradius' => '30', ), ), ) )); array_push($styles, array( 'id' => 1112, 'referencekey' => 1100, 'value' => array( 'name' => n2_('Rounded Grey'), 'data' => array( array( 'backgroundcolor' => '81898dff', 'padding' => '10|*|30|*|10|*|30|*|px', 'borderradius' => '30', ), ), ) )); array_push($styles, array( 'id' => 1113, 'referencekey' => 1100, 'value' => array( 'name' => n2_('Border Dark'), 'data' => array( array( 'backgroundcolor' => '00000000', 'padding' => '10|*|30|*|10|*|30|*|px', 'border' => '2|*|solid|*|000000cc', ), ), ) )); array_push($styles, array( 'id' => 1114, 'referencekey' => 1100, 'value' => array( 'name' => n2_('Border Light'), 'data' => array( array( 'backgroundcolor' => '00000000', 'padding' => '10|*|30|*|10|*|30|*|px', 'border' => '2|*|solid|*|ffffffff', ), ), ) )); array_push($sets, array( 'id' => 1800, 'referencekey' => '', 'value' => n2_('Other') )); array_push($styles, array( 'id' => 1801, 'referencekey' => 1800, 'value' => array( 'name' => n2_('List'), 'data' => array( array( 'padding' => '10|*|20|*|10|*|20|*|px', 'extra' => 'margin:0;' ), ), ) )); array_push($sets, array( 'id' => 1900, 'referencekey' => '', 'value' => n2_('My styles') )); } public static function fontStorage(&$sets, &$fonts) { N2Base::getApplicationInfo('smartslider') ->loadLocale(); array_push($sets, array( 'id' => 1000, 'referencekey' => '', 'value' => n2_('Default') )); array_push($fonts, array( 'id' => 1001, 'referencekey' => 1000, 'value' => array( 'name' => n2_('X-small Light'), 'data' => array( array( 'color' => 'ffffffff', 'size' => '12||px', ), ), ) )); array_push($fonts, array( 'id' => 1002, 'referencekey' => 1000, 'value' => array( 'name' => n2_('X-small Dark'), 'data' => array( array( 'color' => '282828ff', 'size' => '12||px', ), ), ) )); array_push($fonts, array( 'id' => 1003, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Small Light'), 'data' => array( array( 'color' => 'ffffffff', 'size' => '14||px', ), ), ) )); array_push($fonts, array( 'id' => 1004, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Small Dark'), 'data' => array( array( 'color' => '282828ff', 'size' => '14||px', ), ), ) )); array_push($fonts, array( 'id' => 1005, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Medium Light'), 'data' => array( array( 'color' => 'ffffffff', 'size' => '24||px', ), ), ) )); array_push($fonts, array( 'id' => 1006, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Medium Dark'), 'data' => array( array( 'color' => '282828ff', 'size' => '24||px', ), ), ) )); array_push($fonts, array( 'id' => 1007, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Large Light'), 'data' => array( array( 'color' => 'ffffffff', 'size' => '30||px', ), ), ) )); array_push($fonts, array( 'id' => 1008, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Large Dark'), 'data' => array( array( 'color' => '282828ff', 'size' => '30||px', ), ), ) )); array_push($fonts, array( 'id' => 1009, 'referencekey' => 1000, 'value' => array( 'name' => n2_('X-large Light'), 'data' => array( array( 'color' => 'ffffffff', 'size' => '36||px', ), ), ) )); array_push($fonts, array( 'id' => 1010, 'referencekey' => 1000, 'value' => array( 'name' => n2_('X-large Dark'), 'data' => array( array( 'color' => '282828ff', 'size' => '36||px', ), ), ) )); array_push($sets, array( 'id' => 1100, 'referencekey' => '', 'value' => n2_('Center') )); array_push($fonts, array( 'id' => 1101, 'referencekey' => 1100, 'value' => array( 'name' => n2_('X-small Light'), 'data' => array( array( 'color' => 'ffffffff', 'size' => '12||px', 'align' => 'center' ), ), ) )); array_push($fonts, array( 'id' => 1102, 'referencekey' => 1100, 'value' => array( 'name' => n2_('X-small Dark'), 'data' => array( array( 'color' => '282828ff', 'size' => '12||px', 'align' => 'center' ), ), ) )); array_push($fonts, array( 'id' => 1103, 'referencekey' => 1100, 'value' => array( 'name' => n2_('Small Light'), 'data' => array( array( 'color' => 'ffffffff', 'size' => '14||px', 'align' => 'center' ), ), ) )); array_push($fonts, array( 'id' => 1104, 'referencekey' => 1100, 'value' => array( 'name' => n2_('Small Dark'), 'data' => array( array( 'color' => '282828ff', 'size' => '14||px', 'align' => 'center' ), ), ) )); array_push($fonts, array( 'id' => 1105, 'referencekey' => 1100, 'value' => array( 'name' => n2_('Medium Light'), 'data' => array( array( 'color' => 'ffffffff', 'size' => '24||px', 'align' => 'center' ), ), ) )); array_push($fonts, array( 'id' => 1106, 'referencekey' => 1100, 'value' => array( 'name' => n2_('Medium Dark'), 'data' => array( array( 'color' => '282828ff', 'size' => '24||px', 'align' => 'center' ), ), ) )); array_push($fonts, array( 'id' => 1107, 'referencekey' => 1100, 'value' => array( 'name' => n2_('Large Light'), 'data' => array( array( 'color' => 'ffffffff', 'size' => '30||px', 'align' => 'center' ), ), ) )); array_push($fonts, array( 'id' => 1108, 'referencekey' => 1100, 'value' => array( 'name' => n2_('Large Dark'), 'data' => array( array( 'color' => '282828ff', 'size' => '30||px', 'align' => 'center' ), ), ) )); array_push($fonts, array( 'id' => 1109, 'referencekey' => 1100, 'value' => array( 'name' => n2_('X-large Light'), 'data' => array( array( 'color' => 'ffffffff', 'size' => '36||px', 'align' => 'center' ), ), ) )); array_push($fonts, array( 'id' => 1110, 'referencekey' => 1100, 'value' => array( 'name' => n2_('X-large Dark'), 'data' => array( array( 'color' => '282828ff', 'size' => '36||px', 'align' => 'center' ), ), ) )); array_push($sets, array( 'id' => 1300, 'referencekey' => '', 'value' => n2_('Link') )); array_push($fonts, array( 'id' => 1303, 'referencekey' => 1300, 'value' => array( 'name' => n2_('Small Light'), 'data' => array( array( 'color' => 'ffffffff', 'size' => '14||px', 'align' => 'left' ), array( 'color' => '1890d7ff' ), ), ) )); array_push($fonts, array( 'id' => 1304, 'referencekey' => 1300, 'value' => array( 'name' => n2_('Small Dark'), 'data' => array( array( 'color' => '282828ff', 'size' => '14||px', 'align' => 'left' ), array( 'color' => '1890d7ff' ), ), ) )); array_push($sets, array( 'id' => 1900, 'referencekey' => '', 'value' => n2_('My fonts') )); } public static function animationStorage(&$sets, &$animations) { N2Base::getApplicationInfo('smartslider') ->loadLocale(); array_push($sets, array( 'id' => 1000, 'referencekey' => '', 'value' => n2_('Simple') )); array_push($animations, array( 'id' => 1001, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Fade'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '50|*|50|*|0', 'animations' => array( array( 'name' => n2_('Fade'), 'opacity' => 0 ) ) ) ) )); array_push($animations, array( 'id' => 1002, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Left fade'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '50|*|50|*|0', 'animations' => array( array( 'name' => n2_('Left fade'), 'opacity' => 0, 'x' => 400 ) ) ) ) )); array_push($animations, array( 'id' => 1003, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Right fade'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '50|*|50|*|0', 'animations' => array( array( 'name' => n2_('Right fade'), 'opacity' => 0, 'x' => -400 ) ) ) ) )); array_push($animations, array( 'id' => 1004, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Top fade'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '50|*|50|*|0', 'animations' => array( array( 'name' => n2_('Top fade'), 'opacity' => 0, 'y' => 400, ) ) ) ) )); array_push($animations, array( 'id' => 1005, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Bottom fade'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '50|*|50|*|0', 'animations' => array( array( 'name' => n2_('Bottom fade'), 'opacity' => 0, 'y' => -400 ) ) ) ) )); array_push($animations, array( 'id' => 1006, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Left'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '50|*|50|*|0', 'animations' => array( array( 'name' => n2_('Left'), 'x' => 400 ) ) ) ) )); array_push($animations, array( 'id' => 1007, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Right'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '50|*|50|*|0', 'animations' => array( array( 'name' => n2_('Right'), 'x' => -400 ) ) ) ) )); array_push($animations, array( 'id' => 1008, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Top'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '50|*|50|*|0', 'animations' => array( array( 'name' => n2_('Top'), 'y' => 400, ) ) ) ) )); array_push($animations, array( 'id' => 1009, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Bottom'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '50|*|50|*|0', 'animations' => array( array( 'name' => n2_('Bottom'), 'y' => -400 ) ) ) ) )); array_push($animations, array( 'id' => 1010, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Downscaled'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '50|*|50|*|0', 'animations' => array( array( 'name' => n2_('Downscaled'), 'scaleX' => 0, 'scaleY' => 0 ) ) ) ) )); array_push($animations, array( 'id' => 1011, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Upscaled'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '50|*|50|*|0', 'animations' => array( array( 'name' => n2_('Upscaled'), 'scaleX' => 2, 'scaleY' => 2, 'opacity' => 0 ) ) ) ) )); array_push($animations, array( 'id' => 1012, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Flip left'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '0|*|50|*|0', 'animations' => array( array( 'name' => n2_('Flip left'), 'opacity' => 0, 'rotationY' => -90 ) ) ) ) )); array_push($animations, array( 'id' => 1013, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Flip right'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '100|*|50|*|0', 'animations' => array( array( 'name' => n2_('Flip right'), 'opacity' => 0, 'rotationY' => 90 ) ) ) ) )); array_push($animations, array( 'id' => 1014, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Flip down'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '50|*|0|*|0', 'animations' => array( array( 'name' => n2_('Flip down'), 'opacity' => 0, 'rotationX' => 90 ) ) ) ) )); array_push($animations, array( 'id' => 1015, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Flip up'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '50|*|100|*|0', 'animations' => array( array( 'name' => n2_('Flip up'), 'opacity' => 0, 'rotationX' => -90 ) ) ) ) )); array_push($animations, array( 'id' => 1016, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Rotate top left'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '0|*|0|*|0', 'animations' => array( array( 'name' => n2_('Rotate top left'), 'duration' => 1, 'opacity' => 0, 'rotationZ' => 90 ) ) ) ) )); array_push($animations, array( 'id' => 1017, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Rotate top right'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '100|*|0|*|0', 'animations' => array( array( 'name' => n2_('Rotate top right'), 'duration' => 1, 'opacity' => 0, 'rotationZ' => -90 ) ) ) ) )); array_push($animations, array( 'id' => 1018, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Roll in'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '50|*|50|*|0', 'animations' => array( array( 'name' => n2_('Roll in'), 'duration' => 1, 'x' => 500, 'rotationZ' => 360 ) ) ) ) )); array_push($sets, array( 'id' => 1100, 'referencekey' => '', 'value' => n2_('Chain') )); array_push($animations, array( 'id' => 1101, 'referencekey' => 1100, 'value' => array( 'name' => n2_('Flap'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '50|*|0|*|0', 'animations' => array( array( 'name' => n2_('Flap In'), 'ease' => 'easeInOutCubic', 'duration' => 0.5, 'opacity' => 0, 'rotationX' => 90 ), array( 'name' => n2_('Flap Back'), 'ease' => 'easeInOutCubic', 'duration' => 0.5, 'opacity' => 1, 'rotationX' => -50 ) ) ) ) )); array_push($animations, array( 'id' => 1102, 'referencekey' => 1100, 'value' => array( 'name' => n2_('Bounce'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '50|*|50|*|0', 'animations' => array( array( 'name' => n2_('Bounce zero'), 'ease' => 'easeOutCubic', 'duration' => 0.18 ), array( 'name' => n2_('Bounce up'), 'ease' => 'easeInQuint', 'duration' => 0.18, 'y' => 30 ), array( 'name' => n2_('Bounce zero'), 'ease' => 'easeOutCubic', 'duration' => 0.15 ), array( 'name' => n2_('Bounce up'), 'ease' => 'easeInQuint', 'duration' => 0.15, 'y' => 15 ), array( 'name' => n2_('Bounce zero'), 'ease' => 'easeOutCubic', 'duration' => 0.12 ), array( 'name' => n2_('Bounce up'), 'ease' => 'easeInQuint', 'duration' => 0.12, 'y' => 8 ) ) ) ) )); array_push($animations, array( 'id' => 1103, 'referencekey' => 1100, 'value' => array( 'name' => n2_('Flash'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '50|*|50|*|0', 'animations' => array( array( 'name' => n2_('Show'), 'ease' => 'easeOutCubic', 'duration' => 0.25, 'opacity' => 1 ), array( 'name' => n2_('Hide'), 'ease' => 'easeOutCubic', 'duration' => 0.25, 'opacity' => 0 ), array( 'name' => n2_('Show'), 'ease' => 'easeOutCubic', 'duration' => 0.25, 'opacity' => 1 ), array( 'name' => n2_('Hide'), 'ease' => 'easeOutCubic', 'duration' => 0.25, 'opacity' => 0 ) ) ) ) )); array_push($animations, array( 'id' => 1104, 'referencekey' => 1100, 'value' => array( 'name' => n2_('Pulse'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '50|*|50|*|0', 'animations' => array( array( 'name' => n2_('Pulse'), 'ease' => 'easeOutCubic', 'duration' => 0.5 ), array( 'name' => n2_('Pulse back'), 'ease' => 'easeOutCubic', 'duration' => 0.5, 'scaleX' => 1.05, 'scaleY' => 1.05 ) ) ) ) )); array_push($animations, array( 'id' => 1105, 'referencekey' => 1100, 'value' => array( 'name' => n2_('Rubber band'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '50|*|50|*|0', 'animations' => array( array( 'name' => n2_('Rubber band'), 'ease' => 'easeOutCubic', 'duration' => 0.3 ), array( 'name' => n2_('Horizontal grow'), 'ease' => 'easeOutCubic', 'duration' => 0.1, 'scaleX' => 1.25, 'scaleY' => 0.75 ), array( 'name' => n2_('Vertical grow'), 'ease' => 'easeOutCubic', 'duration' => 0.1, 'scaleX' => 0.75, 'scaleY' => 1.25 ), array( 'name' => n2_('Horizontal grow'), 'ease' => 'easeOutCubic', 'duration' => 0.15, 'scaleX' => 1.15, 'scaleY' => 0.85 ), array( 'name' => n2_('Vertical grow'), 'ease' => 'easeOutCubic', 'duration' => 0.1, 'scaleX' => 0.95, 'scaleY' => 1.05 ), array( 'name' => n2_('Horizontal grow'), 'ease' => 'easeOutCubic', 'duration' => 0.25, 'scaleX' => 1.05, 'scaleY' => 0.95 ) ) ) ) )); array_push($animations, array( 'id' => 1106, 'referencekey' => 1100, 'value' => array( 'name' => n2_('Shake'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '50|*|50|*|0', 'animations' => array( array( 'name' => n2_('Shake'), 'ease' => 'easeOutCubic', 'duration' => 0.1 ), array( 'name' => n2_('Shake left'), 'ease' => 'easeOutCubic', 'duration' => 0.1, 'x' => 10 ), array( 'name' => n2_('Shake right'), 'ease' => 'easeOutCubic', 'duration' => 0.1, 'x' => -10 ), array( 'name' => n2_('Shake left'), 'ease' => 'easeOutCubic', 'duration' => 0.1, 'x' => 10 ), array( 'name' => n2_('Shake right'), 'ease' => 'easeOutCubic', 'duration' => 0.1, 'x' => -10 ), array( 'name' => n2_('Shake left'), 'ease' => 'easeOutCubic', 'duration' => 0.1, 'x' => 10 ), array( 'name' => n2_('Shake right'), 'ease' => 'easeOutCubic', 'duration' => 0.1, 'x' => -10 ), array( 'name' => n2_('Shake left'), 'ease' => 'easeOutCubic', 'duration' => 0.1, 'x' => 10 ), array( 'name' => n2_('Shake right'), 'ease' => 'easeOutCubic', 'duration' => 0.1, 'x' => -10 ), array( 'name' => n2_('Shake left'), 'ease' => 'easeOutCubic', 'duration' => 0.1, 'x' => 10 ) ) ) ) )); array_push($animations, array( 'id' => 1107, 'referencekey' => 1100, 'value' => array( 'name' => n2_('Swing'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '50|*|0|*|0', 'animations' => array( array( 'name' => n2_('Swing'), 'ease' => 'easeOutCubic', 'duration' => 0.2 ), array( 'name' => n2_('Swing right'), 'duration' => 0.2, 'rotationZ' => -15 ), array( 'name' => n2_('Swing left'), 'duration' => 0.2, 'rotationZ' => -10 ), array( 'name' => n2_('Swing right'), 'duration' => 0.2, 'rotationZ' => -5 ), array( 'name' => n2_('Swing left'), 'duration' => 0.2, 'rotationZ' => -5 ) ) ) ) )); array_push($animations, array( 'id' => 1108, 'referencekey' => 1100, 'value' => array( 'name' => n2_('Wooble'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '50|*|50|*|0', 'animations' => array( array( 'name' => n2_('Wooble'), 'ease' => 'easeOutCubic', 'duration' => 0.1 ), array( 'name' => n2_('Lower'), 'duration' => 0.1, 'scaleX' => 0.9, 'scaleY' => 0.9, 'rotationZ' => 3 ), array( 'name' => n2_('Lower'), 'duration' => 0.1, 'scaleX' => 0.9, 'scaleY' => 0.9, 'rotationZ' => 3 ), array( 'name' => n2_('Grow'), 'duration' => 0.1, 'scaleX' => 1.1, 'scaleY' => 1.1, 'rotationZ' => -3 ), array( 'name' => n2_('Grow'), 'duration' => 0.1, 'scaleX' => 1.1, 'scaleY' => 1.1, 'rotationZ' => 3, 'x' => -10 ), array( 'name' => n2_('Grow'), 'duration' => 0.1, 'scaleX' => 1.1, 'scaleY' => 1.1, 'rotationZ' => -3, 'x' => 10 ), array( 'name' => n2_('Grow'), 'duration' => 0.1, 'scaleX' => 1.1, 'scaleY' => 1.1, 'rotationZ' => 3, 'x' => -10 ), array( 'name' => n2_('Grow'), 'duration' => 0.1, 'scaleX' => 1.1, 'scaleY' => 1.1, 'rotationZ' => -3, 'x' => 10 ), array( 'name' => n2_('Grow'), 'duration' => 0.1, 'scaleX' => 1.1, 'scaleY' => 1.1, 'rotationZ' => 3 ), array( 'name' => n2_('Grow'), 'duration' => 0.1, 'scaleX' => 1.1, 'scaleY' => 1.1, 'rotationZ' => -3 ) ) ) ) )); array_push($animations, array( 'id' => 1109, 'referencekey' => 1100, 'value' => array( 'name' => n2_('Bounce in'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '50|*|50|*|0', 'animations' => array( array( 'name' => n2_('Bounce in'), 'ease' => 'easeOutCubic', 'duration' => 0.2, 'opacity' => 0, 'scaleX' => 0.3, 'scaleY' => 0.3 ), array( 'name' => n2_('Upscale'), 'ease' => 'easeOutCubic', 'duration' => 0.2, 'opacity' => .33, 'scaleX' => 1.1, 'scaleY' => 1.1 ), array( 'name' => n2_('Downscale'), 'ease' => 'easeOutCubic', 'duration' => 0.2, 'opacity' => .66, 'scaleX' => .9, 'scaleY' => .9 ), array( 'name' => n2_('Upscale'), 'ease' => 'easeOutCubic', 'duration' => 0.2, 'opacity' => 1, 'scaleX' => 1.03, 'scaleY' => 1.03 ), array( 'name' => n2_('Downscale'), 'ease' => 'easeOutCubic', 'duration' => 0.2, 'opacity' => 1, 'scaleX' => .97, 'scaleY' => .97 ) ) ) ) )); array_push($animations, array( 'id' => 1110, 'referencekey' => 1100, 'value' => array( 'name' => n2_('Bounce in left'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '50|*|50|*|0', 'animations' => array( array( 'name' => n2_('Bounce in left'), 'duration' => 0.6, 'opacity' => 0, 'x' => 3000 ), array( 'name' => n2_('Right'), 'duration' => 0.15, 'opacity' => 1, 'x' => -25 ), array( 'name' => n2_('Left'), 'duration' => 0.15, 'x' => 10 ), array( 'name' => n2_('Right'), 'duration' => 0.15, 'x' => -5 ) ) ) ) )); array_push($animations, array( 'id' => 1111, 'referencekey' => 1100, 'value' => array( 'name' => n2_('Bounce in right'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '50|*|50|*|0', 'animations' => array( array( 'name' => n2_('Bounce in right'), 'duration' => 0.6, 'opacity' => 0, 'x' => -3000 ), array( 'name' => n2_('Left'), 'duration' => 0.15, 'opacity' => 1, 'x' => 25 ), array( 'name' => n2_('Right'), 'duration' => 0.15, 'x' => -10 ), array( 'name' => n2_('Left'), 'duration' => 0.15, 'x' => 5 ) ) ) ) )); array_push($animations, array( 'id' => 1112, 'referencekey' => 1100, 'value' => array( 'name' => n2_('Bounce in down'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '50|*|50|*|0', 'animations' => array( array( 'name' => n2_('Bounce in down'), 'duration' => 0.6, 'opacity' => 0, 'y' => 3000 ), array( 'name' => n2_('Up'), 'duration' => 0.15, 'opacity' => 1, 'y' => -25 ), array( 'name' => n2_('Down'), 'duration' => 0.15, 'y' => 10 ), array( 'name' => n2_('Up'), 'duration' => 0.15, 'y' => -5 ) ) ) ) )); array_push($animations, array( 'id' => 1113, 'referencekey' => 1100, 'value' => array( 'name' => n2_('Bounce in up'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '50|*|50|*|0', 'animations' => array( array( 'name' => n2_('Bounce in up'), 'duration' => 0.6, 'opacity' => 0, 'y' => -3000 ), array( 'name' => n2_('Down'), 'duration' => 0.15, 'opacity' => 1, 'y' => 25 ), array( 'name' => n2_('Up'), 'duration' => 0.15, 'y' => -10 ), array( 'name' => n2_('Down'), 'duration' => 0.15, 'y' => 5 ) ) ) ) )); array_push($animations, array( 'id' => 1114, 'referencekey' => 1100, 'value' => array( 'name' => n2_('Flip in X'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '50|*|50|*|0', 'animations' => array( array( 'name' => n2_('Flip in X'), 'duration' => 0.4, 'opacity' => 0, 'rotationY' => -90 ), array( 'name' => n2_('Right'), 'duration' => 0.2, 'opacity' => 0.5, 'rotationY' => 20 ), array( 'name' => n2_('Left'), 'duration' => 0.2, 'opacity' => 1, 'rotationY' => -10 ), array( 'name' => n2_('Right'), 'duration' => 0.2, 'rotationY' => 5 ) ) ) ) )); array_push($animations, array( 'id' => 1114, 'referencekey' => 1100, 'value' => array( 'name' => n2_('Flip in Y'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '50|*|50|*|0', 'animations' => array( array( 'name' => n2_('Flip in Y'), 'duration' => 0.4, 'opacity' => 0, 'rotationX' => -90 ), array( 'name' => n2_('Up'), 'duration' => 0.2, 'opacity' => 0.5, 'rotationX' => 20 ), array( 'name' => n2_('Down'), 'duration' => 0.2, 'opacity' => 1, 'rotationX' => -10 ), array( 'name' => n2_('Up'), 'duration' => 0.2, 'rotationX' => 5 ) ) ) ) )); array_push($sets, array( 'id' => 1200, 'referencekey' => '', 'value' => n2_('Loop') )); array_push($animations, array( 'id' => 1201, 'referencekey' => 1200, 'value' => array( 'name' => n2_('Pulse'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '50|*|50|*|0', 'animations' => array( array( 'name' => n2_('Pulse'), 'duration' => .5, 'scaleX' => 1.05, 'scaleY' => 1.05 ) ) ) ) )); array_push($animations, array( 'id' => 1202, 'referencekey' => 1200, 'value' => array( 'name' => n2_('Shrink'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '50|*|50|*|0', 'animations' => array( array( 'name' => n2_('Shrink'), 'duration' => .5, 'scaleX' => .8, 'scaleY' => .8 ) ) ) ) )); array_push($animations, array( 'id' => 1203, 'referencekey' => 1200, 'value' => array( 'name' => n2_('Slide'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '50|*|50|*|0', 'animations' => array( array( 'name' => n2_('Slide'), 'duration' => .5, 'x' => 200 ) ) ) ) )); array_push($animations, array( 'id' => 1204, 'referencekey' => 1200, 'value' => array( 'name' => n2_('Roll'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '50|*|50|*|0', 'animations' => array( array( 'name' => n2_('Roll'), 'ease' => 'linear', 'duration' => 1, 'rotationZ' => 360 ) ) ) ) )); array_push($animations, array( 'id' => 1205, 'referencekey' => 1200, 'value' => array( 'name' => n2_('Grow rotate'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '50|*|50|*|0', 'animations' => array( array( 'name' => n2_('Grow rotate'), 'duration' => 0.5, 'rotationZ' => 10, 'scaleX' => 1.15, 'scaleY' => 1.15 ) ) ) ) )); array_push($animations, array( 'id' => 1206, 'referencekey' => 1200, 'value' => array( 'name' => n2_('Skew'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '50|*|50|*|0', 'animations' => array( array( 'name' => n2_('Skew'), 'duration' => 0.5, 'skewX' => -15 ) ) ) ) )); array_push($animations, array( 'id' => 1207, 'referencekey' => 1200, 'value' => array( 'name' => n2_('Swing'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '50|*|0|*|0', 'animations' => array( array( 'name' => n2_('Swing'), 'duration' => 0.5, 'ease' => 'easeInOutCubic', 'rotationZ' => 10 ), array( 'name' => n2_('Right'), 'duration' => 0.5, 'ease' => 'easeInOutCubic', 'rotationZ' => -10 ) ) ) ) )); array_push($animations, array( 'id' => 1208, 'referencekey' => 1200, 'value' => array( 'name' => n2_('Pendulum'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '50|*|-300|*|0', 'animations' => array( array( 'name' => n2_('Pendulum'), 'duration' => 0.5, 'ease' => 'easeInOutCubic', 'rotationZ' => 10 ), array( 'name' => n2_('Right'), 'duration' => 0.5, 'ease' => 'easeInOutCubic', 'rotationZ' => -10 ) ) ) ) )); array_push($animations, array( 'id' => 1209, 'referencekey' => 1200, 'value' => array( 'name' => n2_('Pendulum 3D'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '50|*|-80|*|20', 'animations' => array( array( 'name' => n2_('Pendulum 3D'), 'duration' => 2, 'ease' => 'easeInOutCubic', 'x' => 30, 'rotationX' => 8, 'rotationY' => 10 ), array( 'name' => n2_('Right'), 'duration' => 2, 'ease' => 'easeInOutCubic', 'x' => -30, 'rotationX' => 8, 'rotationY' => -10 ) ) ) ) )); array_push($animations, array( 'id' => 1210, 'referencekey' => 1200, 'value' => array( 'name' => n2_('Vertical pendulum 3D'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '-80|*|50|*|20', 'animations' => array( array( 'name' => n2_('Vertical pendulum 3D'), 'duration' => 2, 'ease' => 'easeInOutCubic', 'y' => 30, 'rotationX' => -10 ), array( 'name' => n2_('Right'), 'duration' => 2, 'ease' => 'easeInOutCubic', 'y' => -30, 'rotationX' => 10 ) ) ) ) )); array_push($animations, array( 'id' => 1211, 'referencekey' => 1200, 'value' => array( 'name' => n2_('Shake'), 'data' => array( 'specialZero' => 0, 'transformOrigin' => '50|*|50|*|0', 'animations' => array( array( 'name' => n2_('Shake'), 'duration' => .05, 'x' => 10 ), array( 'name' => n2_('Left'), 'duration' => .05, 'x' => -10 ), array( 'name' => n2_('Right'), 'duration' => .05, 'x' => 10, 'rotationZ' => 3 ), array( 'name' => n2_('Right'), 'duration' => .05, 'y' => 10, 'rotationZ' => -3 ), array( 'name' => n2_('Right'), 'duration' => .05, 'x' => 10, 'rotationZ' => -2 ), array( 'name' => n2_('Right'), 'duration' => .05, 'x' => 10, 'y' => -5, 'rotationZ' => 3 ) ) ) ) )); array_push($sets, array( 'id' => 1900, 'referencekey' => '', 'value' => n2_('My animations') )); } public static function splitTextAnimationStorage(&$sets, &$animations) { N2Base::getApplicationInfo('smartslider') ->loadLocale(); array_push($sets, array( 'id' => 1000, 'referencekey' => '', 'value' => n2_('Default') )); array_push($animations, array( 'id' => 1001, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Fade'), 'data' => array( 'transformOrigin' => '50|*|50|*|0', 'animation' => array( 'opacity' => 0 ) ) ) )); array_push($animations, array( 'id' => 1002, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Left'), 'data' => array( 'transformOrigin' => '50|*|50|*|0', 'animation' => array( 'opacity' => 0, 'x' => -100 ) ) ) )); array_push($animations, array( 'id' => 1003, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Right'), 'data' => array( 'transformOrigin' => '50|*|50|*|0', 'animation' => array( 'opacity' => 0, 'x' => 100 ) ) ) )); array_push($animations, array( 'id' => 1004, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Top'), 'data' => array( 'transformOrigin' => '50|*|50|*|0', 'animation' => array( 'opacity' => 0, 'y' => -80 ) ) ) )); array_push($animations, array( 'id' => 1005, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Bottom'), 'data' => array( 'transformOrigin' => '50|*|50|*|0', 'animation' => array( 'opacity' => 0, 'y' => 80 ) ) ) )); array_push($animations, array( 'id' => 1006, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Scale up'), 'data' => array( 'transformOrigin' => '50|*|50|*|0', 'animation' => array( 'opacity' => 0, 'scale' => 0 ) ) ) )); array_push($animations, array( 'id' => 1007, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Scale down'), 'data' => array( 'transformOrigin' => '50|*|50|*|0', 'animation' => array( 'opacity' => 0, 'scale' => 5 ) ) ) )); array_push($animations, array( 'id' => 1008, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Warp'), 'data' => array( 'transformOrigin' => '50|*|50|*|0', 'animation' => array( 'ease' => 'easeInBack', 'opacity' => 0, 'x' => 20, 'scale' => 5, 'rotationX' => 90 ) ) ) )); array_push($animations, array( 'id' => 1009, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Twirl'), 'data' => array( 'transformOrigin' => '100|*|100|*|0', 'animation' => array( 'ease' => 'easeInOutBack', 'opacity' => 0, 'scale' => 5, 'rotationX' => 360, 'rotationY' => -360, 'rotationZ' => 360 ) ) ) )); array_push($animations, array( 'id' => 1010, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Domino'), 'data' => array( 'transformOrigin' => '0|*|0|*|0', 'animation' => array( 'ease' => 'easeInBack', 'rotationY' => 90 ) ) ) )); array_push($animations, array( 'id' => 1011, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Stand up'), 'data' => array( 'transformOrigin' => '100|*|100|*|0', 'animation' => array( 'ease' => 'easeInOutBack', 'opacity' => 0, 'rotationZ' => 90 ) ) ) )); array_push($animations, array( 'id' => 1012, 'referencekey' => 1000, 'value' => array( 'name' => n2_('Rotate down'), 'data' => array( 'transformOrigin' => '50|*|0|*|0', 'animation' => array( 'ease' => 'easeInBack', 'rotationX' => 90 ) ) ) )); array_push($sets, array( 'id' => 1900, 'referencekey' => '', 'value' => n2_('My split text animations') )); } public static function backgroundAnimationStorage(&$sets, &$animations) { N2Base::getApplicationInfo('smartslider') ->loadLocale(); array_push($sets, array( 'id' => 1000, 'referencekey' => '', 'value' => n2_('Default') )); array_push($animations, array( "id" => 1402, 'referencekey' => 1000, "value" => array( 'name' => n2_('Scale to left'), 'data' => array( 'type' => 'Flat', 'tiles' => array( 'crop' => true, 'delay' => 0, 'sequence' => 'ForwardDiagonal' ), 'main' => array( 'type' => 'both', 'duration' => 1, 'current' => array( 'ease' => 'easeOutCubic', 'scale' => 0.7 ), 'next' => array( 'ease' => 'easeOutCubic', 'left' => "100%" ) ), 'invert' => array( 'zIndex' => 2, 'current' => array( 'left' => "100%", 'scale' => 1 ), 'next' => array( 'scale' => 0.7, 'left' => 0 ) ) ) ) )); array_push($animations, array( "id" => 1405, 'referencekey' => 1000, "value" => array( 'name' => n2_('Rotate to left'), 'data' => array( 'type' => 'Flat', 'tiles' => array( 'cropOuter' => true, 'crop' => false, 'delay' => 0, 'sequence' => 'ForwardDiagonal' ), 'main' => array( 'type' => 'both', 'duration' => 1, 'current' => array( 'ease' => 'easeOutCubic', 'rotationY' => -90, 'left' => '-100%', 'opacity' => 0, 'transformOrigin' => '100% 50%' ), 'next' => array( 'ease' => 'easeOutCubic', 'left' => "100%" ) ), 'invert' => array( 'zIndex' => 2, 'current' => array( 'left' => "100%", 'rotationY' => 0, 'opacity' => 1, ), 'next' => array( 'rotationY' => -90, 'left' => "-100%", 'opacity' => 0, 'transformOrigin' => '100% 50%' ) ) ) ) )); array_push($animations, array( "id" => 1410, 'referencekey' => 1000, "value" => array( 'name' => n2_('Fixed to left'), 'data' => array( 'type' => 'Flat', 'tiles' => array( 'delay' => 0, 'sequence' => 'ForwardDiagonal' ), 'main' => array( 'type' => 'next', 'duration' => 1, 'next' => array( 'ease' => 'easeOutCubic', 'left' => '100%' ) ), 'invert' => array( 'type' => 'current', 'zIndex' => 2, 'current' => array( 'ease' => 'easeOutCubic', 'left' => '100%' ) ) ) ) )); array_push($animations, array( "id" => 1414, 'referencekey' => 1000, "value" => array( 'name' => n2_('Parallax to left'), 'data' => array( 'type' => 'Flat', 'tiles' => array( 'delay' => 0, 'sequence' => 'ForwardDiagonal' ), 'main' => array( 'type' => 'both', 'duration' => 1, 'current' => array( 'ease' => 'easeOutCubic', 'left' => '-50%' ), 'next' => array( 'ease' => 'easeOutCubic', 'left' => '100%' ) ), 'invert' => array( 'zIndex' => 2, 'current' => array( 'left' => '100%' ), 'next' => array( 'left' => '-50%' ) ) ) ) )); array_push($animations, array( "id" => 1001, 'referencekey' => 1000, "value" => array( 'name' => n2_('Flow'), 'data' => array( 'type' => 'Flat', 'tiles' => array( 'crop' => false, 'delay' => 0, 'sequence' => 'ForwardDiagonal' ), 'main' => array( 'type' => 'both', 'duration' => .75, 'current' => array( 'ease' => 'easeOutCubic', 'scale' => 0.5, 'left' => "-100%", 'opacity' => 0 ), 'next' => array( 'ease' => 'easeOutCubic', 'scale' => 0.5, 'left' => "100%" ) ), 'invert' => array( 'current' => array( 'left' => "100%" ), 'next' => array( 'left' => "-100%" ) ) ) ) )); array_push($animations, array( "id" => 1003, 'referencekey' => 1000, "value" => array( 'name' => n2_('Flowing rows'), 'data' => array( 'type' => 'Flat', 'rows' => 5, 'tiles' => array( 'crop' => false, 'delay' => 0.05, 'sequence' => 'ForwardRow' ), 'main' => array( 'type' => 'both', 'duration' => .75, 'current' => array( 'ease' => 'easeInOutQuad', 'scale' => 0.5, 'left' => "-100%", 'opacity' => 0 ), 'next' => array( 'ease' => 'easeInOutQuad', 'scale' => 0.5, 'left' => "100%", 'opacity' => 0 ) ), 'invert' => array( 'current' => array( 'left' => "100%" ), 'next' => array( 'left' => "-100%" ) ), 'invertTiles' => array( 'sequence' => 'BackwardRow' ) ) ) )); array_push($animations, array( "id" => 1004, 'referencekey' => 1000, "value" => array( 'name' => n2_('Flowing cols'), 'data' => array( 'type' => 'Flat', 'columns' => 5, 'tiles' => array( 'crop' => false, 'delay' => 0.05, 'sequence' => 'ForwardCol' ), 'main' => array( 'type' => 'both', 'duration' => .75, 'current' => array( 'ease' => 'easeInOutQuad', 'scale' => 0.5, 'left' => "-100%", 'opacity' => 0 ), 'next' => array( 'ease' => 'easeInOutQuad', 'scale' => 0.5, 'left' => "100%", 'opacity' => 0 ) ), 'invert' => array( 'current' => array( 'left' => "100%" ), 'next' => array( 'left' => "-100%" ) ), 'invertTiles' => array( 'sequence' => 'BackwardCol' ) ) ) )); array_push($animations, array( "id" => 1005, 'referencekey' => 1000, "value" => array( 'name' => n2_('Flowing tiles'), 'data' => array( 'type' => 'Flat', 'columns' => 5, 'rows' => 5, 'tiles' => array( 'crop' => false, 'delay' => .0035, 'sequence' => 'ForwardRow' ), 'main' => array( 'type' => 'both', 'duration' => .75, 'current' => array( 'ease' => 'easeInOutQuad', 'scale' => 0.5, 'left' => "-100%", 'opacity' => 0, 'rotateY' => 90 ), 'next' => array( 'ease' => 'easeInOutQuad', 'scale' => 0.5, 'left' => "100%", 'opacity' => 0, 'rotateY' => 90 ) ), 'invert' => array( 'current' => array( 'left' => "100%" ), 'next' => array( 'left' => "-100%" ) ), 'invertTiles' => array( 'sequence' => 'BackwardRow' ) ) ) )); array_push($animations, array( "id" => 1007, 'referencekey' => 1000, "value" => array( 'name' => n2_('Slide to left'), 'data' => array( 'type' => 'Flat', 'tiles' => array( 'delay' => 0, 'sequence' => 'ForwardDiagonal' ), 'main' => array( 'type' => 'both', 'duration' => .8, 'current' => array( 'ease' => 'easeOutCubic', 'left' => "-100%" ), 'next' => array( 'ease' => 'easeOutCubic', 'left' => "100%" ) ), 'invert' => array( 'current' => array( 'left' => "100%" ), 'next' => array( 'left' => "-100%" ) ) ) ) )); array_push($animations, array( "id" => 1011, 'referencekey' => 1000, "value" => array( 'name' => n2_('Stage'), 'data' => array( 'type' => 'Slixes', 'main' => array( 'duration' => 2 ) ) ) )); array_push($animations, array( "id" => 1012, 'referencekey' => 1000, "value" => array( 'name' => n2_('Zoom'), 'data' => array( 'type' => 'Flat', 'tiles' => array( 'crop' => false, 'delay' => 0, 'sequence' => 'ForwardDiagonal' ), 'main' => array( 'type' => 'both', 'duration' => .75, 'current' => array( 'ease' => 'easeOutCubic', 'scale' => 0.5, 'opacity' => 0 ), 'next' => array( 'ease' => 'easeOutCubic', 'opacity' => 0, 'scale' => 1.5 ) ), 'invert' => array( 'current' => array( 'scale' => 1.5 ), 'next' => array( 'scale' => 0.5 ) ) ) ) )); array_push($animations, array( "id" => 1025, 'referencekey' => 1000, "value" => array( 'name' => n2_('Zoom out'), 'data' => array( 'type' => 'Flat', 'tiles' => array( 'crop' => false, 'delay' => 0, 'sequence' => 'ForwardDiagonal' ), 'main' => array( 'type' => 'both', 'duration' => .75, 'current' => array( 'ease' => 'easeOutCubic', 'scale' => 1.5, 'opacity' => 0 ), 'next' => array( 'ease' => 'easeOutCubic', 'opacity' => 0, 'scale' => 0.5 ) ), 'invert' => array( 'current' => array( 'scale' => 0.5 ), 'next' => array( 'scale' => 1.5 ) ) ) ) )); array_push($animations, array( "id" => 1013, 'referencekey' => 1000, "value" => array( 'name' => n2_('Fade'), 'data' => array( 'type' => 'Flat', 'tiles' => array( 'delay' => 0, 'sequence' => 'ForwardDiagonal' ), 'main' => array( 'type' => 'both', 'duration' => 1, 'zIndex' => 2, 'current' => array( 'ease' => 'easeOutCubic', 'opacity' => 0 ) ) ) ) )); array_push($animations, array( "id" => 1014, 'referencekey' => 1000, "value" => array( 'name' => n2_('Curtain to left'), 'data' => array( 'type' => 'Flat', 'rows' => 1, 'columns' => 25, 'tiles' => array( 'delay' => .03, 'sequence' => 'BackwardCol' ), 'main' => array( 'type' => 'next', 'duration' => .35, 'next' => array( 'ease' => 'easeInOutQuart', 'opacity' => "0", 'left' => '-100%' ) ), 'invert' => array( 'next' => array( 'left' => '100%' ) ), 'invertTiles' => array( 'sequence' => 'ForwardCol' ) ) ) )); array_push($animations, array( "id" => 1018, 'referencekey' => 1000, "value" => array( 'name' => n2_('Blocks to left'), 'data' => array( 'type' => 'Flat', 'rows' => 4, 'columns' => 5, 'tiles' => array( 'delay' => .5, 'sequence' => 'Random' ), 'main' => array( 'type' => 'both', 'duration' => .5, 'current' => array( 'ease' => 'easeInOutQuart', 'left' => '-100%' ), 'next' => array( 'ease' => 'easeInOutQuart', 'left' => '100%' ) ), 'invert' => array( 'current' => array( 'ease' => 'easeInOutQuart', 'left' => '100%' ), 'next' => array( 'left' => '-100%' ) ) ) ) )); array_push($animations, array( "id" => 1022, 'referencekey' => 1000, "value" => array( 'name' => n2_('Slices to left'), 'data' => array( 'type' => 'Flat', 'rows' => 10, 'columns' => 1, 'tiles' => array( 'delay' => .1, 'sequence' => 'ForwardRow' ), 'main' => array( 'type' => 'both', 'duration' => .6, 'current' => array( 'ease' => 'easeInOutQuart', 'left' => '-100%' ), 'next' => array( 'ease' => 'easeInOutQuart', 'left' => '100%' ) ), 'invert' => array( 'current' => array( 'ease' => 'easeInOutQuart', 'left' => '100%' ), 'next' => array( 'left' => '-100%' ) ) ) ) )); array_push($animations, array( "id" => 1023, 'referencekey' => 1000, "value" => array( 'name' => n2_('Reversed slices to left'), 'data' => array( 'type' => 'Flat', 'rows' => 10, 'columns' => 1, 'tiles' => array( 'delay' => .1, 'sequence' => 'BackwardRow' ), 'main' => array( 'type' => 'both', 'duration' => .6, 'current' => array( 'ease' => 'easeInOutQuart', 'left' => '-100%' ), 'next' => array( 'ease' => 'easeInOutQuart', 'left' => '100%' ) ), 'invert' => array( 'current' => array( 'ease' => 'easeInOutQuart', 'left' => '100%' ), 'next' => array( 'left' => '-100%' ) ) ) ) )); array_push($animations, array( "id" => 1024, 'referencekey' => 1000, "value" => array( 'name' => n2_('Puzzle'), 'data' => array( 'type' => 'Flat', 'rows' => 5, 'columns' => 7, 'tiles' => array( 'delay' => 1, 'sequence' => 'Random' ), 'main' => array( 'type' => 'next', 'duration' => 0.8, 'next' => array( 'ease' => 'easeInOutQuart', 'opacity' => 0 ) ) ) ) )); array_push($animations, array( "id" => 1101, 'referencekey' => 1000, "value" => array( 'name' => n2_('Switching to left'), 'data' => array( 'type' => 'Flat', 'tiles' => array( 'crop' => false, 'delay' => 0, 'sequence' => 'ForwardDiagonal' ), 'main' => array( 'type' => 'both', 'duration' => .8, 'current' => array( 'ease' => 'easeInOutCubic', 'left' => "-100%", 'opacity' => 0 ), 'next' => array( 'ease' => 'easeInOutCubic', 'left' => "150%", 'rotationY' => -90, 'z' => -500, 'opacity' => 0 ) ), 'invert' => array( 'current' => array( 'left' => "100%" ), 'next' => array( 'left' => "-150%", 'rotationY' => 90 ) ) ) ) )); array_push($animations, array( "id" => 1105, 'referencekey' => 1000, "value" => array( 'name' => n2_('Explode'), 'data' => array( 'type' => 'Explode', 'rows' => 3, 'columns' => 6, 'tiles' => array( 'delay' => 0.3, 'sequence' => 'Random' ), 'main' => array( 'type' => 'next', 'duration' => 1.35, 'current' => array( 'ease' => 'easeInOutQuart', 'opacity' => 0, 'z' => 700 ) ) ) ) )); array_push($animations, array( "id" => 1106, 'referencekey' => 1000, "value" => array( 'name' => n2_('Rebuild'), 'data' => array( 'type' => 'ExplodeReversed', 'rows' => 3, 'columns' => 6, 'tiles' => array( 'delay' => 0.6, 'sequence' => 'Random' ), 'main' => array( 'type' => 'next', 'duration' => 1.35, 'current' => array( 'ease' => 'easeInOutQuart', 'opacity' => 0, 'z' => 300 ) ) ) ) )); array_push($animations, array( "id" => 1107, 'referencekey' => 1000, "value" => array( 'name' => n2_('Page turn to left'), 'data' => array( 'type' => 'Turn' ) ) )); array_push($animations, array( "id" => 1113, 'referencekey' => 1000, "value" => array( 'name' => n2_('3D bricks to left'), 'data' => array( 'type' => 'Cubic', 'columns' => 4, 'rows' => 3, 'tiles' => array( 'delay' => 0.05, 'sequence' => 'ForwardRow' ), 'main' => array( 'side' => 'BackInvert', 'duration' => 0.6, 'ease' => 'easeInOutCubic', 'real3D' => true ), 'invert' => array( 'side' => 'Back' ), 'invertTiles' => array( 'sequence' => 'BackwardRow' ), 'pre' => array( array( 'scale' => 0.9, 'scaleZ' => 0.9, 'duration' => 0.3, 'ease' => 'easeInOutCubic' ) ), 'post' => array( array( 'scale' => 1, 'scaleZ' => 1, 'duration' => 0.3, 'ease' => 'easeInOutCubic' ) ) ) ) )); array_push($animations, array( "id" => 1110, 'referencekey' => 1000, "value" => array( 'name' => n2_('Vertical spin to left'), 'data' => array( 'type' => 'Cubic', 'depth' => 100, 'main' => array( 'side' => 'BackInvert', 'duration' => 0.8, 'ease' => 'easeInOutCubic', 'real3D' => true ), 'invert' => array( 'side' => 'Back' ) ) ) )); array_push($animations, array( "id" => 1117, 'referencekey' => 1000, "value" => array( 'name' => n2_('3D rows to left'), 'data' => array( 'type' => 'Cubic', 'rows' => 7, 'fullCube' => false, 'depth' => 16, 'tiles' => array( 'delay' => 0.05, 'sequence' => 'ForwardRow' ), 'main' => array( 'side' => 'BackInvert', 'duration' => 1.2, 'ease' => 'easeInOutBack' ), 'invert' => array( 'side' => 'Back' ), 'invertTiles' => array( 'sequence' => 'BackwardRow' ), 'pre' => array( array( 'scale' => 0.85, 'scaleZ' => 0.85, 'duration' => 0.6, 'ease' => 'easeOutBack' ) ), 'post' => array( array( 'scale' => 1, 'scaleZ' => 1, 'duration' => 0.6, 'ease' => 'easeOutBack' ) ) ) ) )); array_push($animations, array( "id" => 1121, 'referencekey' => 1000, "value" => array( 'name' => n2_('3D columns to left'), 'data' => array( 'type' => 'Cubic', 'columns' => 7, 'fullCube' => false, 'depth' => 16, 'tiles' => array( 'delay' => 0.05, 'sequence' => 'ForwardRow' ), 'main' => array( 'side' => 'BackInvert', 'duration' => 1.2, 'ease' => 'easeInOutBack' ), 'invert' => array( 'side' => 'Back' ), 'invertTiles' => array( 'sequence' => 'BackwardRow' ) ) ) )); array_push($animations, array( "id" => 1125, 'referencekey' => 1000, "value" => array( 'name' => n2_('Spinning cuboid to left'), 'data' => array( 'type' => 'Cubic', 'columns' => 1, 'rows' => 1, 'main' => array( 'side' => 'Right', 'duration' => 0.8, 'ease' => 'easeInOutCubic', 'real3D' => true ), 'invert' => array( 'side' => 'Left' ) ) ) )); array_push($animations, array( "id" => 1129, 'referencekey' => 1000, "value" => array( 'name' => n2_('Turning cuboid to left'), 'data' => array( 'type' => 'Cubic', 'columns' => 1, 'rows' => 1, 'depth' => 'width', 'main' => array( 'side' => 'BackInvert', 'duration' => 1.5, 'ease' => 'easeInOutCubic', 'real3D' => true ), 'invert' => array( 'side' => 'Back' ) ) ) )); array_push($sets, array( 'id' => 1100, 'referencekey' => '', 'value' => n2_('Vertical') )); array_push($animations, array( "id" => 1404, 'referencekey' => 1100, "value" => array( 'name' => n2_('Scale to top'), 'data' => array( 'type' => 'Flat', 'tiles' => array( 'crop' => true, 'delay' => 0, 'sequence' => 'ForwardDiagonal' ), 'main' => array( 'type' => 'both', 'duration' => 1, 'current' => array( 'ease' => 'easeOutCubic', 'scale' => 0.7 ), 'next' => array( 'ease' => 'easeOutCubic', 'top' => "100%" ) ), 'invert' => array( 'zIndex' => 2, 'current' => array( 'top' => "100%", 'scale' => 1 ), 'next' => array( 'scale' => 0.7, 'top' => 0 ) ) ) ) )); array_push($animations, array( "id" => 1403, 'referencekey' => 1100, "value" => array( 'name' => n2_('Scale to bottom'), 'data' => array( 'type' => 'Flat', 'tiles' => array( 'crop' => true, 'delay' => 0, 'sequence' => 'ForwardDiagonal' ), 'main' => array( 'type' => 'both', 'duration' => 1, 'current' => array( 'ease' => 'easeOutCubic', 'scale' => 0.7 ), 'next' => array( 'ease' => 'easeOutCubic', 'top' => "-100%" ) ), 'invert' => array( 'zIndex' => 2, 'current' => array( 'top' => "-100%", 'scale' => 1 ), 'next' => array( 'scale' => 0.7, 'top' => 0 ) ) ) ) )); array_push($animations, array( "id" => 1408, 'referencekey' => 1100, "value" => array( 'name' => n2_('Rotate to top'), 'data' => array( 'type' => 'Flat', 'tiles' => array( 'cropOuter' => true, 'crop' => false, 'delay' => 0, 'sequence' => 'ForwardDiagonal' ), 'main' => array( 'type' => 'both', 'duration' => 1, 'current' => array( 'ease' => 'easeOutCubic', 'rotationX' => 90, 'top' => '-100%', 'opacity' => 0, 'transformOrigin' => '50% 100%' ), 'next' => array( 'ease' => 'easeOutCubic', 'top' => "100%" ) ), 'invert' => array( 'zIndex' => 2, 'current' => array( 'top' => "100%", 'rotationX' => 0, 'opacity' => 1, ), 'next' => array( 'rotationX' => 90, 'top' => "-100%", 'opacity' => 0, 'transformOrigin' => '50% 100%' ) ) ) ) )); array_push($animations, array( "id" => 1407, 'referencekey' => 1100, "value" => array( 'name' => n2_('Rotate to bottom'), 'data' => array( 'type' => 'Flat', 'tiles' => array( 'cropOuter' => true, 'crop' => false, 'delay' => 0, 'sequence' => 'ForwardDiagonal' ), 'main' => array( 'type' => 'both', 'duration' => 1, 'current' => array( 'ease' => 'easeOutCubic', 'rotationX' => -90, 'top' => '100%', 'opacity' => 0, 'transformOrigin' => '50% 0' ), 'next' => array( 'ease' => 'easeOutCubic', 'top' => "-100%" ) ), 'invert' => array( 'zIndex' => 2, 'current' => array( 'top' => "-100%", 'rotationX' => 0, 'opacity' => 1, ), 'next' => array( 'rotationX' => -90, 'top' => "100%", 'opacity' => 0, 'transformOrigin' => '50% 0' ) ) ) ) )); array_push($animations, array( "id" => 1412, 'referencekey' => 1100, "value" => array( 'name' => n2_('Fixed to top'), 'data' => array( 'type' => 'Flat', 'tiles' => array( 'delay' => 0, 'sequence' => 'ForwardDiagonal' ), 'main' => array( 'type' => 'next', 'duration' => 1, 'next' => array( 'ease' => 'easeOutCubic', 'top' => '100%' ) ), 'invert' => array( 'type' => 'current', 'zIndex' => 2, 'current' => array( 'ease' => 'easeOutCubic', 'top' => '100%' ) ) ) ) )); array_push($animations, array( "id" => 1411, 'referencekey' => 1100, "value" => array( 'name' => n2_('Fixed to bottom'), 'data' => array( 'type' => 'Flat', 'tiles' => array( 'delay' => 0, 'sequence' => 'ForwardDiagonal' ), 'main' => array( 'type' => 'next', 'duration' => 1, 'next' => array( 'ease' => 'easeOutCubic', 'top' => '-100%' ) ), 'invert' => array( 'type' => 'current', 'zIndex' => 2, 'current' => array( 'ease' => 'easeOutCubic', 'top' => '-100%' ) ) ) ) )); array_push($animations, array( "id" => 1416, 'referencekey' => 1100, "value" => array( 'name' => n2_('Parallax to top'), 'data' => array( 'type' => 'Flat', 'tiles' => array( 'delay' => 0, 'sequence' => 'ForwardDiagonal' ), 'main' => array( 'type' => 'both', 'duration' => 1, 'current' => array( 'ease' => 'easeOutCubic', 'top' => '-50%' ), 'next' => array( 'ease' => 'easeOutCubic', 'top' => '100%' ) ), 'invert' => array( 'zIndex' => 2, 'current' => array( 'top' => '100%' ), 'next' => array( 'top' => '-50%' ) ) ) ) )); array_push($animations, array( "id" => 1415, 'referencekey' => 1100, "value" => array( 'name' => n2_('Parallax to bottom'), 'data' => array( 'type' => 'Flat', 'tiles' => array( 'delay' => 0, 'sequence' => 'ForwardDiagonal' ), 'main' => array( 'type' => 'both', 'duration' => 1, 'current' => array( 'ease' => 'easeOutCubic', 'top' => '50%' ), 'next' => array( 'ease' => 'easeOutCubic', 'top' => '-100%' ) ), 'invert' => array( 'zIndex' => 2, 'current' => array( 'top' => '-100%' ), 'next' => array( 'top' => '50%' ) ) ) ) )); array_push($animations, array( "id" => 1006, 'referencekey' => 1100, "value" => array( 'name' => n2_('Flowing tiles vertical'), 'data' => array( 'type' => 'Flat', 'columns' => 5, 'rows' => 5, 'tiles' => array( 'crop' => false, 'delay' => .0035, 'sequence' => 'ForwardRow' ), 'main' => array( 'type' => 'both', 'duration' => .75, 'current' => array( 'ease' => 'easeInOutQuad', 'scale' => 0.5, 'top' => "-100%", 'opacity' => 0, 'rotateX' => 90 ), 'next' => array( 'ease' => 'easeInOutQuad', 'scale' => 0.5, 'top' => "100%", 'opacity' => 0, 'rotateX' => 90 ) ), 'invert' => array( 'current' => array( 'top' => "100%" ), 'next' => array( 'top' => "-100%" ) ), 'invertTiles' => array( 'sequence' => 'BackwardRow' ) ) ) )); array_push($animations, array( "id" => 1009, 'referencekey' => 1100, "value" => array( 'name' => n2_('Slide to bottom'), 'data' => array( 'type' => 'Flat', 'tiles' => array( 'delay' => 0, 'sequence' => 'ForwardDiagonal' ), 'main' => array( 'type' => 'both', 'duration' => .8, 'current' => array( 'ease' => 'easeOutCubic', 'top' => "100%" ), 'next' => array( 'ease' => 'easeOutCubic', 'top' => "-100%" ) ), 'invert' => array( 'current' => array( 'top' => "-100%" ), 'next' => array( 'top' => "100%" ) ) ) ) )); array_push($animations, array( "id" => 1010, 'referencekey' => 1100, "value" => array( 'name' => n2_('Slide to top'), 'data' => array( 'type' => 'Flat', 'tiles' => array( 'delay' => 0, 'sequence' => 'ForwardDiagonal' ), 'main' => array( 'type' => 'both', 'duration' => .8, 'current' => array( 'ease' => 'easeOutCubic', 'top' => "-100%" ), 'next' => array( 'ease' => 'easeOutCubic', 'top' => "100%" ) ), 'invert' => array( 'current' => array( 'top' => "100%" ), 'next' => array( 'top' => "-100%" ) ) ) ) )); array_push($animations, array( "id" => 1016, 'referencekey' => 1100, "value" => array( 'name' => n2_('Curtain to bottom'), 'data' => array( 'type' => 'Flat', 'rows' => 25, 'columns' => 1, 'tiles' => array( 'delay' => .03, 'sequence' => 'ForwardRow' ), 'main' => array( 'type' => 'next', 'duration' => .35, 'next' => array( 'ease' => 'easeInOutQuart', 'opacity' => "0", 'top' => '100%' ) ), 'invert' => array( 'next' => array( 'top' => '-100%' ) ), 'invertTiles' => array( 'sequence' => 'BackwardRow' ) ) ) )); array_push($animations, array( "id" => 1017, 'referencekey' => 1100, "value" => array( 'name' => n2_('Curtain to top'), 'data' => array( 'type' => 'Flat', 'rows' => 25, 'columns' => 1, 'tiles' => array( 'delay' => .03, 'sequence' => 'BackwardRow' ), 'main' => array( 'type' => 'next', 'duration' => .35, 'next' => array( 'ease' => 'easeInOutQuart', 'opacity' => "0", 'top' => '-100%' ) ), 'invert' => array( 'next' => array( 'top' => '100%' ) ), 'invertTiles' => array( 'sequence' => 'ForwardRow' ) ) ) )); array_push($animations, array( "id" => 1103, 'referencekey' => 1100, "value" => array( 'name' => n2_('Switching to bottom'), 'data' => array( 'type' => 'Flat', 'tiles' => array( 'crop' => false, 'delay' => 0, 'sequence' => 'ForwardDiagonal' ), 'main' => array( 'type' => 'both', 'duration' => .8, 'current' => array( 'ease' => 'easeInOutCubic', 'top' => "100%", 'opacity' => 0 ), 'next' => array( 'ease' => 'easeInOutCubic', 'top' => "-150%", 'rotationX' => 90, 'z' => -500, 'opacity' => 0 ) ), 'invert' => array( 'current' => array( 'top' => "-100%" ), 'next' => array( 'top' => "150%", 'rotationX' => -90 ) ) ) ) )); array_push($animations, array( "id" => 1104, 'referencekey' => 1100, "value" => array( 'name' => n2_('Switching to top'), 'data' => array( 'type' => 'Flat', 'tiles' => array( 'crop' => false, 'delay' => 0, 'sequence' => 'ForwardDiagonal' ), 'main' => array( 'type' => 'both', 'duration' => .8, 'current' => array( 'ease' => 'easeInOutCubic', 'top' => "-100%", 'opacity' => 0 ), 'next' => array( 'ease' => 'easeInOutCubic', 'top' => "150%", 'rotationX' => 90, 'z' => -500, 'opacity' => 0 ) ), 'invert' => array( 'current' => array( 'top' => "100%" ), 'next' => array( 'top' => "-150%", 'rotationX' => -90 ) ) ) ) )); array_push($animations, array( "id" => 1111, 'referencekey' => 1100, "value" => array( 'name' => n2_('Horizontal spin to bottom'), 'data' => array( 'type' => 'Cubic', 'depth' => 100, 'main' => array( 'side' => 'BackInvert', 'duration' => 0.8, 'ease' => 'easeInOutCubic', 'real3D' => true, 'direction' => 'vertical' ), 'invert' => array( 'side' => 'Back' ) ) ) )); array_push($animations, array( "id" => 1112, 'referencekey' => 1100, "value" => array( 'name' => n2_('Horizontal spin to top'), 'data' => array( 'type' => 'Cubic', 'depth' => 100, 'main' => array( 'side' => 'Back', 'duration' => 0.8, 'ease' => 'easeInOutCubic', 'real3D' => true, 'direction' => 'vertical' ), 'invert' => array( 'side' => 'BackInvert' ) ) ) )); array_push($animations, array( "id" => 1115, 'referencekey' => 1100, "value" => array( 'name' => n2_('3D bricks to bottom'), 'data' => array( 'type' => 'Cubic', 'columns' => 4, 'rows' => 3, 'tiles' => array( 'delay' => 0.05, 'sequence' => 'ForwardRow' ), 'main' => array( 'side' => 'BackInvert', 'duration' => 0.6, 'ease' => 'easeInOutCubic', 'real3D' => true, 'direction' => 'vertical' ), 'invert' => array( 'side' => 'Back' ), 'invertTiles' => array( 'sequence' => 'BackwardRow' ), 'pre' => array( array( 'scale' => 0.9, 'scaleZ' => 0.9, 'duration' => 0.3, 'ease' => 'easeInOutCubic' ) ), 'post' => array( array( 'scale' => 1, 'scaleZ' => 1, 'duration' => 0.3, 'ease' => 'easeInOutCubic' ) ) ) ) )); array_push($animations, array( "id" => 1116, 'referencekey' => 1100, "value" => array( 'name' => n2_('3D bricks to top'), 'data' => array( 'type' => 'Cubic', 'columns' => 4, 'rows' => 3, 'tiles' => array( 'delay' => 0.05, 'sequence' => 'ForwardRow' ), 'main' => array( 'side' => 'Back', 'duration' => 0.6, 'ease' => 'easeInOutCubic', 'real3D' => true, 'direction' => 'vertical' ), 'invert' => array( 'side' => 'BackInvert' ), 'invertTiles' => array( 'sequence' => 'BackwardRow' ), 'pre' => array( array( 'scale' => 0.9, 'scaleZ' => 0.9, 'duration' => 0.3, 'ease' => 'easeInOutCubic' ) ), 'post' => array( array( 'scale' => 1, 'scaleZ' => 1, 'duration' => 0.3, 'ease' => 'easeInOutCubic' ) ) ) ) )); array_push($animations, array( "id" => 1119, 'referencekey' => 1100, "value" => array( 'name' => n2_('3D rows to bottom'), 'data' => array( 'type' => 'Cubic', 'rows' => 7, 'fullCube' => false, 'depth' => 16, 'tiles' => array( 'delay' => 0.05, 'sequence' => 'ForwardRow' ), 'main' => array( 'side' => 'BackInvert', 'duration' => 1.2, 'ease' => 'easeInOutBack', 'direction' => 'vertical' ), 'invert' => array( 'side' => 'Back' ), 'invertTiles' => array( 'sequence' => 'BackwardRow' ), 'pre' => array( array( 'scale' => 0.85, 'scaleZ' => 0.85, 'duration' => 0.6, 'ease' => 'easeOutBack' ) ), 'post' => array( array( 'scale' => 1, 'scaleZ' => 1, 'duration' => 0.6, 'ease' => 'easeOutBack' ) ) ) ) )); array_push($animations, array( "id" => 1120, 'referencekey' => 1100, "value" => array( 'name' => n2_('3D rows to top'), 'data' => array( 'type' => 'Cubic', 'rows' => 7, 'fullCube' => false, 'depth' => 16, 'tiles' => array( 'delay' => 0.05, 'sequence' => 'ForwardRow' ), 'main' => array( 'side' => 'Back', 'duration' => 1.2, 'ease' => 'easeInOutBack', 'direction' => 'vertical' ), 'invert' => array( 'side' => 'BackInvert' ), 'invertTiles' => array( 'sequence' => 'BackwardRow' ), 'pre' => array( array( 'scale' => 0.85, 'scaleZ' => 0.85, 'duration' => 0.6, 'ease' => 'easeOutBack' ) ), 'post' => array( array( 'scale' => 1, 'scaleZ' => 1, 'duration' => 0.6, 'ease' => 'easeOutBack' ) ) ) ) )); array_push($animations, array( "id" => 1123, 'referencekey' => 1100, "value" => array( 'name' => n2_('3D columns to bottom'), 'data' => array( 'type' => 'Cubic', 'columns' => 7, 'fullCube' => false, 'depth' => 16, 'tiles' => array( 'delay' => 0.05, 'sequence' => 'ForwardRow' ), 'main' => array( 'side' => 'BackInvert', 'duration' => 1.2, 'ease' => 'easeInOutBack', 'direction' => 'vertical' ), 'invert' => array( 'side' => 'Back' ), 'invertTiles' => array( 'sequence' => 'BackwardRow' ) ) ) )); array_push($animations, array( "id" => 1124, 'referencekey' => 1100, "value" => array( 'name' => n2_('3D columns to top'), 'data' => array( 'type' => 'Cubic', 'columns' => 7, 'fullCube' => false, 'depth' => 16, 'tiles' => array( 'delay' => 0.05, 'sequence' => 'ForwardRow' ), 'main' => array( 'side' => 'Back', 'duration' => 1.2, 'ease' => 'easeInOutBack', 'direction' => 'vertical' ), 'invert' => array( 'side' => 'BackInvert' ), 'invertTiles' => array( 'sequence' => 'BackwardRow' ) ) ) )); array_push($animations, array( "id" => 1127, 'referencekey' => 1100, "value" => array( 'name' => n2_('Spinning cuboid to bottom'), 'data' => array( 'type' => 'Cubic', 'columns' => 1, 'rows' => 1, 'main' => array( 'side' => 'Top', 'duration' => 0.8, 'ease' => 'easeInOutCubic', 'real3D' => true ), 'invert' => array( 'side' => 'Bottom' ) ) ) )); array_push($animations, array( "id" => 1128, 'referencekey' => 1100, "value" => array( 'name' => n2_('Spinning cuboid to top'), 'data' => array( 'type' => 'Cubic', 'columns' => 1, 'rows' => 1, 'main' => array( 'side' => 'Bottom', 'duration' => 0.8, 'ease' => 'easeInOutCubic', 'real3D' => true ), 'invert' => array( 'side' => 'Top' ) ) ) )); array_push($animations, array( "id" => 1131, 'referencekey' => 1100, "value" => array( 'name' => n2_('Turning cuboid to bottom'), 'data' => array( 'type' => 'Cubic', 'columns' => 1, 'rows' => 1, 'depth' => 'height', 'main' => array( 'side' => 'BackInvert', 'duration' => 1.5, 'ease' => 'easeInOutCubic', 'real3D' => true, 'direction' => 'vertical' ), 'invert' => array( 'side' => 'Back' ) ) ) )); array_push($animations, array( "id" => 1132, 'referencekey' => 1100, "value" => array( 'name' => n2_('Turning cuboid to top'), 'data' => array( 'type' => 'Cubic', 'columns' => 1, 'rows' => 1, 'depth' => 'height', 'main' => array( 'side' => 'Back', 'duration' => 1.5, 'ease' => 'easeInOutCubic', 'real3D' => true, 'direction' => 'vertical' ), 'invert' => array( 'side' => 'BackInvert' ) ) ) )); array_push($sets, array( 'id' => 1200, 'referencekey' => '', 'value' => 'RTL' )); array_push($animations, array( "id" => 1401, 'referencekey' => 1200, "value" => array( 'name' => n2_('Scale to right'), 'data' => array( 'type' => 'Flat', 'tiles' => array( 'crop' => true, 'delay' => 0, 'sequence' => 'ForwardDiagonal' ), 'main' => array( 'type' => 'both', 'duration' => 1, 'current' => array( 'ease' => 'easeOutCubic', 'scale' => 0.7 ), 'next' => array( 'ease' => 'easeOutCubic', 'left' => "-100%" ) ), 'invert' => array( 'zIndex' => 2, 'current' => array( 'left' => "-100%", 'scale' => 1 ), 'next' => array( 'scale' => 0.7, 'left' => 0 ) ) ) ) )); array_push($animations, array( "id" => 1406, 'referencekey' => 1200, "value" => array( 'name' => n2_('Rotate to right'), 'data' => array( 'type' => 'Flat', 'tiles' => array( 'cropOuter' => true, 'crop' => false, 'delay' => 0, 'sequence' => 'ForwardDiagonal' ), 'main' => array( 'type' => 'both', 'duration' => 1, 'current' => array( 'ease' => 'easeOutCubic', 'rotationY' => 90, 'left' => '100%', 'opacity' => 0, 'transformOrigin' => '0 50%' ), 'next' => array( 'ease' => 'easeOutCubic', 'left' => "-100%" ) ), 'invert' => array( 'zIndex' => 2, 'current' => array( 'left' => "-100%", 'rotationY' => 0, 'opacity' => 1, ), 'next' => array( 'rotationY' => 90, 'left' => "100%", 'opacity' => 0, 'transformOrigin' => '0 50%' ) ) ) ) )); array_push($animations, array( "id" => 1409, 'referencekey' => 1200, "value" => array( 'name' => n2_('Fixed to right'), 'data' => array( 'type' => 'Flat', 'tiles' => array( 'delay' => 0, 'sequence' => 'ForwardDiagonal' ), 'main' => array( 'type' => 'next', 'duration' => 1, 'next' => array( 'ease' => 'easeOutCubic', 'left' => '-100%' ) ), 'invert' => array( 'type' => 'current', 'zIndex' => 2, 'current' => array( 'ease' => 'easeOutCubic', 'left' => '-100%' ) ) ) ) )); array_push($animations, array( "id" => 1413, 'referencekey' => 1200, "value" => array( 'name' => n2_('Parallax to right'), 'data' => array( 'type' => 'Flat', 'tiles' => array( 'delay' => 0, 'sequence' => 'ForwardDiagonal' ), 'main' => array( 'type' => 'both', 'duration' => 1, 'current' => array( 'ease' => 'easeOutCubic', 'left' => '50%' ), 'next' => array( 'ease' => 'easeOutCubic', 'left' => '-100%' ) ), 'invert' => array( 'zIndex' => 2, 'current' => array( 'left' => '-100%' ), 'next' => array( 'left' => '50%' ) ) ) ) )); array_push($animations, array( "id" => 1002, 'referencekey' => 1200, "value" => array( 'name' => n2_('Flow - reversed'), 'data' => array( 'type' => 'Flat', 'tiles' => array( 'crop' => false, 'delay' => 0, 'sequence' => 'ForwardDiagonal' ), 'main' => array( 'type' => 'both', 'duration' => .75, 'current' => array( 'ease' => 'easeOutCubic', 'scale' => 0.5, 'left' => "100%", 'opacity' => 0 ), 'next' => array( 'ease' => 'easeOutCubic', 'scale' => 0.5, 'left' => "-100%" ) ), 'invert' => array( 'current' => array( 'left' => "-100%" ), 'next' => array( 'left' => "100%" ) ) ) ) )); array_push($animations, array( "id" => 1008, 'referencekey' => 1200, "value" => array( 'name' => n2_('Slide to right'), 'data' => array( 'type' => 'Flat', 'tiles' => array( 'delay' => 0, 'sequence' => 'ForwardDiagonal' ), 'main' => array( 'type' => 'both', 'duration' => .8, 'current' => array( 'ease' => 'easeOutCubic', 'left' => "100%" ), 'next' => array( 'ease' => 'easeOutCubic', 'left' => "-100%" ) ), 'invert' => array( 'current' => array( 'left' => "-100%" ), 'next' => array( 'left' => "100%" ) ) ) ) )); array_push($animations, array( "id" => 1015, 'referencekey' => 1200, "value" => array( 'name' => n2_('Curtain to right'), 'data' => array( 'type' => 'Flat', 'rows' => 1, 'columns' => 25, 'tiles' => array( 'delay' => .03, 'sequence' => 'ForwardCol' ), 'main' => array( 'type' => 'next', 'duration' => .35, 'next' => array( 'ease' => 'easeInOutQuart', 'opacity' => "0", 'left' => '100%' ) ), 'invert' => array( 'next' => array( 'left' => '-100%' ) ), 'invertTiles' => array( 'sequence' => 'BackwardCol' ) ) ) )); array_push($animations, array( "id" => 1019, 'referencekey' => 1200, "value" => array( 'name' => n2_('Blocks to right'), 'data' => array( 'type' => 'Flat', 'rows' => 4, 'columns' => 5, 'tiles' => array( 'delay' => .5, 'sequence' => 'Random' ), 'main' => array( 'type' => 'both', 'duration' => .5, 'current' => array( 'ease' => 'easeInOutQuart', 'left' => '100%' ), 'next' => array( 'ease' => 'easeInOutQuart', 'left' => '-100%' ) ), 'invert' => array( 'current' => array( 'ease' => 'easeInOutQuart', 'left' => '-100%' ), 'next' => array( 'left' => '100%' ) ) ) ) )); array_push($animations, array( "id" => 1020, 'referencekey' => 1200, "value" => array( 'name' => n2_('Slices to right'), 'data' => array( 'type' => 'Flat', 'rows' => 10, 'columns' => 1, 'tiles' => array( 'delay' => .1, 'sequence' => 'ForwardRow' ), 'main' => array( 'type' => 'both', 'duration' => .6, 'current' => array( 'ease' => 'easeInOutQuart', 'left' => '100%' ), 'next' => array( 'ease' => 'easeInOutQuart', 'left' => '-100%' ) ), 'invert' => array( 'current' => array( 'ease' => 'easeInOutQuart', 'left' => '-100%' ), 'next' => array( 'left' => '100%' ) ) ) ) )); array_push($animations, array( "id" => 1021, 'referencekey' => 1200, "value" => array( 'name' => n2_('Reversed slices to right'), 'data' => array( 'type' => 'Flat', 'rows' => 10, 'columns' => 1, 'tiles' => array( 'delay' => .1, 'sequence' => 'BackwardRow' ), 'main' => array( 'type' => 'both', 'duration' => .6, 'current' => array( 'ease' => 'easeInOutQuart', 'left' => '100%' ), 'next' => array( 'ease' => 'easeInOutQuart', 'left' => '-100%' ) ), 'invert' => array( 'current' => array( 'ease' => 'easeInOutQuart', 'left' => '-100%' ), 'next' => array( 'left' => '100%' ) ) ) ) )); array_push($animations, array( "id" => 1102, 'referencekey' => 1200, "value" => array( 'name' => n2_('Switching to right'), 'data' => array( 'type' => 'Flat', 'tiles' => array( 'crop' => false, 'delay' => 0, 'sequence' => 'ForwardDiagonal' ), 'main' => array( 'type' => 'both', 'duration' => .8, 'current' => array( 'ease' => 'easeInOutCubic', 'left' => "100%", 'opacity' => 0 ), 'next' => array( 'ease' => 'easeInOutCubic', 'left' => "-150%", 'rotationY' => 90, 'z' => -500, 'opacity' => 0 ) ), 'invert' => array( 'current' => array( 'left' => "-100%" ), 'next' => array( 'left' => "150%", 'rotationY' => -90 ) ) ) ) )); array_push($animations, array( "id" => 1108, 'referencekey' => 1200, "value" => array( 'name' => n2_('Page turn to right'), 'data' => array( 'type' => 'Turn', 'direction' => 'right' ) ) )); array_push($animations, array( "id" => 1109, 'referencekey' => 1200, "value" => array( 'name' => n2_('Vertical spin to right'), 'data' => array( 'type' => 'Cubic', 'depth' => 100, 'main' => array( 'side' => 'Back', 'duration' => 0.8, 'ease' => 'easeInOutCubic', 'real3D' => true ), 'invert' => array( 'side' => 'BackInvert' ) ) ) )); array_push($animations, array( "id" => 1114, 'referencekey' => 1200, "value" => array( 'name' => n2_('3D bricks to right'), 'data' => array( 'type' => 'Cubic', 'columns' => 4, 'rows' => 3, 'tiles' => array( 'delay' => 0.05, 'sequence' => 'ForwardRow' ), 'main' => array( 'side' => 'Back', 'duration' => 0.6, 'ease' => 'easeInOutCubic', 'real3D' => true ), 'invert' => array( 'side' => 'BackInvert' ), 'invertTiles' => array( 'sequence' => 'BackwardRow' ), 'pre' => array( array( 'scale' => 0.9, 'scaleZ' => 0.9, 'duration' => 0.3, 'ease' => 'easeInOutCubic' ) ), 'post' => array( array( 'scale' => 1, 'scaleZ' => 1, 'duration' => 0.3, 'ease' => 'easeInOutCubic' ) ) ) ) )); array_push($animations, array( "id" => 1118, 'referencekey' => 1200, "value" => array( 'name' => n2_('3D rows to right'), 'data' => array( 'type' => 'Cubic', 'rows' => 7, 'fullCube' => false, 'depth' => 16, 'tiles' => array( 'delay' => 0.05, 'sequence' => 'ForwardRow' ), 'main' => array( 'side' => 'Back', 'duration' => 1.2, 'ease' => 'easeInOutBack' ), 'invert' => array( 'side' => 'BackInvert' ), 'invertTiles' => array( 'sequence' => 'BackwardRow' ), 'pre' => array( array( 'scale' => 0.85, 'scaleZ' => 0.85, 'duration' => 0.6, 'ease' => 'easeOutBack' ) ), 'post' => array( array( 'scale' => 1, 'scaleZ' => 1, 'duration' => 0.6, 'ease' => 'easeOutBack' ) ) ) ) )); array_push($animations, array( "id" => 1122, 'referencekey' => 1200, "value" => array( 'name' => n2_('3D columns to right'), 'data' => array( 'type' => 'Cubic', 'columns' => 7, 'fullCube' => false, 'depth' => 16, 'tiles' => array( 'delay' => 0.05, 'sequence' => 'ForwardRow' ), 'main' => array( 'side' => 'Back', 'duration' => 1.2, 'ease' => 'easeInOutBack' ), 'invert' => array( 'side' => 'BackInvert' ), 'invertTiles' => array( 'sequence' => 'BackwardRow' ) ) ) )); array_push($animations, array( "id" => 1126, 'referencekey' => 1200, "value" => array( 'name' => n2_('Spinning cuboid to right'), 'data' => array( 'type' => 'Cubic', 'columns' => 1, 'rows' => 1, 'main' => array( 'side' => 'Left', 'duration' => 0.8, 'ease' => 'easeInOutCubic', 'real3D' => true ), 'invert' => array( 'side' => 'Right' ) ) ) )); array_push($animations, array( "id" => 1130, 'referencekey' => 1200, "value" => array( 'name' => n2_('Turning cuboid to right'), 'data' => array( 'type' => 'Cubic', 'columns' => 1, 'rows' => 1, 'depth' => 'width', 'main' => array( 'side' => 'Back', 'duration' => 1.5, 'ease' => 'easeInOutCubic', 'real3D' => true ), 'invert' => array( 'side' => 'BackInvert' ) ) ) )); } public static function postBackgroundAnimationStorage(&$sets, &$animations) { N2Base::getApplicationInfo('smartslider') ->loadLocale(); array_push($sets, array( 'id' => 1000, 'referencekey' => '', 'value' => n2_('Default') )); array_push($animations, array( "id" => 1001, 'referencekey' => 1000, "value" => array( 'name' => n2_('Downscale'), 'data' => array( 'duration' => 5, 'strength' => array('scale'), 'from' => array( 'scale' => 1.5 ), 'to' => array( 'scale' => 1.2 ) ) ) )); array_push($animations, array( "id" => 1002, 'referencekey' => 1000, "value" => array( 'name' => n2_('Downscale left'), 'data' => array( 'duration' => 5, 'strength' => array('scale','x'), 'from' => array( 'scale' => 1.5, 'x' => 0 ), 'to' => array( 'scale' => 1.2, 'x' => -100 ) ) ) )); array_push($animations, array( "id" => 1003, 'referencekey' => 1000, "value" => array( 'name' => n2_('Downscale right'), 'data' => array( 'duration' => 5, 'strength' => array('scale','x'), 'from' => array( 'scale' => 1.5, 'x' => 0 ), 'to' => array( 'scale' => 1.2, 'x' => 100 ) ) ) )); array_push($animations, array( "id" => 1004, 'referencekey' => 1000, "value" => array( 'name' => n2_('Downscale top'), 'data' => array( 'duration' => 5, 'strength' => array('scale','y'), 'from' => array( 'scale' => 1.5, 'y' => 0 ), 'to' => array( 'scale' => 1.2, 'y' => -100 ) ) ) )); array_push($animations, array( "id" => 1005, 'referencekey' => 1000, "value" => array( 'name' => n2_('Downscale bottom'), 'data' => array( 'duration' => 5, 'strength' => array('scale','y'), 'from' => array( 'scale' => 1.5, 'y' => 0 ), 'to' => array( 'scale' => 1.2, 'y' => 100 ) ) ) )); array_push($animations, array( "id" => 1006, 'referencekey' => 1000, "value" => array( 'name' => n2_('Upscale'), 'data' => array( 'duration' => 5, 'strength' => array('scale'), 'from' => array( 'scale' => 1.2 ), 'to' => array( 'scale' => 1.5 ) ) ) )); array_push($animations, array( "id" => 1007, 'referencekey' => 1000, "value" => array( 'name' => n2_('Upscale left'), 'data' => array( 'duration' => 5, 'strength' => array('scale','x'), 'from' => array( 'scale' => 1.2, 'x' => 0 ), 'to' => array( 'scale' => 1.5, 'x' => 100 ) ) ) )); array_push($animations, array( "id" => 1008, 'referencekey' => 1000, "value" => array( 'name' => n2_('Upscale right'), 'data' => array( 'duration' => 5, 'strength' => array('scale','x'), 'from' => array( 'scale' => 1.2, 'x' => 0 ), 'to' => array( 'scale' => 1.5, 'x' => -100 ) ) ) )); array_push($animations, array( "id" => 1009, 'referencekey' => 1000, "value" => array( 'name' => n2_('Upscale top'), 'data' => array( 'duration' => 5, 'strength' => array('scale','y'), 'from' => array( 'scale' => 1.2, 'y' => 0 ), 'to' => array( 'scale' => 1.5, 'y' => 100 ) ) ) )); array_push($animations, array( "id" => 1010, 'referencekey' => 1000, "value" => array( 'name' => n2_('Upscale bottom'), 'data' => array( 'duration' => 5, 'strength' => array('scale','y'), 'from' => array( 'scale' => 1.2, 'y' => 0 ), 'to' => array( 'scale' => 1.5, 'y' => -100 ) ) ) )); array_push($animations, array( "id" => 1011, 'referencekey' => 1000, "value" => array( 'name' => n2_('To left'), 'data' => array( 'duration' => 5, 'strength' => array('x'), 'from' => array( 'scale' => 1.5, 'x' => 0 ), 'to' => array( 'scale' => 1.5, 'x' => 100 ) ) ) )); array_push($animations, array( "id" => 1012, 'referencekey' => 1000, "value" => array( 'name' => n2_('To right'), 'data' => array( 'duration' => 5, 'strength' => array('x'), 'from' => array( 'scale' => 1.5, 'x' => 0 ), 'to' => array( 'scale' => 1.5, 'x' => -100 ) ) ) )); array_push($animations, array( "id" => 1013, 'referencekey' => 1000, "value" => array( 'name' => n2_('To top'), 'data' => array( 'duration' => 5, 'strength' => array('y'), 'from' => array( 'scale' => 1.5, 'y' => 0 ), 'to' => array( 'scale' => 1.5, 'y' => 100 ) ) ) )); array_push($animations, array( "id" => 1014, 'referencekey' => 1000, "value" => array( 'name' => n2_('To bottom'), 'data' => array( 'duration' => 5, 'strength' => array('y'), 'from' => array( 'scale' => 1.5, 'y' => 0 ), 'to' => array( 'scale' => 1.5, 'y' => -100 ) ) ) )); array_push($animations, array( "id" => 1015, 'referencekey' => 1000, "value" => array( 'name' => n2_('To bottom left'), 'data' => array( 'duration' => 5, 'strength' => array('x', 'y'), 'from' => array( 'scale' => 1.5, 'x' => 0, 'y' => 0 ), 'to' => array( 'scale' => 1.5, 'x' => 100, 'y' => -100 ) ) ) )); array_push($animations, array( "id" => 1016, 'referencekey' => 1000, "value" => array( 'name' => n2_('To top right'), 'data' => array( 'duration' => 5, 'strength' => array('x', 'y'), 'from' => array( 'scale' => 1.5, 'x' => 0, 'y' => 0 ), 'to' => array( 'scale' => 1.5, 'x' => -100, 'y' => 100 ) ) ) )); array_push($animations, array( "id" => 1017, 'referencekey' => 1000, "value" => array( 'name' => n2_('To bottom left'), 'data' => array( 'duration' => 5, 'strength' => array('x', 'y'), 'from' => array( 'scale' => 1.5, 'x' => 0, 'y' => 0 ), 'to' => array( 'scale' => 1.5, 'x' => 100, 'y' => -100 ) ) ) )); array_push($animations, array( "id" => 1018, 'referencekey' => 1000, "value" => array( 'name' => n2_('To bottom right'), 'data' => array( 'duration' => 5, 'strength' => array('x', 'y'), 'from' => array( 'scale' => 1.5, 'x' => 0, 'y' => 0 ), 'to' => array( 'scale' => 1.5, 'x' => -100, 'y' => -100 ) ) ) )); } public static function layoutStorage(&$sets, &$layouts) { N2Base::getApplicationInfo('smartslider') ->loadLocale(); array_push($sets, array( 'id' => 1900, 'referencekey' => '', 'value' => n2_('My layouts') )); } } N2SmartSliderStorage::init();