Webflow & HTMX: Webflow CMS powered Tabs

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 19

  • @TheMarouuu
    @TheMarouuu 10 месяцев назад +1

    Killing it with the HTMX series!

    • @TheVisualDiv
      @TheVisualDiv  10 месяцев назад +1

      Nice one. Thanks a lot. If you have any Webflow HTMX suggestions, let me know.

    • @TheMarouuu
      @TheMarouuu 10 месяцев назад

      @@TheVisualDiv Absolutely. Still haven't dwelled deep enough to run into a weird use case but if I think of something I'll let you know.

  • @darraghlynch.design
    @darraghlynch.design 10 месяцев назад +2

    Gonna have to try find any excuse to implement this in my next project

    • @TheVisualDiv
      @TheVisualDiv  10 месяцев назад

      Any excuse to use Webflow and htmx is a good excuse 😉

  • @makermattevans
    @makermattevans 10 месяцев назад +1

    Love it! Looks so simple. I wonder if you could explain all the HTMX attributes in a little bit more detail. Keep it up!

  • @timdaff
    @timdaff 7 месяцев назад

    Super helpful thanks divlords

  • @iwatchyoutbe
    @iwatchyoutbe 9 месяцев назад +1

    The jQuery load() method achieves the exact same thing. Since Webflow requires jQuery anyway just use it no need to pull in more libraries

    • @TheVisualDiv
      @TheVisualDiv  9 месяцев назад

      Hey, yeah you're right Load() can achieve the same results here. This example is the tip of the iceberg with Webflow and HTMX. The lovely thing about HTMX is not having to write JS or JQuery.

  • @surendarr2177
    @surendarr2177 4 месяца назад

    Great one

  • @gibsgibus
    @gibsgibus 10 месяцев назад +1

    Love it, it worked ! Question: how to use HTMX to populate a page with more than 100 items ? How to loop throup an entire collection list item with the hx-get attribute to pull the information of all the items of the given collection list into 1 single page. I am trying to over come the webflow 100items per page limitation.

    • @TheVisualDiv
      @TheVisualDiv  10 месяцев назад

      I believe this is possible using a static page with the collection to the HTTP request from.

    • @TheVisualDiv
      @TheVisualDiv  10 месяцев назад

      Another option is to use hx-boost on the load more link and trigger a click when revealed. I'll have to test this but hx-trigger=revealed hx-on=loadMoreClick()

  • @laetitiamassa
    @laetitiamassa 5 месяцев назад

    Really nice, thanks !
    Seems simple, but is there any cloneable?
    Cause it didn't work for me - can't find where I got it wrong here 🧐

  • @dimka_tregubov
    @dimka_tregubov 10 месяцев назад +1

    For some reason my previous message was deleted😐 Do you know how to "reset" Interactions and Script after HTMX did his work?)
    For example I placed a sliders from other page using HTMX > all works great, but how do that scripts and iteractions works (slider is don't slide, cause scripts not works)

    • @TheVisualDiv
      @TheVisualDiv  10 месяцев назад +1

      Yes... You have to write a small script and trigger it after the DOM has settled. I'll make a video soon 😊

    • @dimka_tregubov
      @dimka_tregubov 10 месяцев назад

      @@TheVisualDiv 🙌

  • @timdaff
    @timdaff 7 месяцев назад

    Bring on the cloneable