// innerHeight and innerWidth
jQuery.fn["inner" + name] = function() {
return this[0] ?
- parseFloat( jQuery.css( this[0], type, undefined, false, "padding" ), 10 ) :
+ parseFloat( jQuery.css( this[0], type, "padding" ), 10 ) :
null;
};
// outerHeight and outerWidth
jQuery.fn["outer" + name] = function( margin ) {
return this[0] ?
- parseFloat( jQuery.css( this[0], type, undefined, false, margin ? "margin" : "border" ), 10 ) :
+ parseFloat( jQuery.css( this[0], type, margin ? "margin" : "border" ), 10 ) :
null;
};