SHARE
TWEET

Untitled

a guest Jan 12th, 2017 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var sunScene = new ScrollMagic.Scene({
  2.         triggerElement: 'body',
  3.         triggerHook: 0.5,
  4.         offset: 1000,
  5.         duration: '1000px'
  6.       })
  7.       .setClassToggle(".wordpress", "visible")
  8.       .addTo(controller);
  9.    
  10. var sunScene = new ScrollMagic.Scene({
  11.         triggerElement: 'body',
  12.         triggerHook: 0.5,
  13.         offset: 1000,
  14.         duration: '1000px'
  15.       })
  16.       .setClassToggle(".wordpress", "visible")
  17.       .setClassToggle(".wordpress-txt", "visible")
  18.       .addTo(controller);
  19.    
  20. var wordpressE = $('.wordpress', '.wordpress-txt')
  21.       var sunScene = new ScrollMagic.Scene({
  22.         triggerElement: 'body',
  23.         triggerHook: 0.5,
  24.         offset: 1000,
  25.         duration: '1000px'
  26.       })
  27.       .setClassToggle(wordpressE, "visible")
  28.       .addTo(controller);
RAW Paste Data
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top