Results 1 to 4 of 4

Thread: Jim's DHTML Menu v5.7 problems with relative paths

  1. #1
    Join Date
    Nov 2004
    Location
    Troy, NY
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Jim's DHTML Menu v5.7 problems with relative paths

    I put the config.js and the images and includes folders in my root of public_html.

    I also have subfolders in public_html with the contents of websites that link from my main page.

    If I put any relative path references (e.g. .../images or ../config.js) the files won't display. The only way I have been able to figure out getting around this is to put a copy of config.js, the images and includes folders in each of my public_html subfolders.

    Has anyone else had this problem? Is there something I can do to make it work?

  2. #2
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Relative paths are always a problem. Unless there's a reason not to, it's always best to use absolute paths.

    cr3ative
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

  3. #3
    Join Date
    Nov 2004
    Location
    Troy, NY
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    OK, but even with absolute paths I still have to put a copy of config.js and the images and includes folders in each of my public_html subfolders.

  4. #4
    Join Date
    Oct 2004
    Location
    Texas
    Posts
    54
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Can you post a link to your site here? I'm willing to try to troubleshoot it for you.

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
  •