the answer for all question about Oxygen Builder plugin and WordPress

Hello to all,


Hello to all,
I am building a site for a client and I would need a hand to do the following.
Basically I have a section divided into 2 columns. In the first column I have 3 divs; while in the second column I have 3 “lottie image”.
For now I have made sure that clicking on a specific div loads a certain lottie, to do this I used the jQuery code and the Css.

What I should do is make sure that every few seconds the selected div and lottie changes without having to click on the corresponding div.
I don’t know if I have explained myself very well … in practice I would like to replicate this site: https://safemoon.net/

In any case, I am attaching photos of what I have done so far.
Many thanks in advance.



Source

4 Comments
  1. Anwar Jacobs says

    Can you share the code?

  2. Taylor Drayson says

    Why not use the tabs and then jQuery to change the “active tab”

  3. Maxime Beguin says

    Smthg like this…

    function setNextElActive(){
    $(‘.myDiv.active’).removeClass(‘active’).next(‘.myDiv’).addClass(‘active’);
    setInterval(setNextElActive(), 5000);
    };
    setNextElActive();

  4. Christian van 't Hof says

    You might want to check accessibility guidelines as well, since if there’s something automatic, you need a pause button.

Leave A Reply

Your email address will not be published.

Oxyrealm Docs