/ Published in: jQuery
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
$.fn.totalHeight = function() {
var total = 0;
this.each(function(i, el) {
total += $(el).height();
});
return total;
};
$.fn.totalOuterHeight = function() {
var total = 0;
this.each(function(i, el) {
total += $(el).outerHeight();
});
return total;
};
Comments
 Subscribe to comments
                    Subscribe to comments
                
                