greycanary — 2014-06-20T13:42:18-04:00 — #1
I am working on a new website and I have been using a piece of code to extend div's min-height, on a new design I would like to do half of the full height. I would assume to divide the sum of (window).innerHeight() by 2 but JQuery is not one of my skills. Any help would be awesome.
volter9 — 2014-06-20T18:19:07-04:00 — #2
Your code is quite right however you should use $(window).height() function instead of .innerHeight() .
There's demo that shows you how it's works: http://jsfiddle.net/5jFQd/
system — 2014-10-08T02:13:09-04:00 — #3
This topic is now closed. New replies are no longer allowed.