• Resolved junker367

    (@junker367)


    Hi. I’ve installed your PRO plugin and I’m excited with it. I’ve one requirement to solve now. In my main page, I put a couple of buttons. One of each, must redirected you to another page and open the specicif tab.

    The structure it’s:
    Specicif tab with 2 tabs, for example:
    The first: tabs_desc_999_1
    The last: tabs_desc_999_2

    Main page has 2 buttons:
    Button 1: Link to tabs_desc_748_2
    Button 2: Link to tabs_desc_748_1

    I’ve made this two steps:

    Step 1.- First, I put this code into the footer(through Insert Script In Headers And Footers plugin):
    <script type=”text/javascript”>
    jQuery(function () {
    jQuery(‘.tabcall’).on(‘click’, function(event) {
    event.preventDefault();
    var tabid = jQuery(this).attr(‘tab-id’);
    jQuery(‘[data-toggle=”tab”][href=”#’ +tabid + ‘”]’).trigger(‘click’);
    })
    });
    </script>

    Step 2: I put one link:
    link to tab 2

    Step 2: I put another link:
    link to tab 1

    But when I pressed it, nothing it happens.

    Colud you help me?

    You coulc check all of this in: https://pruebas.tecuroencasa.com/precios-2/ and https://pruebas.tecuroencasa.com/servicios/

    thanks in advance

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Link in my web to open specific tab in other page’ is closed to new replies.