I was wondering how to go about using a full-fledged ajax interface using jquery with dynamic content from modx.
Basically, what I want to achieve is something like in this tutorial
http://www.visionmasterdesigns.com/2008/07/tutorial-ajax-interface-menu-using-jqueryphp/
Additionally to that, I would like the site to ’build up’ using cool jquery effects when the user enters the site, so that first there’s only an animated logo of the site, then the main menu slides in from the side, then the content slowly fades in, etc. (although I think that’ll be quite easy to do).
So, I guess I would create the sub-pages (about, contact, whatever,...) in modx containing only a few divs for positioning and a TV storing the content of each sub-page and inside the index.php using the jquery load() function with a few animations to load the sub-pages into index.php? Would I call the sub-pages by loading something like ’index.php?id=14’ or how do I adress them? And would the content from the TVs still be included in the sub-pages, or does modx only do that when the page is called the ’standard’ way (’opening’ the sub-page in the browser via
http://www.mysite.com/index.php?id=14)?
I’m a bit confused about this whole concept since ajax and CMSs (whether it’s modx or typo3 or whatever) seem to do the same thing when it comes to ’navigating’ a site.
Someone please clear this up for me (btw, I don’t need the site to work without javascript, so there’s no need of combining both ways).
Thank you