53 users online (2 members and 51 guests)  


  Results 1 to 5 of 5

Related

  1. Word break for relative columns    Forum: HTML Forum
    Replies: 0
  2. Newbie help in creating folders    Forum: Website Scripts Forum
    Replies: 2
  3. Relative Positioning    Forum: CSS Forum
    Replies: 1
  4. relative positioning, i think    Forum: CSS Forum
    Replies: 1
  5. Relative linking to background image.    Forum: CSS Forum
    Replies: 1
  1. #1
    Jyles's Avatar
    New User

    Status
    Offline
    Join Date
    Feb 2004
    Posts
    3

    folders and relative paths

    I have a drop-down javascript menu for a site with a directory structure that uses folders.
    The only way I can make the javascript work is to use relative paths.
    However, this prevents me from fully testing any changes to the menu - I would never be able to test the final links that are to be posted live.
    Does anyone know a way around this?

  2. #2
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Hi,

    Cannot really answer this without more information I am afraid. We cannot even guess without seeing your code at least.
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  3. #3
    Jyles's Avatar
    New User

    Status
    Offline
    Join Date
    Feb 2004
    Posts
    3
    Sorry - code is so long I didn't think it would be of any value.

    Here's a snippet, if this helps:

    Menu7=new Array("affected by disaster?","http://docsonline.dcs.gov.au/test/New_site/html/disaster/disaster.htm","",8,20,146);
    Menu7_1=new Array("drought relief","http://docsonline.dcs.gov.au/test/New_site/html/disaster/drought.htm","",0,20,190);
    Menu7_2=new Array("bushfire recovery","http://docsonline.dcs.gov.au/test/New_site/html/disaster/bushfire.htm","",0);
    Menu7_3=new Array("flood recovery","http://docsonline.dcs.gov.au/test/New_site/html/disaster/flood.htm","",0);
    Menu7_4=new Array("community disaster relief fund","http://docsonline.dcs.gov.au/test/New_site/html/disaster/cdrf.htm","",0);
    Menu7_5=new Array("how to prepare for a disaster","http://docsonline.dcs.gov.au/test/New_site/html/disaster/prepare.htm","",0);
    Menu7_6=new Array("our partners in disaster relief","http://docsonline.dcs.gov.au/test/New_site/html/disaster/partners.htm","",0);
    Menu7_7=new Array("recovery and evacuation centres ","http://docsonline.dcs.gov.au/test/New_site/html/disaster/evac_centres.htm","",0,20,150);
    Menu7_8=new Array("recent disaster relief work","http://docsonline.dcs.gov.au/test/New_site/html/disaster/recent.htm","",0);

  4. #4
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Sorry, not enough. WHy dont you upload it to a test site and post the link?

    I am not being awkward, I really have no clue without seeing it.
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  5. #5
    Jyles's Avatar
    New User

    Status
    Offline
    Join Date
    Feb 2004
    Posts
    3
    thanks Dean. Can't do that yet - will get back to you when I can.



Tags for this Thread