Here is sample example for fixed height content DIV using Jquery
first find the Height of the screen by using the following code
var pageHeight = jQuery(window).height()
After set calculated height to that Div by using following code
$('#divid').css({"height":pageHeight});
first find the Height of the screen by using the following code
var pageHeight = jQuery(window).height()
After set calculated height to that Div by using following code
$('#divid').css({"height":pageHeight});
No comments:
Post a Comment