$(document).ready(function() { $("#front_shoutbox h2").append(" + "); $("#enlargesb").toggle(function() { $("#shoutwrap,#shoutbox").animate({ 'height':'380px', }); },function () { $("#shoutwrap,#shoutbox").animate({ 'height':'150px', }); }); });