Can't Get Dropdown Menu to Work in Sub Folder

Discussion in 'HTML & Website Design' started by travoholic, Aug 9, 2007.

  1. #1
    travoholic, Aug 9, 2007 IP
  2. jGirlyGirl

    jGirlyGirl Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Change your path to absolute instead of relative. On the /canadians/test.php page your code is telling us that the script is located in "/canadians/chainedmenu.js" folder, and it's not working because there is no such script file there. Add a slash to the beginning of each src=" to show that the file is located in the root directory like this:

    <script language="javascript" src="/chainedmenu.js"></script>
    <script language="javascript" src="/config.js"></script>
    Code (markup):
     
    jGirlyGirl, Aug 10, 2007 IP