Don Sky Don Sky - 8 months ago 26
jQuery Question

Check page height with jquery

Is there way to check page height?

Like If I have

container div
and my contents goes of
100% height
I need to check full height of that container div.

Like if it is
100% + more 400px
I want to add something next to that div.

$('.container div').outerHeight();


Add if condition for that value var x = $('.container div').outerHeight();

Update x ,onresize check x value greater than x+400px