I would like to show / hide a paragraph of text using jQuery from left to right.
I use
$('#text').animate({ width: ['toggle', 'swing'] });
However, I see the paragraph wrapping up when the animation happens. And it looks ugly.
See this js fiddle for an example of an unwanted effect.
How do you recommend getting the same effect, but without packaging? (Like .slideUp() / slideDown() ) ...
Thanks for any help
Chris source share