event for display:block in picture

Asked

Viewed 38 times

1

I have 3 imagens in a ul.

One imagem for li. Therefore, 3 li's.

They’re all with display:none. Except the first.

With jQuery, I click on a botão with numeração and the imagens appear (display: block) as I press the button that pushes the id of imagem x, while the others are receiving display: none.

Is there any evento to implement a efeito at the time when the imagem receive the display: block?

  • 2

    Native, no, but you can issue a custom event in your code when you change the value of style.display in Javascript. You can post your code?

  • What type of effect, type fadein and fadeout?

  • Can use fadein.

  • Full code on one page: http://hotplateprensas.com.br/stilos/slide.php

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.