As the title implies, I'm using jQuery's show and hide functions to hide and show elements. However, I don't want to scale in the height of the element, just the width.
I was thinking about using the animate function but I wasn't sure if this was the best way to go about it.
Also, I'd prefer not to have to set the height in the javascript as it might change in the markup.
Ideally, what I would like to happen is when the function is called to hide an element the object's width goes from it's original width to 0 and it's alpha drops to 0 then the reverse would happen when I tell it to show.