Jump to content
GreenSock

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

ThePixelPixie

Members
  • Posts

    24
  • Joined

  • Last visited

Profile Information

  • Gender
    Female
  • Location
    Chattanooga, TN

Recent Profile Visitors

861 profile views

ThePixelPixie's Achievements

  1. @nico fonseca - Oh thank you! That works GREAT!
  2. Hi there, I'm adapting some code from one of the other forum questions here. It's all working pretty nicely. But I'm just not sure how to make an adjustment for transitioning the color. Right now the transition to the full-page background color is fairly abrupt. I'd really like it to be slightly more gradual. Is that something I can do just with CSS transition? I wasn't having any luck with that earlier, so I'm guessing it actually happens in the js somewhere. Actually, in general, the content for the full-screen part just feels clunky on that transition right now - which may also be because I'm using flex classes & bootstrap to position the content vertically and horizontally centered. Is there a better way to do that with Tweening? Thanks in advance.
  3. @nicofonseca - OO O OOOOOO!!! I had *thought* I'd set the images to opacity 0, but it turns out I had *not*! Now it's working GREAT! Thank you thank you THANK YOU!!!
  4. @nicofonseca - You mentioned updating the pen without jQuery. Is it possible that since the dev site I'm working on (it's a WordPress site) *does* use jQuery, that the issue is a conflict there? I don't have immediate access to the logs and will have to ask for that later this morning. Nothing's showing up in Console that seems out of sorts though. I definitely appreciate the "some small things" notes. Those are very helpful, and much appreciated! (i'll repeat, this is the most responsive and helpful forum I've ever been on. Just awesome what you and the others do here!) Alas, the updated code above those is resulting in exactly the same issue I was having with your original update to the syntax from yesterday. It's sitting on just the last image and scaling in and out, in and out, but not cycling through the images.
  5. @nicofonseca - you rock so hard, man! Thank you! This is the most responsive help forum I've ever been a part of! I am having trouble with it though in my live site. It loads all the images fine, and for the first second or so you can see the first image. But then it just sits on the last image, scaling in and out, in and out. Not sure why. Just before I saw your reply, I had found this pen, that was *nearly* working on my site, except that the images cycle through super fast. It doesn't look as complete as yours either, but I'm having trouble figuring out how to troubleshoot between the two. On my dev site, yours appears to scale and be the speed I want, but doesn't show me all the images. The other one actually cycles through the images, but seems less...something: https://codepen.io/ebinabo/pen/LYGJNdY
  6. Soooooo....should I assume that the CodePens from above using TweenMax would be outdated, so I'd just use gsap now? If so, how might the functions change in terms of syntax? I would really love to use this crossfading slideshow on a site I'm currently working on.
  7. @Cassie - Yeah, if the marquee tag wasn't deprecated, I had one that was working great! So I guess this is the main workable alternative. I've tried so many different scripts, and none of them have come close to what marquee would do, except for this (so I'm very grateful) @GreenSock - That all looks great. I don't know enough about GSAP yet to know what's what. I was literally just copying the code provided in the first response to my post above. I'll work on your suggestions this morning. Thanks SO much.
  8. @Cassie This is the function I've got (with your bit commented out right now): jQuery(function($) { $('ul.ticker li').wrapAll('<span class="ticker-items">'); var tickerWidth = $('ul.ticker').width(); var spanWidth = $('ul.ticker span').width(); $('ul.ticker span').clone().appendTo('ul.ticker'); $('ul.ticker span').wrapAll('<span class="ticker-wrapper">'); gsap.set( '.ticker-wrapper' , {x: tickerWidth } ); var tl = gsap.timeline( {repeat: -1} ); tl.to( '.ticker-wrapper', { duration: 1, x:"-=50", ease: Power0.easeNone, onComplete: function(){ var style = window.getComputedStyle( $('.ticker-wrapper')[0] ); var matrix = new WebKitCSSMatrix( style.webkitTransform ); if( matrix.m41 < 0-spanWidth ){ gsap.set( '.ticker-wrapper' , {x: 0} ); } this.invalidate(); }, }); //gsap.to('.ticker-wrapper', { // x: 50, // repeat: -1, // onRepeat: () => { // console.log('repeating') // } //}); $('ul.ticker').on('mouseenter',()=>{ tl.pause(); }); $('ul.ticker').on('mouseleave',()=>{ tl.play(); }); });
  9. @Cassie It's definitely repeating. It's just not cloning it more than once in order to make it take up the full width, regardless of number of items.
  10. @nicofonseca - well, it was all working perfectly on Codepen. But when I moved it over to my WordPress site, it's *mostly* working correctly, except it only clones the set of items once. I tried playing with the "repeat: -1" and changed it to "repeat: 50", but it didn't make a difference. I have gsap.min.js enqueued after jquery and bootstrap, and have the separate function put in the footer, below the wp_footer() area where jquery, bootstrap, and gsap are placed by functions. It's scrolling, but it's only repeating once, and it's not stretching the full width like I have in this pen: https://codepen.io/ThePixelPixie/pen/vYZYbqj I could provide a link to the dev site in DM, but can't post the link here since it's for an organization I'm developing for.
  11. @nicofonseca Thank you so much! That's *exactly* what I needed! Many thanks!
  12. Hi there. I was looking at this thread: Wondering how the example might be modified to allow for items to pause on hover so a link can be opened.
  13. @Cassie, My apologies. I thought I *had* forked that codepen with the video. The other one was posted as an example of what I was wanting to do with the fade, so it wasn't forked. Also, I do know that it's a CSS positioning issue. But when I get the "meet us at the mall" positioned correctly, and then "for" positioned correctly, the scrolling text isn't in the right place. I'm not understanding how to position that part properly, I think. But I will keep working at it. Thank you.
  14. I've been given a mockup of an idea for a timeline interface. I have no idea where to start to find something I can use as a jumping off point to create this. Since I was kindly sent in a perfect direction for another item I was trying to emulate (and I'm *nearly* there with it), I'm hoping someone can send me down another fun rabbit hold here? Thanks in advance.
  15. Oh my! That's getting me pretty close! Thank you SO much! I am still extremely new to gsap, so please pardon my lack of knowledge here: I'm having trouble positioning these things on the page. When I try to move them around, the text turns green at the wrong place. Ideally, All of this would appear on the right side of the video, vertically centered. Then the other issue I don't know how to solve is making the text fade from transparent up to green, then fade out to transparent when it goes back up (and of course in reverse if scrolling the other way). https://codepen.io/ThePixelPixie/pen/zYwRWMZ Just found this pen with the text fading in and out on the x axis. That's basically what I'd like to do with this text on the y axis. But I'm just not figuring out how to combine the pieces of the two. https://codepen.io/GreenSock/pen/WNrYNQX
×