i used ajax loading for all my pages

<a href="javascript:ajaxpage('test.htm', 'contentarea');">test</a>

main page remaining the template and the other pages' content will be loaded into the template.
but now the trouble is tht when i have to go to a page i have to go to the main page and click the link

is there any way to give the link such tht the content loaded in tht particular div can be send through the link and the page can be opened such that the content in the template and the particular page is thr??

Member Avatar for P0lT10n

why dont use include in php ???

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.