Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var content, contentHeight, footer, header, viewportHeight;
- header = $(":jqmData(role='header'):visible");
- footer = $(":jqmData(role='footer'):visible");
- content = $(":jqmData(role='content'):visible");
- viewportHeight = $(window).height();
- contentHeight = viewportHeight - header.outerHeight() - footer.outerHeight();
- $("article:jqmData(role='content')").first().height(contentHeight);
- $("#contenedorMapa").height(contentHeight);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement