How to make this easier on the eyes?
$(document).ready(function(){
$("iframe").height($(window).height() - $("#wrapper").height() -
20);
window.onresize = function() {
// repetition
$("iframe").height($(window).height() - $("#wrapper").height() -
20);
};
});
On May 11, 2:07 pm, Fra
Something like this:
$('#iframe').height( $(window).height() - $('#wrapper').height() + 'px' );
> How do I set height of the element called #iframe to "height
> of the window " - "height of the #wrapper div"?
>
> I'd love to write:
> #iframe.height = window.height - #wrapper.height
>
> But I
2 matches
Mail list logo