Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $.fn.fullHeight = function(minheight) {
- var $this = $(this);
- var minH = minheight || 480;
- $this.outerHeight($window.height());
- $window.on('resize', $(this), function(event) {
- $this.outerHeight(Math.max($window.height(),minH));
- event.preventDefault();
- });
- };
- $('.gs-main-header-fullheight').fullHeight();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement