PDA

View Full Version : Ajax & Jquery - load content


ktsixit
07-29-2009, 12:38 PM
Hello,
I am using the script demostrated in the following tutorial:
http://yensdesign.com/2008/12/how-to-load-content-via-ajax-in-jquery/
There is a live demo of the script here:
http://yensdesign.com/tutorials/contentajax/
I also have attached the demo's code.

I am trying to add something in this script and I need your help.

The script uses a menu to load content from external files.
What I want is to add a "Home" link inside the content of the external files. This link should always load the "Home" content (inside sections.html file).
In other words I am trying to find way to make the loaded html files to communicate with the parent html page (index.html).

How am I supposed to do that? Can you please give me a hand?