I know it’s possible with jQuery, but I’m having some serious troubles with this code for some reason. Could anyone help me write a small script that fades in the div of #content, and then after it’s 100% opacity, have the navigation bar with the id of #links kind of fall in from above and bounce once? Like a super ball. 😛 I know this is possible, I just need someone to help me achieve it! Any help would be appreciated. Also, I wouldn’t mind using CSS for this if anyone is really good at CSS and would know how to achieve this, but jQuery is preferred. Sorry for so many questions today, I’m just learning jQuery (finally!) and it’s all very confusing!
Share
The general way to do this is with a callback function once the fadeIn is complete, like this:
Then you can replace the
show()with some easing effects as described here:http://jqueryui.com/demos/effect/#easing
The “easeInElastic” effect looks like something you could use. But with all due respect, you should really make some effort on your own before you ask here for people to solve something for you.
I’ve seen this link going around a bit lately:
http://mattgemmell.com/2008/12/08/what-have-you-tried/