Jump to content

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

Wizard of Oz

  • Posts

  • Joined

  • Last visited

About Wizard of Oz

Recent Profile Visitors

199 profile views

Wizard of Oz's Achievements

  1. Brilliant! Much cleaner code and it makes more sense this way. Thank you so much for the lesson @OSUblake :)))
  2. @OSUblake https://codepen.io/martinkariuki7-the-looper/full/vYZabyE Thanks for sharing the utility intro video again. As promised I put it into some use and I am here to trouble you with some more questions :)) Is there a better way of doing the below? Currently I am just "ifing" all conditions everything and I assume that's not the best practise? Is it possible to listen to each snap and load the images and time from an object? Is that even doable? TIA
  3. Hi, I noticed a weird thing. When I use the letter "Å" which is a Norwegian character, it get's chopped off a bit. Is there a way to avoid this happening? https://codepen.io/martinkariuki7-the-looper/pen/JjJddVR
  4. Thank you so much @OSUblake GSAP = 🔥🔥 I just read about the utility selector and it solves this exact problem as you mentioned. Can't wait to use it to break more things so I can come here we repair them together :))) You guys rock! ❤️ Have a great day ahead!
  5. Thank you so much for the quick answer @akapowl You are a superhero indeed Although I have to say It's not really "my code." I just took what Zach wrote earlier and tried using that in a loop. So all credit should go to you superheroes. Have a good day ahead.
  6. Hi, I am trying to recreate this using the the toArray utility method. Any idea why mine does not work? Thanks in advance for the feedback https://codepen.io/martinkariuki7-the-looper/pen/JjJddVR
  7. Hi @OSUblake Any advice on how I can make this pen DRY? I am aware that it's very verbose as it is. I tried using the utility.Array method but I was unable to target only the content that's supposed to open when you click on "read full bio." I checked other forum questions pertaining expand/collapse, accordion etc. But most are in jQuery and I am struggling to understand the logic. Anyway, thanks in advance for any tips, tricks & recommendations Edit: For some reason you have to click on the "read full bio" button twice before it starts working. https://codepen.io/martinkariuki7-the-looper/pen/ExXxLmr
  8. Hi @OSUblake Wow! I was not aware of all the other cool utility methods. Thanks so much for the links. I am already getting my hands dirty with these. FUN I can't wait to explore more.
  9. Wizard of Oz

    GSAP Utils

    Hi, I read a story by PointC which told of his journey into GSAP & Javascript, in that post he gave advices to newbies (like me) to start small and challenged us to share what we create. I believe the exact words were "come out of the shadows" So in the spirit of obedience, I am sharing this very very basic tini tiny pen which I used to practise my understanding of the GSAP Utils method. I must admit it feels a bit stupid sharing such a basic thing but please delete this if the forum is not meant for such But to you reading right now with a much firmer understanding of the GSAP Utils method. Is this the correct way of doing it as noted here? Thank you for all the advices in advance.
  10. Hi Rodrigo, Thank you, yes, it seems like the pen by Point C is much closer to what I am looking for
  11. Hi, this is my very first post and I am very happy to be here I am learning from this codepen and had 2 questions 1. Is there a way to make the scrollbar work normally? On the pen I am learning from, it looks like scrolling down the site with the scrollbar, either by pressing and holding or clicking it results in some unusual activity. I saw the Tesla site also uses snap to sections technique but its possible on their site to use the browser scrollbar as normal. Here is the link to the tesla site: https://www.tesla.com/no_no/solarroof 2. How would one go about adding navigation like the attached screenshot? TIA