Currently, I have incorporated the twitter bootstrap carousel into my website with the following code:
<div id="slider" class="carousel slide">
<!-- Wrapper for slides -->
<div class="carousel-inner">
<!-- Slide -->
<div class="item active">
<div class="row">
</div>
</div>
<div class="item ">
<div class="row">
</div>
</div>
</div>
</div>
To disable the carousel, I have simply hidden it using CSS in this way:
#slider{
display: none;
}
In addition to that, I have also commented out the initialization of the carousel in my primary Javascript file as shown below:
//$('#slider').carousel();
My concern is whether by setting "display:none;" and commenting out the JS initialization, will the carousel still be operational in the background or will it be entirely deactivated?