src/js/app.js
//Dynamically size the vertical elements in order to eliminate vertical scrolling
Dynamically size the vertical elements in order to eliminate vertical scrolling
Dynamically size the vertical elements in order to eliminate vertical scrolling
function vertSize() {
    var vpHeight = $(window).height();
    var titleHeight = $('.title').height();
    var mapBlockHeight = vpHeight - titleHeight;
    $('#map-block').height(mapBlockHeight);
}
function vertSize ( ) { var vpHeight = $ ( window ) . height ( ) ; var titleHeight = $ ( '.title' ) . height ( ) ; var mapBlockHeight = vpHeight - titleHeight ; $ ( '#map-block' ) . height ( mapBlockHeight ) ; }
Dynamically size the vertical elements in order to eliminate vertical scrolling
Dynamically size the vertical elements in order to eliminate vertical scrolling
//Get the vertical dimentsions of the viewport and the banner element //Dynamically resize the map block based on the height of the banner element