Results 1 to 3 of 3

Thread: Ajax and PHPBB

  1. #1
    Join Date
    Mar 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default 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.

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Are you calling the CSS file(s) using the loadobjs() function? For example:

    Code:
    loadobjs('external.css')

  3. #3
    Join Date
    Mar 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default 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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •