How to implement dynamic URL updates for tabbed navigation in Memberstack? Answered

Post author
Mike Mott

Hi all! General Webflow tab question here — for my Memberstack customer, when the perusing through a tabbed module on my page, I'd like the URL to reflect the tab that they're in for a better user experience — is that possible?

Comments

3 comments

  • Comment author
    Josh Dean

    Hi Mike Mott,

    You could just add an event listener to the tab link element, and then append the tab link ID or whatever name you want as a query parameter to the URL.

    This would be custom code but nothing chatGPT couldn’t do in a few seconds for you!

    0
  • Comment author
    A J

    Hey Mike Mott, you can check this memberscript out to achieve your use-case. Feel free to customize it as per your needs. Here's a free cloneable so that you can explore it further. Hope this helps.

    0
  • Comment author
    Mike Mott

    This continues to be the best Slack community I've ever been a part of — ya'll are amazing

    0

Please sign in to leave a comment.