Before you start (Important) :
-------------------------------

Open the page.tpl.php file for your theme, and search for 
$content.The $content should be surrounded by a div with an id 
(or class).If no div add the div yourself.

Example : <div id="content-content"><?php print $content; ?></div>

In this case, just enter "#content-content" in 'admin/settings/ajax_links_api'

How to use Ajax links API :
----------------------------

METHOD 1 : in your tpl => l_ajax($title,$path,$target)

* $title: Title.
* $path : Drupal path.
* $target (optional): ID or CLASS of DIV to be replaced. Default value is 
#content-content, you can change default value in admin page 
'admin/settings/ajax_links_api'

Example : l_ajax("add page","node/add/page","#content-content").


METHOD 2 : Add class="ajax_link" to any link. In this case target div will be 
default CSS selector defined . You can override target by specifying rel="".

Example : 
<a class="ajax_link" href="node/add/page" rel="#content-content">Add page</a>

DEMO :
-------
After enabling module goto
<YOUR SITE>/ajax_links_api/test
