Advertisement
artemsemkin

Untitled

Aug 24th, 2020
1,332
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. o($link, 0.6, {
  2.         y: (offsetYNextOut || offsetXNextOut) * (-1) / 2 + 'px',
  3.         autoAlpha: 0,
  4.         // ease: Power3.easeOut
  5.       });
  6.     }
  7.  
  8.     return tl;
  9.  
  10.   }
  11.  
  12.   function showButton($activeLink) {
  13.  
  14.     var tl = new TimelineMax();
  15.  
  16.     if (typeof $activeLink != 'undefined' && $activeLink.length) {
  17.       tl.to($activeLink, 0.6, {
  18.         y: '0px',
  19.         autoAlpha: 1,
  20.         // ease: Power3.easeOut
  21.       });
  22.     }
  23.  
  24.     return tl;
  25.  
  26.   }
  27.  
  28.   function setButton() {
  29.  
  30.     var tl = new TimelineMax();
  31.  
  32.     if (typeof $link != 'undefined' && $link.length) {
  33.       tl.set($link, {
  34.         y: (offsetYNextIn || offsetXNextIn) / 2 + 'px',
  35.         autoAlpha: 0
  36.       });
  37.     }
  38.  
  39.     return tl;
  40.  
  41.   }
  42.  
  43. }
  44.  
  45. /* ======================================================================== */
  46. /* 52. sliderHalfScreen */
  47. /* ======================================================================== */
  48. var SliderHalfScreen = function ($slider) {
  49.  
  50.   if (!$slider.length) {
  51.     return;
  52.   }
  53.  
  54.   var
  55.     $heading = $slider.find('.slider__heading'),
  56.     $subheading = $slider.find('.slider__subheading'),
  57.     $description = $slide
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement