Interactive

Web Development Services

Set a banner or other element to the full height of window

Set a banner or other element to the full height of window

Set a banner,map,video or other element to the full height of window, but user can keep scrolling down to the rest of page.

Copy JQUERY

//jquery
function setHeight() {
    windowHeight = $(window).innerHeight();
    $('#map-container').css('min-height', windowHeight);
};
setHeight();

$(window).resize(function () {
    setHeight();
});

comments

no comments...

Leave A Comment

Don’t wait! Your customers are surfing the Web right now. Get your website up today.

get in touch