is it possible to make it so when u click on a header text that it will get rid of some text and make room for more and make the new text come in?

Thanks
Nathan