Results 1 to 2 of 2

Thread: Chrome menus prepending full path name

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

    Default Chrome menus prepending full path name

    1) Script Title: Chrome CSS Drop Down Menu (v2.01)

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...rome/index.htm

    3) Describe problem:

    I have the menus installed and am having problems with URL of the menu items is being changed to reflect the current directory. If I'm at, for instance, the parent level I get correct URLs in for each menu item. If I select a page inside a directory then the directory is prepended onto the URL and all the menus reflect the current child directory. This is a problem since I want my menus items to be static and can't go back to the parent directory from the child.

    Example menu items:

    Parent directory level:
    http://localhost/cws/dx/diagnosis.php

    Child directory level:
    http://localhost/cws/dx/maintenance/diagnosis.php

    From this example you see that the same menu in the parent directory changes to reflect the child directory when the page has loaded. This menu must remain the same and not reflect the current directory at any point.

    How do I make the menus not add the current directories to the URLs?

    Thanks so much for your generou

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

    Default

    Why not just set the URLs within the Chrome menu to be absolute URLs?

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
  •