• Resolved exequos

    (@exequos)


    Hello,

    I’ve followed the article and successfully applied method 2
    but…

    Is there any possibility that after click on the the website <tab>, the browser’s url will change to the previousurl#<tab>?

    (for example:
    let’s say that there is a website example.com/product/product1 with the 2 tabs: tab1 and tab2
    when user click on the website tab1 it works nice but… the browser url stays example.com/product/product1
    the expected behaviour i’m looking for is that after user click on the tab1 the browser’s website url will change to example.com/product/product1#tab1 etc.)

    Is it possible by modify the custom js as described in the article https://yikesplugins.com/support/knowledge-base/how-to-link-directly-to-a-custom-tab/?

Viewing 4 replies - 1 through 4 (of 4 total)
  • @exequos,

    I just followed the tutorial again to make sure I wasn’t missing anything and when I click on the link it is adding the hash to the url in the browser. I actually wrote this tutorial and from looking at the code there isn’t any way that it could be removed unless you’ve changed the code.

    Could you post a link to the page you’re having issues with so I could inspect what’s going wrong and suggest a fix for you!

    Cheers,
    Freddie

    Plugin Contributor Tracy Levesque

    (@liljimmi)

    ?????? YIKES, Inc. Co-Owner

    Hello @exequos,

    Just checking in.

    Please let us know if you still need help with this issue.

    Thank you!
    -Tracy

    Plugin Contributor Tracy Levesque

    (@liljimmi)

    ?????? YIKES, Inc. Co-Owner

    Hello @exequos,

    We haven’t heard back from you in a while so I am going to close out this ticket.

    If you need more help, please reopen it and we will be happy to help you.

    Thank you!
    -Tracy

    Thread Starter exequos

    (@exequos)

    Hello Tracy Levesque (@liljimmi)

    Sorry I was out for some time.

    I am not sure if the result I’m expecting can be done.

    I just thought that it could be more “webly” if the tab link would be accessible through browser address which customer can copy or which can be provided to the customer.

    In fact – when i checked again, if I use the link with the # anchor, then the website shows in not correct way (all in one page)

    https://soundmagic.pl/produkt/soundmagic-e10/
    there are few tabs – let’s say we want to provide the customer the direct link to the reviews&tests (Recenzje i Testy) – as it can be copied https://soundmagic.pl/produkt/soundmagic-e10/#tab-recenzje-i-testy

    when you click the tab the browser link didn’t change and some content appears
    but…
    when you use this link https://soundmagic.pl/produkt/soundmagic-e10/#tab-recenzje-i-testy directly in the browser – the website change as all-in-one page instead of showing the tab content only.

    Thanks!
    mario

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘custom tab with the complete site url after clicking the tab’ is closed to new replies.