1
I created two carousel one of Illustration and the other of Plan of a house, and I need two buttons, Illustration and Plant, when loading the page, will show the illustration carousel as main, and when clicking on the plant carousel should hide illustration, and so vice versa.
Example:
<button class="ative btn btn-outline-info">ILUSTRAÇÃO</button>
<button class="ative btn btn-outline-info">PLANTAS</button>
<div id="bannerIluminacao" class="carousel slide" data-ride="carousel">
<div class="carousel-inner">
<div class="carousel-item active">
<img class="d-block w-100" src="Imagem.png"></div>
</div>
</div>
</div>
Plant code:
<div id="bannerPlantas" class="carousel slide" data-ride="carousel">
<div class="carousel-inner">
<div class="carousel-item active">
<img class="d-block w-100" src="Imagem.png"></div>
</div>
</div>
</div>
Thanks brother, it worked perfectly, however I have a small problem, I have 5 modals in the same file, however when clicking to open they are with a small bug, the two images of the button open together, and when click on the button shows the desired (and keeps showing only one), in case a button should open enabled. Note: So researching about this already to find, but if you can help me one more time I thank :-)
– Marcos Marciel Pagung