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

193
Visualizações
Text change on Image click or hover

I want to edit my Website and if i click on the image 01 shown text 1 and if i click on image 2 another text displayed. i want that the text is change by clicking on the images to make the useability more smooth anyone an idea ? i use wordpress and elementor pro. thank yu

i try to use the code :

var $ = jQuery $(document).ready(function(){
     $('[data-showme]').on('click', function(){
         var showme = $(this).attr('data-showme')
         $('.all-images').hide()
         $('#' + showme).show()
     }) 
}) 

Preview

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

0

If you are using JavaScript then it is an easy way just put the onClick() event on the image - (onClick is an event that makes anything happen by clicking that desired button or image or anything).

If You want to Show some text with respect to the image then just use the text content inside of OnClick() then only it will be executed.
It will be an easy way👍

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