Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

jerryB

Members
  • Posts

    10
  • Joined

  • Last visited

jerryB's Achievements

  1. Ah, thanks, that looks closer; I'll play with that config
  2. Thanks, yeah, I did see those, but they are using the CDN--I can get that to work--but I need to enqueue to the local file. Was hoping to find an example of that from a user. Thanks
  3. Hi, I downloaded the member source files and have them in my theme's directory; I'm trying to enqueue to GSAP and ScrollTrigger, but not sure of the exact coding or which files in the folder I need to connect to; this is what I have, but it's not working ... thanks <?php function add_gsap_scripts() { wp_enqueue_script ( 'gsap-js' , get_stylesheet_directory_uri() . '/lib/gsap/minified/gsap.min.js', array( 'jquery' ), '1', true ); wp_enqueue_style ( 'gsap-ScrollTrigger' , get_stylesheet_directory_uri() . '/lib/gsap/minified/ScrollTrigger.min.js', '', '1', 'all' ); wp_enqueue_script( 'gsap-custom', get_template_directory_uri() . '/js/custom-gsap-scripts.js', array(), false, true ); } add_action( 'wp_enqueue_scripts', 'add_gsap_scripts' ); ?>
  4. jerryB

    pinSpacing div

    ah! doh! ... thanks 😃
  5. jerryB

    pinSpacing div

    well from the demo above; this space between the pinned animation and the image below, which in the design is just a small margin
  6. jerryB

    pinSpacing div

    thanks ... the codepen isn't exactly what's happening on the wp page; but it is that space, after the animation completes, between it and the next image, that I'm trying to reduce
  7. jerryB

    pinSpacing div

    I've got an animated element pinned to the viewport but scrolling leaves a space equal to the end point below; or is I turn pin spacing off, I get an awkward wiping effect I don't want v... is there a way to pin an element but remove that extra spacing? I saw other questions around this same issue, though couldn't find a solution given thanks
  8. yes, thanks, that was the goal, to convert it ... I took a whack, and it's to the point where I can use it, I think thanks https://codepen.io/jerryklunk/pen/xxrEyxg
  9. thanks, here's a demo this is pretty much what happen in wordpress, content just scrolls thru and the animation container site there
  10. I have a clamshell like product that we have created an animation with 36 images like the intro on https://www.apple.com/macbook-pro-16/ ... I was able to use the info in tutorials to build and it works; until I put it in a WP page, then all the content below it scrolls right over (or under) before the animation finishes, and then the last image sits there because the canvas is set to position:fixed; I found the below string, but didn't see example of this animation where the animation, when done, scrolls off the page as the rest of the content comes ... I thought maybe doing it with GSAP/ScrollTrigger would be better, but I couldn't find any direct comparisons; help! 😃
×