the answer for all question about Oxygen Builder plugin and WordPress

PTPA: How do we go about making an image open a particular tab(oxygen tab compon


PTPA: How do we go about making an image open a particular tab(oxygen tab component). Ex img below. Those images opens a corresponding tab when you click it. TIA

Or let me put it simply..

How do we trigger an Oxygen Competent Tab to open. E.g Clicking an image link outside of tab component and will open the particular tab that has been triggered with.




Source

2 Comments
  1. Sridhar Katakam says

    I have not noted where I copied this from, but give it a try

    Allow hash links to open tabs:

    var hash = window.location.hash.substr(1);

    if (hash == ‘%%ELEMENT_ID%%’) {
    setTimeout(function(){

    jQuery([document.documentElement, document.body]).animate({
    scrollTop: jQuery(‘#’ + ‘%%ELEMENT_ID%%’).offset().top – 100
    }, 1000);

    jQuery(‘#’ + ‘%%ELEMENT_ID%%’).trigger(‘click’);
    },1000);
    }

  2. Pernilla Hall says
Leave A Reply

Your email address will not be published.

Oxyrealm Docs