PDA

View Full Version : Resolved Ajax Slide and Fade content



kimikai
03-24-2014, 03:26 PM
I was planning on maybe using this code: http://perishablepress.com/slide-fade-content/ to give some effect to my content on menu click.
Now I was wondering, I'm planning on using it for my main menu with content.
As of right now you have the 3 links and no currently displaying div.
Could I change something within the Ajax code to have the first div display on page load?
Like say the DIV with the content for "Home" displays instantly, and as soon as you click on the next link, say "About" the Home content fades and the DIV with the info for "About" slides in?

If any1 can help me with this I'd be happy :)