Bug in the enterprise carousel

Asked

Viewed 51 times

2

I’m with a little bug in the modal of enterprises, when I open one it displays at the same time the two, plan and illustration, and only back to the norm when I click the button...

Could someone help me?

Follow the link of the hosted website http://mmssistemas.esy.es/Ilhc/index.php

  • 1

    I don’t know if it will, but in <button> that’s inside the <header class="headerMidia"> the class is spelled wrong. The name would be active you misspelled! See how it is there, without the lyrics "C" activate <button class="ative btn btn-outline-info showCarousel" .... > Although I don’t know if it will solve the main problem...

1 answer

2


Mark found two problems on the page. One I believe is with the class of <button> that’s inside the <header class="headerMidia"> the class is misspelled. The name would be active you typed wrong! See how it is there without the letter "C" activate <button class="ative btn btn-outline-info showCarousel" .... > as I mentioned in the comment!

But the problem with Slider is that one of them, probably the "illustration" must be with display:none, since I believe I know Javascript is using some kind of "toggleClass" or .css to do this. However, one of the Slides should already start with the display:none defined.

To better understand see in the images.

Original image with BUG, note that there is no defined dispaly and neither of the two Sliders

inserir a descrição da imagem aqui

Now notice that when you click on the Buttons it starts to change the type of the Display between a Button and another!

inserir a descrição da imagem aqui

So just add display:none in the second Slider for example for everything to work right, probably without having to touch the script you already have.

  • Damn, solved on time... thank you very much brother saved me here, it was very simple thing! I will have to study more hehehe

  • Sometimes we don’t notice these details, good luck with the project!

Browser other questions tagged

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