Hey all,

So I am making a nav for a mobile webapp and I found an awesome guide that I have picked apart then changed.
He says in there that if using css you cannot have the height change animation while changing the height from 0px to auto, it has to have a numerical value for some reason.
What I want to do is get the value of the height if it was auto then use that height with the animation - this will let me have an arbitrary number of sub links without having to manually change the height each time I add/remove a sublink.

Apologies if this is hard to make sense of - it's a little odd but I'm sure there is a way!