Chaps, something that occurred to me today. If I have a div with
display:hidden; and I want it to unhide it and animate it at the same time with
animate(), how do I achieve that? I had a look at the jquery API and it says that
slideDown() etc doesn't unhide the element so it has to be done in a different way. I am aware of course of other methods like
show() etc but I wan't to use
animate() for some extra zest if you like.
I run a couple of tests to try whether a hidden element still has a width (using
.width())and to my surprise it has, so there it goes my attempt to give the element a width in the animation. How should I proceed, any suggestion at all?
All 3 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.