Vanilla JavaScript: Smooth Horizontal Scroll With SVG Filter Effects

แชร์
ฝัง

ความคิดเห็น • 23

  • @Frankslaboratory
    @Frankslaboratory 3 ปีที่แล้ว +12

    You are choosing great projects for your tutorials Conor, I hope people appreciate your effort

    • @ConorBailey
      @ConorBailey  3 ปีที่แล้ว +1

      Ahh you legend! Thanks so much Frank! Means a lot! Same goes for you as well. Your videos are another level.

  • @ricardodelacrvz1400
    @ricardodelacrvz1400 ปีที่แล้ว

    Ive been researching all over youtube for a good minimalist modern designer who gives nice tutorials. I think I just found it. Thank you Subscribed.

  • @wulfgang
    @wulfgang ปีที่แล้ว

    Thank you so much for all of your work! Its so great to have such nice tutorials so accessible

  • @muhammadnizar9421
    @muhammadnizar9421 2 ปีที่แล้ว

    thank you for your effort and time to share this amazing tutorial, waiting for another brilliant tutorial

  • @BMikel
    @BMikel 3 ปีที่แล้ว

    Appreciate very much. Thank you

  • @xxxxxxxyyyyyyy
    @xxxxxxxyyyyyyy 2 ปีที่แล้ว

    Wow! ❤

  • @julianlaballe929
    @julianlaballe929 3 ปีที่แล้ว

    Hello, Conor I really loved your tutorial! I just have a question I'm having trouble understanding what "this. target" is for in the ImageItem class and how the render function works

  • @theman7050
    @theman7050 ปีที่แล้ว +1

    Conor, in the init function, what's the logic behind (win innerwidth - win innerheight) part?

    • @ConorBailey
      @ConorBailey  ปีที่แล้ว +1

      Hey mate. This maths is used to calculate and apply the scroll height of the page so it’s proportional to the width of the horizontal slider (main content section). Basically when we scroll to the bottom of the webpage the slider will be translate as far a possible to the left without going out of bounds if that makes sense. I’m not going to lie, I’m not great at maths so this took a bit of trial and error to get right haha. Does that make sense?

    • @theman7050
      @theman7050 ปีที่แล้ว

      @@ConorBailey I understood the part till get bounding client rect.width as that's what gets the width..
      But the part after that is what confused me where you deducted inner height from the inner width.
      Thanks again :)
      P.S.: I guess it aligns the right edges of the body and the slider.

  • @ivanp3103
    @ivanp3103 3 ปีที่แล้ว

    great job! please continue your tut

    • @ConorBailey
      @ConorBailey  3 ปีที่แล้ว

      Thanks sir! Will look into some canvas tutorials

    • @ConorBailey
      @ConorBailey  3 ปีที่แล้ว

      Also check out Franks Laboratory. A great channel on TH-cam with loads of great canvas projects.

  • @tonyp3173
    @tonyp3173 2 ปีที่แล้ว +1

    Awesome tutorial! I'm just trying to figure out how to put this in a hero or section and then once its done scrolling, the scroll returns to the rest of the page scrolling down.

    • @JJEccles
      @JJEccles 5 หลายเดือนก่อน

      Did you ever find a solution to this, I’ve got the same issue

  • @nelnel114
    @nelnel114 2 ปีที่แล้ว

    Hello Conor, Thanks for your work ! Could you give me a lead on how to add anchors with that type of scrolling (since anchors don't refresh the translateX style)? Keep up the good work !

  • @d1hoops975
    @d1hoops975 3 ปีที่แล้ว

    Conor do you know Chelmsford lions by any chance?
    you're really dropping gems with these tutorials, keep them coming 💯

    • @ConorBailey
      @ConorBailey  3 ปีที่แล้ว +1

      Hey D1 Hoops. I don’t to be honest mate. I take it they’re a basket ball team? Do you play? Thanks for the support mate!

    • @d1hoops975
      @d1hoops975 3 ปีที่แล้ว

      @@ConorBailey Well I've stopped playing for a year now, and started self teaching Html Css and Javascript. Your channel means a lot to people like me, ive been watching all your videos for the past month.

    • @d1hoops975
      @d1hoops975 3 ปีที่แล้ว

      @@ConorBailey i also play the drums but not anymore haha.

    • @ConorBailey
      @ConorBailey  3 ปีที่แล้ว +3

      Ahh that’s cool mate. I’ve only ever played football really and I sucked so I quit at like 14 haha. Glad the videos are helping you out mate. I really love creating these projects so it’s great people are finding them useful. Give me a shout if you would like me to cover anything or need something explained. 👍