Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

164
Visualizações
Triggering controllers on 2 separate sliders

(I am using the WordPress Slider Revolution plugin.)

The setup is that there are two sliders adjacent from each other-- one slider has the name and description of the service and the other is a simple image slider. The idea is that if a user clicked the third bullet on the service slider, this would also trigger the third bullet on the image slider to be clicked as well.

I put some simple jQuery in to apply this behavior, however after some testing I found that the jQuery wouldn't detect the click event on the bullet. This is the function I am trying to implement:

jQuery(document).ready(function( $ ) {
   $("#rev_slider_3_2_wrapper .ares .tp-bullet:nth-child(2)").on("click", function() {
      $("#rev_slider_5_1_wrapper .ares .tp-bullet:nth-child(2)").trigger("click");
});

I did some testing by adding a button and attaching a click event to that. This seemed to trigger the click on the bullet properly:

$(".fusion-button.button-1").on("click", function() {
   $("#rev_slider_3_2_wrapper .ares .tp-bullet:nth-child(2)").trigger("click");
   alert("button clicked");
});

So, the trigger.click property seems to work but not on.click.

Any suggestions are appreciated.

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

We've prepared an article for this here https://www.sliderrevolution.com/faq/triggering-slide-change-on-another-slider/ and you can use the custom JS code provided.

Take note that you need to assign the correct Slider API ID on the JS code.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda