View Full Version : Ajax and PHPBB

03-05-2008, 04:45 AM
1) Script Title: Ajax Dynamic Content

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm

3) Describe problem:

When I use this script to display a PHPBB forum the PHPBB CSS doesn't load, I am assuming because of relative paths. Has anyone tried this or know a solution. Thanks.

03-05-2008, 08:55 AM
Are you calling the CSS file(s) using the loadobjs() function? For example:


03-05-2008, 07:10 PM
No I am not loading style sheets due to the nature of PHPBB's styles being modular its hard to tell what needs to be loaded. But the root of the problem is that when the page loads in the ajax DIV it uses the root of my index.html (ie: www.mysite.com/) and not the root of where it was run from (ie: www.mysite.com/forum). so then it tries to load its css and images from the root of my site and not the root of the forum and of course it fails.