Bachir Soussi Chiadmi il y a 9 ans
Parent
commit
6df0ebfa53
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3 3
      sites/all/themes/gui/materiobasetheme/js/script.js

+ 3 - 3
sites/all/themes/gui/materiobasetheme/js/script.js

@@ -338,9 +338,9 @@
         // news
         $('.panel-pane.news-panel .center-wrapper .panel-panel', '#home-v2').each(function(i, e){
           $(this)
-            // .attr('data-anchor-target', "#news-pane")
+            .attr('data-anchor-target', "#news-pane")
             .attr('data--'+(i+1)*150+'-bottom-top', 'transform:translateY(20em);opacity:0;')
-            .attr('data-100-center-center', 'transform[quadratic]:translateY(0em);opacity:1;');
+            .attr('data-center-top', 'transform[quadratic]:translateY(0em);opacity:1;');
         });
 
         // Formations
@@ -356,7 +356,7 @@
           $(this)
             // .attr('data-anchor-target', "#news-pane")
             .attr('data--'+i*100+'-bottom-top', 'opacity:0;')
-            .attr('data-center-top', 'opacity:1;');
+            .attr('data-'+i*50+'-center-center', 'opacity:1;');
         });
 
         _skrollr = skrollr.init();