-
Ajax and PHPBB
1) Script Title: Ajax Dynamic Content
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...jaxcontent.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.
-
-
Are you calling the CSS file(s) using the loadobjs() function? For example:
Code:
loadobjs('external.css')
-
-
Hmm
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.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks