Answer the question
In order to leave comments, you need to log in
How to switch slider between different blocks in bootstrap 3?
There are several blocks on the site, when you click on each block, a slider opens with several pictures that are taken from the database to which they are added through the admin panel, and now you need to do something so that you can click on any block and scroll through all the blocks and slides.
Answer the question
In order to leave comments, you need to log in
does prev or next have an id ?
i.e. this should not change:
<a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#myCarousel" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
Have you read the docs? getbootstrap.com/javascript/#carousel-methods
Why are you not satisfied with the .carousel('prev') and .carousel('next') methods, only the selector will not be 1 as in the example, but several. Or write through each. And call these methods on click on anything. At least on the arrows of the sliders, at least on individual buttons, at least on the site logo.
Well, you can Foundation, it's more "straight" and not as big as bootstrap.
In general, throw your grid, throw your system for typography, and primitives all this day from strength. And on figs that bootstrap.
Do not take it for advertising))), but for a beginner, you can look at this course.webformyself.com/practicemobileblog?utm_med... and then expand your horizons with articles, etc.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question