• Resolved Web Optima

    (@wpoptima)


    Hello,

    Is it possible to open a particular tab with an URL from another page, or from the same page (from another tab)?
    (- Just to be clear, I don’t need the ability described as “Tab to URL Link”.)

    Can you please help me to set this up?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author biplob018

    (@biplob018)

    Yes its possible and you need to some customization as add jQuery into tabs content panel.

    <script>jQuery(‘.ctu-ulimate-style-3 li:nth-child(2)’).click(function() {
    window.open(‘https://www.ahqsa.com/ahq-gallery/&#8217;, ‘_self’);
    });</script>

    Add into your tabs content so it will works to define your tabs to link. I also remind you .ctu-ulimate-style-3 li:nth-child(2) here 3 is style id which you get into shortcode of tabs and nth-child(2) means its works at second tabs. You can change as you want. also check your url. So i hope you can also create as like you.

    if can’t kindly share your url with little brief as i can recognize the tabs with link.

    Hi biplob018

    Can you expand on this a bit please?
    So if I have [ctu_ultimate_oxi id=”9″] with 4 tabs I should put for the first tab
    <script>jQuery(‘.ctu-ulimate-style-9 li:nth-child(1)’).click(function() {
    window.open(‘https://www.mysite.com/mypagewithtabs/’, ‘_self’);
    });</script>
    for the second I should put
    <script>jQuery(‘.ctu-ulimate-style-9 li:nth-child(2)’).click(function() {
    window.open(‘https://www.mysite.com/mypagewithtabs/’, ‘_self’);
    });</script>
    for the 4th tab I should put
    <script>jQuery(‘.ctu-ulimate-style-9 li:nth-child(4)’).click(function() {
    window.open(‘https://www.mysite.com/mypagewithtabs/’, ‘_self’);
    });</script>

    And then how do you open the page to a specific tab?

    Thanks

    • This reply was modified 6 years, 7 months ago by jpknz.
    Thread Starter Web Optima

    (@wpoptima)

    Thanks, but I think you didn’t understand what I need.
    – I don’t want my tab to be a link. I want to be able to open a tab with an EXTERNAL link.

    Plugin Author biplob018

    (@biplob018)

    I think you want to send user to external link when user click into specific tabs. kindly reply with external link and tabs title.

    Its better you you share link with external link. so can rewrite your jQuery and its will be works. You can contact via oxilab.org also.

    Thread Starter Web Optima

    (@wpoptima)

    No, you’re wrong. I want to use a link, anywhere on the website, that will open the page where the tabs are and open the specific tab.

    For example, when a user click the link that opens your demo site, like this:
    https://www.oxilab.org/responsive-tabs-with-accordions-demo/#ctu-ulitate-style-1-id-3
    – he needs to be sent to your demo page and the tab #3 on your Layout 1 needs to be opened.

    I can buy your Premium version (1-site plan), but I need to be sure that this will be possible and this will work in all browsers, including Safari.

    Plugin Author biplob018

    (@biplob018)

    I am sorry as not understand. it’s Scroll to ID. Kindly add any I’d at parent row via your page builder and use it via #id.

    Kindly share your url and which page builder you are using so I can help you to solved it.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘URL that opens a tab’ is closed to new replies.