For the menu page of a restaurant website I need an animate function that will adjust the height from a div (in animation) depending on the content (dynamic from database). I use the following function to switch between content:
ut that isn’t doing the trick. I don’t get an error but div content won’t animate, it simply just snaps to the new size . How should I adjust the function so the animate function will work.?
Hi Paul. This is indeed where I’m after. Only the animation is not running not very smooth. I tried it with adjusting the ms but without the desired result as you can see here! What should I adjust to make the animation run more smooth
Remove the CSS animation form content and menubar as they are fighting with the js and then set .inner to be width:100% and float:left and see if that makes it smoother.