showing results for - "bootstrap carousel dynamic height jquery"
Luana
07 Oct 2016
1
2$(function(){
3    $(document).ready(function(){
4        var height = $(window).height();
5var width = $(window).width();
6var header =$('header.site-navbar').height();
7var finalwidth =height-header;
8// alert(finalwidth);
9$('.carousel-item img').css('height',''+finalwidth+'px');
10});
11    });
12