PDA

View Full Version : Dynamic Ajax Content load an external website to a div-container



Grilly
07-03-2006, 01:40 PM
Dynamic Ajax Content
http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm

I've made a homepage using the Dynamic Ajax Content. I load php-sites that are on my server to my div-containers and that functions well. But if I try to load external websites to a div-container no site is loaded.

My code to load an external website looks like that:

<a href="javascript:ajaxpage('http://www.externalsite.de', 'contentarea');">externalsite</a>

On "http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm" there's an example of the dynamic ajax content. There if I click on "DD Forum archives" to load the external website into the "rightcolumn", the external site is loaded into the rightcolumn.

Why can the external website be loaded into the div-container on "http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm" but not on my homepage?