Difference between revisions of "Template:Pitt"
Line 81: | Line 81: | ||
var padding = parseInt($(this).parent().css("padding-left")) + parseInt($(this).parent().css("padding-right")); | var padding = parseInt($(this).parent().css("padding-left")) + parseInt($(this).parent().css("padding-right")); | ||
var newWidth = parseInt($(this).parent().css("width")) + padding; | var newWidth = parseInt($(this).parent().css("width")) + padding; | ||
− | + | $(this).css("width", newWidth + 'px'); | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
}); | }); | ||
}, | }, |
Revision as of 07:49, 29 May 2015