phcthemes_admin_panel_pack 0.16.0 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +1 -1
- data/Rakefile +0 -5
- data/lib/phcthemes_admin_panel_pack/railtie.rb +4 -0
- data/lib/phcthemes_admin_panel_pack/version.rb +1 -1
- data/lib/phcthemes_admin_panel_pack.rb +1 -1
- metadata +10 -239
- data/app/assets/config/phcthemes_admin_panel_pack_manifest.js +0 -3
- data/app/assets/javascripts/common/backstretch/jquery.backstretch.js +0 -1602
- data/app/assets/javascripts/common/bootstrap/bootstrap.bundle.js +0 -7013
- data/app/assets/javascripts/common/bootstrap/bootstrap.three.js +0 -2377
- data/app/assets/javascripts/common/bootstrap-datepicker/bootstrap-datepicker.js +0 -2039
- data/app/assets/javascripts/common/bootstrap-markdown/bootstrap-markdown.js +0 -1390
- data/app/assets/javascripts/common/bootstrap-select/bootstrap-select.js +0 -3139
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-am_ET.js +0 -46
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-am_ET.js.map +0 -1
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-am_ET.min.js +0 -8
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ar_AR.js +0 -51
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ar_AR.js.map +0 -1
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ar_AR.min.js +0 -8
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-bg_BG.js +0 -46
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-bg_BG.js.map +0 -1
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-bg_BG.min.js +0 -8
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-cs_CZ.js +0 -39
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-cs_CZ.js.map +0 -1
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-cs_CZ.min.js +0 -8
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-da_DK.js +0 -46
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-da_DK.js.map +0 -1
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-da_DK.min.js +0 -8
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-de_DE.js +0 -46
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-de_DE.js.map +0 -1
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-de_DE.min.js +0 -8
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-en_US.js +0 -46
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-en_US.js.map +0 -1
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-en_US.min.js +0 -8
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-es_CL.js +0 -39
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-es_CL.js.map +0 -1
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-es_CL.min.js +0 -8
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-es_ES.js +0 -39
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-es_ES.js.map +0 -1
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-es_ES.min.js +0 -8
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-et_EE.js +0 -46
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-et_EE.js.map +0 -1
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-et_EE.min.js +0 -8
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-eu.js +0 -39
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-eu.js.map +0 -1
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-eu.min.js +0 -8
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fa_IR.js +0 -39
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fa_IR.js.map +0 -1
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fa_IR.min.js +0 -8
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fi_FI.js +0 -46
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fi_FI.js.map +0 -1
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fi_FI.min.js +0 -8
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fr_FR.js +0 -46
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fr_FR.js.map +0 -1
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-fr_FR.min.js +0 -8
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-hr_HR.js +0 -46
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-hr_HR.js.map +0 -1
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-hr_HR.min.js +0 -8
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-hu_HU.js +0 -46
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-hu_HU.js.map +0 -1
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-hu_HU.min.js +0 -8
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-id_ID.js +0 -39
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-id_ID.js.map +0 -1
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-id_ID.min.js +0 -8
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-it_IT.js +0 -41
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-it_IT.js.map +0 -1
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-it_IT.min.js +0 -8
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ja_JP.js +0 -39
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ja_JP.js.map +0 -1
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ja_JP.min.js +0 -8
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-kh_KM.js +0 -46
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-kh_KM.js.map +0 -1
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-kh_KM.min.js +0 -8
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ko_KR.js +0 -46
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ko_KR.js.map +0 -1
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ko_KR.min.js +0 -8
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-lt_LT.js +0 -46
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-lt_LT.js.map +0 -1
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-lt_LT.min.js +0 -8
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-lv_LV.js +0 -46
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-lv_LV.js.map +0 -1
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-lv_LV.min.js +0 -8
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-nb_NO.js +0 -46
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-nb_NO.js.map +0 -1
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-nb_NO.min.js +0 -8
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-nl_NL.js +0 -39
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-nl_NL.js.map +0 -1
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-nl_NL.min.js +0 -8
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pl_PL.js +0 -39
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pl_PL.js.map +0 -1
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pl_PL.min.js +0 -8
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pt_BR.js +0 -39
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pt_BR.js.map +0 -1
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pt_BR.min.js +0 -8
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pt_PT.js +0 -39
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pt_PT.js.map +0 -1
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-pt_PT.min.js +0 -8
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ro_RO.js +0 -40
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ro_RO.js.map +0 -1
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ro_RO.min.js +0 -8
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ru_RU.js +0 -40
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ru_RU.js.map +0 -1
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ru_RU.min.js +0 -8
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sk_SK.js +0 -39
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sk_SK.js.map +0 -1
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sk_SK.min.js +0 -8
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sl_SI.js +0 -44
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sl_SI.js.map +0 -1
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sl_SI.min.js +0 -8
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sv_SE.js +0 -46
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sv_SE.js.map +0 -1
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-sv_SE.min.js +0 -8
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-tr_TR.js +0 -46
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-tr_TR.js.map +0 -1
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-tr_TR.min.js +0 -8
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ua_UA.js +0 -39
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ua_UA.js.map +0 -1
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-ua_UA.min.js +0 -8
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-vi_VN.js +0 -46
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-vi_VN.js.map +0 -1
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-vi_VN.min.js +0 -8
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-zh_CN.js +0 -39
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-zh_CN.js.map +0 -1
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-zh_CN.min.js +0 -8
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-zh_TW.js +0 -39
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-zh_TW.js.map +0 -1
- data/app/assets/javascripts/common/bootstrap-select/i18n/defaults-zh_TW.min.js +0 -8
- data/app/assets/javascripts/common/chartjs/chart.js +0 -14680
- data/app/assets/javascripts/common/custom/custom.js +0 -0
- data/app/assets/javascripts/common/datatables/datatables.js +0 -15310
- data/app/assets/javascripts/common/daterangepicker/daterangepicker.js +0 -1565
- data/app/assets/javascripts/common/fastclick/fastclick.js +0 -841
- data/app/assets/javascripts/common/flexslider/jquery.flexslider.js +0 -1252
- data/app/assets/javascripts/common/greenstock/greensock.js +0 -36
- data/app/assets/javascripts/common/icheck/icheck.js +0 -509
- data/app/assets/javascripts/common/imagesloaded/imagesloaded.pkgd.js +0 -497
- data/app/assets/javascripts/common/isotope/isotope.pkgd.js +0 -3563
- data/app/assets/javascripts/common/jquery/jquery-3.4.1.js +0 -10598
- data/app/assets/javascripts/common/jquery-countdown/jquery.countdown.js +0 -246
- data/app/assets/javascripts/common/jquery-filterizer/jquery.filterizr.min.js +0 -1
- data/app/assets/javascripts/common/jquery-jvectormap/jquery-jvectormap.js +0 -44
- data/app/assets/javascripts/common/jquery-placeholder/jquery.placeholder.js +0 -281
- data/app/assets/javascripts/common/jquery-slimscroll/jquery.slimscroll.js +0 -474
- data/app/assets/javascripts/common/jquery-sparkline/jquery.sparkline.js +0 -3054
- data/app/assets/javascripts/common/jquery-ui/jquery-ui.js +0 -18706
- data/app/assets/javascripts/common/jquery-validation/jquery.validate.js +0 -1650
- data/app/assets/javascripts/common/jqvmap/jquery.vmap.js +0 -1281
- data/app/assets/javascripts/common/jqvmap/jquery.vmap.min.js +0 -10
- data/app/assets/javascripts/common/jqvmap/maps/continents/jquery.vmap.africa.js +0 -2
- data/app/assets/javascripts/common/jqvmap/maps/continents/jquery.vmap.asia.js +0 -2
- data/app/assets/javascripts/common/jqvmap/maps/continents/jquery.vmap.australia.js +0 -2
- data/app/assets/javascripts/common/jqvmap/maps/continents/jquery.vmap.europe.js +0 -2
- data/app/assets/javascripts/common/jqvmap/maps/continents/jquery.vmap.north-america.js +0 -2
- data/app/assets/javascripts/common/jqvmap/maps/continents/jquery.vmap.south-america.js +0 -2
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.algeria.js +0 -2
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.argentina.js +0 -1
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.brazil.js +0 -2
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.canada.js +0 -2
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.europe.js +0 -2
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.france.js +0 -1
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.germany.js +0 -2
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.greece.js +0 -1
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.iran.js +0 -6
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.iraq.js +0 -1
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.russia.js +0 -2
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.tunisia.js +0 -2
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.turkey.js +0 -11
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.usa.js +0 -2
- data/app/assets/javascripts/common/jqvmap/maps/jquery.vmap.world.js +0 -2
- data/app/assets/javascripts/common/js-cookie/js.cookie.js +0 -165
- data/app/assets/javascripts/common/layerslider/layerslider.kreaturamedia.jquery.js +0 -13
- data/app/assets/javascripts/common/layerslider/layerslider.origami.js +0 -13
- data/app/assets/javascripts/common/layerslider/layerslider.timeline.js +0 -13
- data/app/assets/javascripts/common/layerslider/layerslider.transitions.js +0 -13
- data/app/assets/javascripts/common/leaflet/leaflet.js +0 -5
- data/app/assets/javascripts/common/magnific-popup/jquery.magnific-popup.js +0 -1860
- data/app/assets/javascripts/common/mapbox/mapbox.js +0 -51
- data/app/assets/javascripts/common/metismenu/metisMenu.js +0 -340
- data/app/assets/javascripts/common/moderizer/modernizr.js +0 -11
- data/app/assets/javascripts/common/owl-carousel/owl.carousel.js +0 -3448
- data/app/assets/javascripts/common/pace/pace.js +0 -935
- data/app/assets/javascripts/common/paroller/jquery.paroller.js +0 -228
- data/app/assets/javascripts/common/particlejs/particles.js +0 -1541
- data/app/assets/javascripts/common/perfect-scrollbar/perfect-scrollbar.common.js +0 -1318
- data/app/assets/javascripts/common/perfect-scrollbar/perfect-scrollbar.esm.js +0 -1316
- data/app/assets/javascripts/common/perfect-scrollbar/perfect-scrollbar.js +0 -1324
- data/app/assets/javascripts/common/plyr/plyr.js +0 -9137
- data/app/assets/javascripts/common/rangeslider/rangeslider.js +0 -498
- data/app/assets/javascripts/common/retina/retina.js +0 -100
- data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.actions.js +0 -386
- data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.carousel.js +0 -365
- data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.kenburn.js +0 -199
- data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.layeranimation.js +0 -2524
- data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.migration.js +0 -260
- data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.navigation.js +0 -1156
- data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.parallax.js +0 -465
- data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.slideanims.js +0 -1447
- data/app/assets/javascripts/common/rev-slider/extensions/revolution.extension.video.js +0 -1464
- data/app/assets/javascripts/common/rev-slider/jquery.themepunch.revolution.js +0 -3286
- data/app/assets/javascripts/common/rev-slider/jquery.themepunch.tools.min.js +0 -8710
- data/app/assets/javascripts/common/scrollup/jquery.scrollUp.js +0 -168
- data/app/assets/javascripts/common/select2/select2.full.js +0 -6597
- data/app/assets/javascripts/common/selectbox/jquery.selectBox.js +0 -1092
- data/app/assets/javascripts/common/smooth-scroll/SmoothScroll.js +0 -788
- data/app/assets/javascripts/common/spectrum/spectrum.js +0 -2323
- data/app/assets/javascripts/common/stepper/jquery.fs.stepper.js +0 -339
- data/app/assets/javascripts/common/swiper/swiper.js +0 -8124
- data/app/assets/javascripts/common/toaster/toastr.js +0 -476
- data/app/assets/javascripts/common/typed/typed.js +0 -1045
- data/app/assets/javascripts/common/visable/jquery.visible.js +0 -68
- data/app/assets/javascripts/common/waypoints/jquery.waypoints.js +0 -662
- data/app/assets/javascripts/phcthemes_admin_panel_pack_adminlte.js +0 -12
- data/app/assets/javascripts/phcthemes_admin_panel_pack_basic.js +0 -5
- data/app/assets/javascripts/phcthemes_admin_panel_pack_boomerang.js +0 -0
- data/app/assets/javascripts/phcthemes_admin_panel_pack_coloradmin.js +0 -10
- data/app/assets/javascripts/phcthemes_admin_panel_pack_inspinia.js +0 -10
- data/app/assets/javascripts/phcthemes_admin_panel_pack_metronic.js +0 -4
- data/app/assets/javascripts/phcthemes_admin_panel_pack_quilpro.js +0 -5
- data/app/assets/javascripts/phcthemes_admin_panel_pack_starlight.js +0 -5
- data/app/assets/javascripts/themes/adminlte/custom/custom.js +0 -0
- data/app/assets/javascripts/themes/adminlte/theme/adminlte.js +0 -1141
- data/app/assets/javascripts/themes/boomerang/custom/custom.1.js +0 -0
- data/app/assets/javascripts/themes/boomerang/custom/custom.js +0 -0
- data/app/assets/javascripts/themes/coloradmin/theme/apps.js +0 -1650
- data/app/assets/javascripts/themes/coloradmin/theme/default.js +0 -152
- data/app/assets/javascripts/themes/inspinia/custom/custom.js +0 -0
- data/app/assets/javascripts/themes/inspinia/theme/inspinia.js +0 -279
- data/app/assets/javascripts/themes/metronic/theme/scripts.bundle.js +0 -9916
- data/app/assets/javascripts/themes/metronic/theme/vendors.bundle.js +0 -91352
- data/app/assets/stylesheets/common/custom/custom.scss +0 -0
- data/app/assets/stylesheets/phcthemes_admin_panel_pack_adminlte.scss +0 -13
- data/app/assets/stylesheets/phcthemes_admin_panel_pack_basic.scss +0 -6
- data/app/assets/stylesheets/phcthemes_admin_panel_pack_boomerang.scss +0 -24
- data/app/assets/stylesheets/phcthemes_admin_panel_pack_coloradmin.scss +0 -15
- data/app/assets/stylesheets/phcthemes_admin_panel_pack_inspinia.scss +0 -15
- data/app/assets/stylesheets/phcthemes_admin_panel_pack_metronic.scss +0 -7
- data/app/assets/stylesheets/phcthemes_admin_panel_pack_quilpro.scss +0 -16
- data/app/assets/stylesheets/phcthemes_admin_panel_pack_starlight.scss +0 -12
- data/app/assets/stylesheets/themes/adminlte/custom/custom.scss +0 -0
- data/app/assets/stylesheets/themes/boomerang/custom/custom.scss +0 -0
- data/app/assets/stylesheets/themes/coloradmin/custom/custom.scss +0 -0
- data/lib/phcthemes_admin_panel_pack/engine.rb +0 -19
@@ -1,465 +0,0 @@
|
|
1
|
-
/********************************************
|
2
|
-
* REVOLUTION 5.4.6.5 EXTENSION - PARALLAX
|
3
|
-
* @version: 2.2.3 (17.05.2017)
|
4
|
-
* @requires jquery.themepunch.revolution.js
|
5
|
-
* @author ThemePunch
|
6
|
-
*********************************************/
|
7
|
-
(function($) {
|
8
|
-
"use strict";
|
9
|
-
var _R = jQuery.fn.revolution,
|
10
|
-
_ISM = _R.is_mobile(),
|
11
|
-
extension = { alias:"Parallax Min JS",
|
12
|
-
name:"revolution.extensions.parallax.min.js",
|
13
|
-
min_core: "5.4.5",
|
14
|
-
version:"2.2.3"
|
15
|
-
};
|
16
|
-
|
17
|
-
jQuery.extend(true,_R, {
|
18
|
-
|
19
|
-
checkForParallax : function(container,opt) {
|
20
|
-
if (_R.compare_version(extension).check==="stop") return false;
|
21
|
-
var _ = opt.parallax;
|
22
|
-
|
23
|
-
if (_.done) return;
|
24
|
-
_.done = true;
|
25
|
-
|
26
|
-
if (_ISM && _.disable_onmobile=="on") return false;
|
27
|
-
|
28
|
-
|
29
|
-
if (_.type=="3D" || _.type=="3d") {
|
30
|
-
punchgs.TweenLite.set(opt.c,{overflow:_.ddd_overflow});
|
31
|
-
punchgs.TweenLite.set(opt.ul,{overflow:_.ddd_overflow});
|
32
|
-
if (opt.sliderType!="carousel" && _.ddd_shadow=="on") {
|
33
|
-
opt.c.prepend('<div class="dddwrappershadow"></div>')
|
34
|
-
punchgs.TweenLite.set(opt.c.find('.dddwrappershadow'),{force3D:"auto",transformPerspective:1600,transformOrigin:"50% 50%", width:"100%",height:"100%",position:"absolute",top:0,left:0,zIndex:0});
|
35
|
-
}
|
36
|
-
}
|
37
|
-
|
38
|
-
function setDDDInContainer(li) {
|
39
|
-
if (_.type=="3D" || _.type=="3d") {
|
40
|
-
li.find('.slotholder').wrapAll('<div class="dddwrapper" style="width:100%;height:100%;position:absolute;top:0px;left:0px;overflow:hidden"></div>');
|
41
|
-
li.find('.tp-parallax-wrap').wrapAll('<div class="dddwrapper-layer" style="width:100%;height:100%;position:absolute;top:0px;left:0px;z-index:5;overflow:'+_.ddd_layer_overflow+';"></div>');
|
42
|
-
|
43
|
-
// MOVE THE REMOVED 3D LAYERS OUT OF THE PARALLAX GROUP
|
44
|
-
li.find('.rs-parallaxlevel-tobggroup').closest('.tp-parallax-wrap').wrapAll('<div class="dddwrapper-layertobggroup" style="position:absolute;top:0px;left:0px;z-index:50;width:100%;height:100%"></div>');
|
45
|
-
|
46
|
-
var dddw = li.find('.dddwrapper'),
|
47
|
-
dddwl = li.find('.dddwrapper-layer'),
|
48
|
-
dddwlbg = li.find('.dddwrapper-layertobggroup');
|
49
|
-
|
50
|
-
dddwlbg.appendTo(dddw);
|
51
|
-
|
52
|
-
if (opt.sliderType=="carousel") {
|
53
|
-
if (_.ddd_shadow=="on") dddw.addClass("dddwrappershadow");
|
54
|
-
punchgs.TweenLite.set(dddw,{borderRadius:opt.carousel.border_radius});
|
55
|
-
}
|
56
|
-
punchgs.TweenLite.set(li,{overflow:"visible",transformStyle:"preserve-3d",perspective:1600});
|
57
|
-
punchgs.TweenLite.set(dddw,{force3D:"auto",transformOrigin:"50% 50%"});
|
58
|
-
punchgs.TweenLite.set(dddwl,{force3D:"auto",transformOrigin:"50% 50%",zIndex:5});
|
59
|
-
punchgs.TweenLite.set(opt.ul,{transformStyle:"preserve-3d",transformPerspective:1600});
|
60
|
-
}
|
61
|
-
}
|
62
|
-
|
63
|
-
opt.li.each(function() {
|
64
|
-
setDDDInContainer(jQuery(this));
|
65
|
-
});
|
66
|
-
|
67
|
-
if ((_.type=="3D" || _.type=="3d") && opt.c.find('.tp-static-layers').length>0) {
|
68
|
-
punchgs.TweenLite.set(opt.c.find('.tp-static-layers'),{top:0, left:0,width:"100%",height:"100%"});
|
69
|
-
setDDDInContainer(opt.c.find('.tp-static-layers'));
|
70
|
-
}
|
71
|
-
_.pcontainers = new Array();
|
72
|
-
_.pcontainer_depths = new Array();
|
73
|
-
_.bgcontainers = new Array();
|
74
|
-
_.bgcontainer_depths = new Array();
|
75
|
-
|
76
|
-
opt.c.find('.tp-revslider-slidesli .slotholder, .tp-revslider-slidesli .rs-background-video-layer').each(function() {
|
77
|
-
var t = jQuery(this),
|
78
|
-
l = t.data('bgparallax') || opt.parallax.bgparallax;
|
79
|
-
l = l == "on" ? 1 : l;
|
80
|
-
if (l!==undefined && l!=="off") {
|
81
|
-
_.bgcontainers.push(t);
|
82
|
-
_.bgcontainer_depths.push(opt.parallax.levels[parseInt(l,0)-1]/100);
|
83
|
-
}
|
84
|
-
})
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
for (var i = 1; i<=_.levels.length;i++)
|
89
|
-
opt.c.find('.rs-parallaxlevel-'+i).each(function() {
|
90
|
-
var pw = jQuery(this),
|
91
|
-
tpw = pw.closest('.tp-parallax-wrap');
|
92
|
-
|
93
|
-
tpw.data('parallaxlevel',_.levels[i-1])
|
94
|
-
tpw.addClass("tp-parallax-container");
|
95
|
-
_.pcontainers.push(tpw);
|
96
|
-
_.pcontainer_depths.push(_.levels[i-1]);
|
97
|
-
});
|
98
|
-
|
99
|
-
|
100
|
-
if (_.type=="mouse" || _.type=="scroll+mouse" || _.type=="mouse+scroll" || _.type=="3D" || _.type=="3d") {
|
101
|
-
|
102
|
-
container.mouseenter(function(event) {
|
103
|
-
var currslide = container.find('.active-revslide'),
|
104
|
-
t = container.offset().top,
|
105
|
-
l = container.offset().left,
|
106
|
-
ex = (event.pageX-l),
|
107
|
-
ey = (event.pageY-t);
|
108
|
-
currslide.data("enterx",ex);
|
109
|
-
currslide.data("entery",ey);
|
110
|
-
});
|
111
|
-
|
112
|
-
container.on('mousemove.hoverdir, mouseleave.hoverdir, trigger3dpath',function(event,data) {
|
113
|
-
var currslide = data && data.li ? data.li : container.find('.active-revslide');
|
114
|
-
|
115
|
-
|
116
|
-
// CALCULATE DISTANCES
|
117
|
-
if (_.origo=="enterpoint") {
|
118
|
-
var t = container.offset().top,
|
119
|
-
l = container.offset().left;
|
120
|
-
|
121
|
-
if (currslide.data("enterx")==undefined) currslide.data("enterx",(event.pageX-l));
|
122
|
-
if (currslide.data("entery")==undefined) currslide.data("entery",(event.pageY-t));
|
123
|
-
|
124
|
-
var mh = currslide.data("enterx") || (event.pageX-l),
|
125
|
-
mv = currslide.data("entery") || (event.pageY-t),
|
126
|
-
diffh = (mh - (event.pageX - l)),
|
127
|
-
diffv = (mv - (event.pageY - t)),
|
128
|
-
s = _.speed/1000 || 0.4;
|
129
|
-
} else {
|
130
|
-
var t = container.offset().top,
|
131
|
-
l = container.offset().left,
|
132
|
-
diffh = (opt.conw/2 - (event.pageX-l)),
|
133
|
-
diffv = (opt.conh/2 - (event.pageY-t)),
|
134
|
-
s = _.speed/1000 || 3;
|
135
|
-
}
|
136
|
-
|
137
|
-
|
138
|
-
if (event.type=="mouseleave") {
|
139
|
-
diffh = _.ddd_lasth || 0;
|
140
|
-
diffv = _.ddd_lastv || 0;
|
141
|
-
s = 1.5;
|
142
|
-
}
|
143
|
-
|
144
|
-
|
145
|
-
for (var i=0;i<_.pcontainers.length;i++) {
|
146
|
-
var pc = _.pcontainers[i],
|
147
|
-
bl = _.pcontainer_depths[i],
|
148
|
-
pl = _.type=="3D" || _.type=="3d" ? bl/200 : bl/100,
|
149
|
-
offsh = diffh * pl,
|
150
|
-
offsv = diffv * pl;
|
151
|
-
if (_.type=="scroll+mouse" || _.type=="mouse+scroll" )
|
152
|
-
punchgs.TweenLite.to(pc,s,{force3D:"auto",x:offsh,ease:punchgs.Power3.easeOut,overwrite:"all"});
|
153
|
-
else
|
154
|
-
punchgs.TweenLite.to(pc,s,{force3D:"auto",x:offsh,y:offsv,ease:punchgs.Power3.easeOut,overwrite:"all"});
|
155
|
-
};
|
156
|
-
|
157
|
-
if (_.type=="3D" || _.type=="3d") {
|
158
|
-
var sctor = '.tp-revslider-slidesli .dddwrapper, .dddwrappershadow, .tp-revslider-slidesli .dddwrapper-layer, .tp-static-layers .dddwrapper-layer';
|
159
|
-
if (opt.sliderType==="carousel") sctor = ".tp-revslider-slidesli .dddwrapper, .tp-revslider-slidesli .dddwrapper-layer, .tp-static-layers .dddwrapper-layer";
|
160
|
-
opt.c.find(sctor).each(function() {
|
161
|
-
var t = jQuery(this),
|
162
|
-
pl = _.levels[_.levels.length-1]/200,
|
163
|
-
offsh = diffh * pl,
|
164
|
-
offsv = diffv * pl,
|
165
|
-
offrv = opt.conw == 0 ? 0 : Math.round((diffh / opt.conw * pl)*100) || 0,
|
166
|
-
offrh = opt.conh == 0 ? 0 : Math.round((diffv / opt.conh * pl)*100) || 0,
|
167
|
-
li = t.closest('li'),
|
168
|
-
zz = 0,
|
169
|
-
itslayer = false;
|
170
|
-
|
171
|
-
if (t.hasClass("dddwrapper-layer")) {
|
172
|
-
zz = _.ddd_z_correction || 65;
|
173
|
-
itslayer = true;
|
174
|
-
}
|
175
|
-
|
176
|
-
if (t.hasClass("dddwrapper-layer")) {
|
177
|
-
offsh=0;
|
178
|
-
offsv=0;
|
179
|
-
}
|
180
|
-
|
181
|
-
if (li.hasClass("active-revslide") || opt.sliderType!="carousel")
|
182
|
-
if (_.ddd_bgfreeze!="on" || (itslayer))
|
183
|
-
punchgs.TweenLite.to(t,s,{rotationX:offrh, rotationY:-offrv, x:offsh, z:zz,y:offsv,ease:punchgs.Power3.easeOut,overwrite:"all"});
|
184
|
-
else
|
185
|
-
punchgs.TweenLite.to(t,0.5,{force3D:"auto",rotationY:0, rotationX:0, z:0,ease:punchgs.Power3.easeOut,overwrite:"all"});
|
186
|
-
else
|
187
|
-
punchgs.TweenLite.to(t,0.5,{force3D:"auto",rotationY:0,x:0,y:0, rotationX:0, z:0,ease:punchgs.Power3.easeOut,overwrite:"all"});
|
188
|
-
|
189
|
-
if (event.type=="mouseleave")
|
190
|
-
punchgs.TweenLite.to(jQuery(this),3.8,{z:0, ease:punchgs.Power3.easeOut});
|
191
|
-
});
|
192
|
-
}
|
193
|
-
});
|
194
|
-
|
195
|
-
if (_ISM)
|
196
|
-
window.ondeviceorientation = function(event) {
|
197
|
-
var y = Math.round(event.beta || 0)-70,
|
198
|
-
x = Math.round(event.gamma || 0);
|
199
|
-
|
200
|
-
var currslide = container.find('.active-revslide');
|
201
|
-
|
202
|
-
if (jQuery(window).width() > jQuery(window).height()){
|
203
|
-
var xx = x;
|
204
|
-
x = y;
|
205
|
-
y = xx;
|
206
|
-
}
|
207
|
-
|
208
|
-
var cw = container.width(),
|
209
|
-
ch = container.height(),
|
210
|
-
diffh = (360/cw * x),
|
211
|
-
diffv = (180/ch * y),
|
212
|
-
s = _.speed/1000 || 3,
|
213
|
-
pcnts = [];
|
214
|
-
|
215
|
-
currslide.find(".tp-parallax-container").each(function(i){
|
216
|
-
pcnts.push(jQuery(this));
|
217
|
-
});
|
218
|
-
container.find('.tp-static-layers .tp-parallax-container').each(function(){
|
219
|
-
pcnts.push(jQuery(this));
|
220
|
-
});
|
221
|
-
|
222
|
-
jQuery.each(pcnts, function() {
|
223
|
-
var pc = jQuery(this),
|
224
|
-
bl = parseInt(pc.data('parallaxlevel'),0),
|
225
|
-
pl = bl/100,
|
226
|
-
offsh = diffh * pl*2,
|
227
|
-
offsv = diffv * pl*4;
|
228
|
-
punchgs.TweenLite.to(pc,s,{force3D:"auto",x:offsh,y:offsv,ease:punchgs.Power3.easeOut,overwrite:"all"});
|
229
|
-
});
|
230
|
-
|
231
|
-
if (_.type=="3D" || _.type=="3d") {
|
232
|
-
var sctor = '.tp-revslider-slidesli .dddwrapper, .dddwrappershadow, .tp-revslider-slidesli .dddwrapper-layer, .tp-static-layers .dddwrapper-layer';
|
233
|
-
if (opt.sliderType==="carousel") sctor = ".tp-revslider-slidesli .dddwrapper, .tp-revslider-slidesli .dddwrapper-layer, .tp-static-layers .dddwrapper-layer";
|
234
|
-
opt.c.find(sctor).each(function() {
|
235
|
-
var t = jQuery(this),
|
236
|
-
pl = _.levels[_.levels.length-1]/200,
|
237
|
-
offsh = diffh * pl,
|
238
|
-
offsv = diffv * pl*3,
|
239
|
-
offrv = opt.conw == 0 ? 0 : Math.round((diffh / opt.conw * pl)*500) || 0,
|
240
|
-
offrh = opt.conh == 0 ? 0 : Math.round((diffv / opt.conh * pl)*700) || 0,
|
241
|
-
li = t.closest('li'),
|
242
|
-
zz = 0,
|
243
|
-
itslayer = false;
|
244
|
-
|
245
|
-
if (t.hasClass("dddwrapper-layer")) {
|
246
|
-
zz = _.ddd_z_correction || 65;
|
247
|
-
itslayer = true;
|
248
|
-
}
|
249
|
-
|
250
|
-
if (t.hasClass("dddwrapper-layer")) {
|
251
|
-
offsh=0;
|
252
|
-
offsv=0;
|
253
|
-
}
|
254
|
-
|
255
|
-
if (li.hasClass("active-revslide") || opt.sliderType!="carousel")
|
256
|
-
if (_.ddd_bgfreeze!="on" || (itslayer))
|
257
|
-
punchgs.TweenLite.to(t,s,{rotationX:offrh, rotationY:-offrv, x:offsh, z:zz,y:offsv,ease:punchgs.Power3.easeOut,overwrite:"all"});
|
258
|
-
else
|
259
|
-
punchgs.TweenLite.to(t,0.5,{force3D:"auto",rotationY:0, rotationX:0, z:0,ease:punchgs.Power3.easeOut,overwrite:"all"});
|
260
|
-
else
|
261
|
-
punchgs.TweenLite.to(t,0.5,{force3D:"auto",rotationY:0,z:0,x:0,y:0, rotationX:0, ease:punchgs.Power3.easeOut,overwrite:"all"});
|
262
|
-
|
263
|
-
if (event.type=="mouseleave")
|
264
|
-
punchgs.TweenLite.to(jQuery(this),3.8,{z:0, ease:punchgs.Power3.easeOut});
|
265
|
-
});
|
266
|
-
}
|
267
|
-
}
|
268
|
-
}
|
269
|
-
|
270
|
-
// COLLECT ALL ELEMENTS WHICH NEED FADE IN/OUT ON PARALLAX SCROLL
|
271
|
-
var _s = opt.scrolleffect;
|
272
|
-
_s.bgs = new Array();
|
273
|
-
|
274
|
-
if (_s.on) {
|
275
|
-
if (_s.on_slidebg==="on")
|
276
|
-
for (var i=0;i<opt.allslotholder.length;i++) {
|
277
|
-
_s.bgs.push(opt.allslotholder[i]);
|
278
|
-
}
|
279
|
-
|
280
|
-
_s.multiplicator_layers = parseFloat(_s.multiplicator_layers);
|
281
|
-
_s.multiplicator = parseFloat(_s.multiplicator);
|
282
|
-
}
|
283
|
-
if (_s.layers!==undefined && _s.layers.length===0) _s.layers = false;
|
284
|
-
if (_s.bgs!==undefined && _s.bgs.length===0) _s.bgs = false;
|
285
|
-
|
286
|
-
_R.scrollTicker(opt,container);
|
287
|
-
|
288
|
-
},
|
289
|
-
|
290
|
-
scrollTicker : function(opt,container) {
|
291
|
-
var faut;
|
292
|
-
|
293
|
-
if (opt.scrollTicker!=true) {
|
294
|
-
opt.scrollTicker = true;
|
295
|
-
if (_ISM) {
|
296
|
-
punchgs.TweenLite.ticker.fps(150);
|
297
|
-
punchgs.TweenLite.ticker.addEventListener("tick",function() {_R.scrollHandling(opt);},container,false,1);
|
298
|
-
} else {
|
299
|
-
document.addEventListener('scroll',function(e) {
|
300
|
-
_R.scrollHandling(opt,true);
|
301
|
-
}, {passive:true});
|
302
|
-
|
303
|
-
/*window.addEventListener('mousewheel',function(e) {
|
304
|
-
_R.scrollHandling(opt,true);
|
305
|
-
}, {passive:true});
|
306
|
-
|
307
|
-
window.addEventListener('DOMMouseScroll',function() {_R.scrollHandling(opt,true);}, {passive:true});*/
|
308
|
-
}
|
309
|
-
|
310
|
-
}
|
311
|
-
_R.scrollHandling(opt, true);
|
312
|
-
},
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
// - SET POST OF SCROLL PARALLAX -
|
317
|
-
scrollHandling : function(opt,fromMouse,speedoverwrite) {
|
318
|
-
opt.lastwindowheight = opt.lastwindowheight || window.innerHeight;
|
319
|
-
opt.conh = opt.conh===0 || opt.conh===undefined ? opt.infullscreenmode ? opt.minHeight : opt.c.height() : opt.conh;
|
320
|
-
if (opt.lastscrolltop==window.scrollY && !opt.duringslidechange && !fromMouse) return false;
|
321
|
-
punchgs.TweenLite.delayedCall(0.2,saveLastScroll,[opt,window.scrollY]);
|
322
|
-
|
323
|
-
var b = opt.c[0].getBoundingClientRect(),
|
324
|
-
_v = opt.viewPort,
|
325
|
-
_ = opt.parallax;
|
326
|
-
|
327
|
-
var proc = b.top<0 || b.height>opt.lastwindowheight ? b.top / b.height : b.bottom>opt.lastwindowheight ? (b.bottom-opt.lastwindowheight) / b.height : 0;
|
328
|
-
opt.scrollproc = proc;
|
329
|
-
|
330
|
-
if (_R.callBackHandling)
|
331
|
-
_R.callBackHandling(opt,"parallax","start");
|
332
|
-
|
333
|
-
if (_v.enable) {
|
334
|
-
var area = 1-Math.abs(proc);
|
335
|
-
area = area<0 ? 0 : area;
|
336
|
-
// To Make sure it is not any more in %
|
337
|
-
if (!jQuery.isNumeric(_v.visible_area))
|
338
|
-
if (_v.visible_area.indexOf('%')!==-1)
|
339
|
-
_v.visible_area = parseInt(_v.visible_area)/100;
|
340
|
-
|
341
|
-
if (1-_v.visible_area<=area) {
|
342
|
-
if (!opt.inviewport) {
|
343
|
-
opt.inviewport = true;
|
344
|
-
_R.enterInViewPort(opt);
|
345
|
-
}
|
346
|
-
} else {
|
347
|
-
if (opt.inviewport) {
|
348
|
-
opt.inviewport = false;
|
349
|
-
_R.leaveViewPort(opt);
|
350
|
-
}
|
351
|
-
}
|
352
|
-
}
|
353
|
-
|
354
|
-
// SCROLL BASED PARALLAX EFFECT
|
355
|
-
if (_ISM && _.disable_onmobile=="on") return false;
|
356
|
-
|
357
|
-
if (_.type!="3d" && _.type!="3D") {
|
358
|
-
if (_.type=="scroll" || _.type=="scroll+mouse" || _.type=="mouse+scroll")
|
359
|
-
if (_.pcontainers)
|
360
|
-
for (var i=0;i<_.pcontainers.length;i++) {
|
361
|
-
if (_.pcontainers[i].length>0) {
|
362
|
-
var pc = _.pcontainers[i],
|
363
|
-
pl = _.pcontainer_depths[i]/100,
|
364
|
-
offsv = Math.round((proc * -(pl*opt.conh)*10))/10 || 0,
|
365
|
-
s = speedoverwrite!==undefined ? speedoverwrite : _.speedls/1000 || 0;
|
366
|
-
pc.data('parallaxoffset',offsv);
|
367
|
-
punchgs.TweenLite.to(pc,s,{overwrite:"auto",force3D:"auto",y:offsv})
|
368
|
-
}
|
369
|
-
}
|
370
|
-
if (_.bgcontainers)
|
371
|
-
for (var i=0;i<_.bgcontainers.length;i++) {
|
372
|
-
var t = _.bgcontainers[i],
|
373
|
-
l = _.bgcontainer_depths[i],
|
374
|
-
offsv = proc * -(l*opt.conh) || 0,
|
375
|
-
s = speedoverwrite!==undefined ? speedoverwrite : _.speedbg/1000 || 0;
|
376
|
-
|
377
|
-
punchgs.TweenLite.to(t,s,{position:"absolute",top:"0px",left:"0px",backfaceVisibility:"hidden",force3D:"true",y:offsv+"px"});
|
378
|
-
}
|
379
|
-
}
|
380
|
-
|
381
|
-
// SCROLL BASED BLUR,FADE,GRAYSCALE EFFECT
|
382
|
-
var _s = opt.scrolleffect;
|
383
|
-
if (_s.on && (_s.disable_on_mobile!=="on" || !_ISM)) {
|
384
|
-
|
385
|
-
var _fproc = Math.abs(proc)-(_s.tilt/100);
|
386
|
-
_fproc = _fproc<0 ? 0 : _fproc;
|
387
|
-
if (_s.layers!==false) {
|
388
|
-
var fadelevel = 1 - (_fproc *_s.multiplicator_layers),
|
389
|
-
seo = { backfaceVisibility:"hidden",force3D:"true",z:0.001,perspective:600};
|
390
|
-
if (_s.direction=="top" && proc>=0) fadelevel=1;
|
391
|
-
if (_s.direction=="bottom" && proc<=0) fadelevel=1;
|
392
|
-
fadelevel = fadelevel>1 ? 1 : fadelevel < 0 ? 0 : fadelevel;
|
393
|
-
|
394
|
-
|
395
|
-
if (_s.fade==="on")
|
396
|
-
seo.opacity = fadelevel;
|
397
|
-
|
398
|
-
if (_s.scale==="on") {
|
399
|
-
var scalelevel = (fadelevel);
|
400
|
-
seo.scale = 1+(1-scalelevel);
|
401
|
-
|
402
|
-
}
|
403
|
-
|
404
|
-
if (_s.blur==="on") {
|
405
|
-
var blurlevel = (1-fadelevel) * _s.maxblur;
|
406
|
-
seo['-webkit-filter'] = 'blur('+blurlevel+'px)';
|
407
|
-
seo['filter'] = 'blur('+blurlevel+'px)';
|
408
|
-
}
|
409
|
-
|
410
|
-
|
411
|
-
if (_s.grayscale==="on") {
|
412
|
-
var graylevel = (1-fadelevel) * 100,
|
413
|
-
gf = 'grayscale('+graylevel+'%)';
|
414
|
-
seo['-webkit-filter'] = seo['-webkit-filter']===undefined ? gf : seo['-webkit-filter']+' '+gf;
|
415
|
-
seo['filter'] = seo['filter']===undefined ? gf: seo['filter']+' '+gf;
|
416
|
-
}
|
417
|
-
punchgs.TweenLite.set(_s.layers,seo);
|
418
|
-
}
|
419
|
-
|
420
|
-
if (_s.bgs!==false) {
|
421
|
-
var fadelevel = 1 - (_fproc *_s.multiplicator),
|
422
|
-
seo = { backfaceVisibility:"hidden",force3D:"true"};
|
423
|
-
if (_s.direction=="top" && proc>=0) fadelevel=1;
|
424
|
-
if (_s.direction=="bottom" && proc<=0) fadelevel=1;
|
425
|
-
fadelevel = fadelevel>1 ? 1 : fadelevel < 0 ? 0 : fadelevel;
|
426
|
-
|
427
|
-
if (_s.fade==="on")
|
428
|
-
seo.opacity = fadelevel;
|
429
|
-
|
430
|
-
if (_s.scale==="on") {
|
431
|
-
var scalelevel = fadelevel;
|
432
|
-
//seo.scale = scalelevel;
|
433
|
-
punchgs.TweenLite.set(jQuery('.tp-kbimg-wrap'),{transformOrigin:"50% 50%",scale:scalelevel,force3D:true})
|
434
|
-
}
|
435
|
-
|
436
|
-
if (_s.blur==="on") {
|
437
|
-
var blurlevel = (1-fadelevel) * _s.maxblur;
|
438
|
-
seo['-webkit-filter'] = 'blur('+blurlevel+'px)';
|
439
|
-
seo['filter'] = 'blur('+blurlevel+'px)';
|
440
|
-
}
|
441
|
-
|
442
|
-
|
443
|
-
if (_s.grayscale==="on") {
|
444
|
-
var graylevel = (1-fadelevel) * 100,
|
445
|
-
gf = 'grayscale('+graylevel+'%)';
|
446
|
-
seo['-webkit-filter'] = seo['-webkit-filter']===undefined ? gf : seo['-webkit-filter']+' '+gf;
|
447
|
-
seo['filter'] = seo['filter']===undefined ? gf: seo['filter']+' '+gf;
|
448
|
-
}
|
449
|
-
|
450
|
-
punchgs.TweenLite.set(_s.bgs,seo);
|
451
|
-
}
|
452
|
-
}
|
453
|
-
|
454
|
-
if (_R.callBackHandling)
|
455
|
-
_R.callBackHandling(opt,"parallax","end");
|
456
|
-
|
457
|
-
}
|
458
|
-
|
459
|
-
});
|
460
|
-
|
461
|
-
function saveLastScroll(opt,st) { opt.lastscrolltop = st;}
|
462
|
-
|
463
|
-
|
464
|
-
//// END OF PARALLAX EFFECT
|
465
|
-
})(jQuery);
|