Response title
This is preview!
I'm using the following piece of code to create a link that, when clicked, uses jquery animation to slowly display a paragraph of text. The trouble is that the animation goes both vertically and horizontally, making it look a little too busy/cluttery. How can I tweak my code to make it only animate vertically?
<a href=# onclick='if ($("p#test").is(":hidden")) { $("p#test").show("slow") } else { $("p#test").hide("slow") }; return false;'>
© 2013 jQuery Foundation
Sponsored by and others.