https://htmx.org logo
Join Discord
Powered by
# htmx-general
  • a

    ancient-shoe-86801

    09/28/2022, 5:28 PM
    I don't know about Information Architecture, but I'll give it a thought
  • p

    proud-librarian-99598

    09/28/2022, 7:58 PM
    Can you try if ‘intersect once’ works?
  • s

    stocky-school-57923

    09/28/2022, 8:02 PM
    Unfortunately that makes none of the rows load, even those that are in the viewport on page load.
  • s

    strong-machine-61835

    09/29/2022, 1:05 PM
    hi HTMX lover, here is a linkedin group for networking, posting of new discoveries, HTMX jobs and gigs. Lets grow together? https://linkedin.com/groups/9236802/
  • g

    gorgeous-airport-54386

    09/29/2022, 1:06 PM
    Please don't spam the same thing in multiple channels.
  • s

    strong-machine-61835

    09/29/2022, 1:07 PM
    ok
  • m

    mysterious-toddler-20573

    09/29/2022, 3:43 PM
    Hi David, may I have permission to screen shot some of these slides?
  • m

    miniature-lizard-24702

    09/29/2022, 4:04 PM
    I look forward to it
  • c

    clean-arm-73414

    09/29/2022, 8:16 PM
    Hi guys, new to htmx, and was wondering if the following is possible : if i have a menu with a few items, i can use
    hx-get="/slug"
    &
    hx-target="#content"
    , to load that content in the wanted div. is there a way to set an
    active
    class on the link after the request ? and remove it from the other menu items ?
  • a

    adorable-fish-28954

    09/29/2022, 8:23 PM
    Hey all, Is there a way to use a value from a select dropdown to shape the hx-get value on a button? i want to change the URL to include the current id in the dropdown box dynamically
  • a

    adorable-fish-28954

    09/29/2022, 8:23 PM
    😄
  • a

    adorable-fish-28954

    09/29/2022, 8:24 PM
    i can use hx-include to have it included with at ? but i am keen to keep the format of my URL to be more restful
  • f

    freezing-waitress-26396

    09/29/2022, 8:27 PM
    that's possible using hyperscript or regular JS listening to click events on the respective buttons, yes
  • f

    freezing-waitress-26396

    09/29/2022, 8:31 PM
    You'd have to swap out the button with a new one having the new attributes using htmx https://htmx.org/examples/value-select/
  • m

    mysterious-toddler-20573

    09/29/2022, 8:32 PM
    https://htmx.org/examples/tabs-hyperscript/
  • f

    freezing-waitress-26396

    09/29/2022, 8:32 PM
    ah got sniped was about to link this
  • a

    adorable-fish-28954

    09/29/2022, 8:33 PM
    Thanks 🙂 will give it a go and see how it looks
  • m

    mysterious-toddler-20573

    09/29/2022, 8:33 PM
    sounds like you want to use hx-include and maybe hx-push-url
  • m

    mysterious-toddler-20573

    09/29/2022, 8:33 PM
    if I'm understanding correctly
  • f

    freezing-waitress-26396

    09/29/2022, 8:33 PM
    oh I might have misunderstood
  • m

    mysterious-toddler-20573

    09/29/2022, 8:33 PM
    if you want to actually change the url path, that's unfortunately not super easy right now
  • a

    adorable-fish-28954

    09/29/2022, 8:34 PM
    i am after the hx-get to look like //getnodes instead of /getnodes/?companyname=
  • m

    mysterious-toddler-20573

    09/29/2022, 8:34 PM
    ahh
  • c

    clean-arm-73414

    09/29/2022, 8:34 PM
    oh thats a nice aproach, going to try that out.
  • m

    mysterious-toddler-20573

    09/29/2022, 8:34 PM
    yeah, so as of right now, not trivial unfortunately
  • m

    mysterious-toddler-20573

    09/29/2022, 8:34 PM
    if you are willing to issue a request to the server and update the button, trivial
  • m

    mysterious-toddler-20573

    09/29/2022, 8:34 PM
    but client side, not trivial
  • m

    mysterious-toddler-20573

    09/29/2022, 8:34 PM
    I need to fix it
  • a

    adorable-fish-28954

    09/29/2022, 8:34 PM
    cool. was more a nice to have 🙂
  • m

    mysterious-toddler-20573

    09/29/2022, 8:35 PM
    next release of htmx it should be easier
1...840841842...1146Latest