49 users online (1 members and 48 guests)  


  Results 1 to 3 of 3

Related

  1. Replies: 1
  2. how can i do (loading...)    Forum: Javascript Forum
    Replies: 1
  3. Help with an non loading website!?!    Forum: HTML Forum
    Replies: 5
  4. Replies: 0
  5. Problem loading .pdf file    Forum: HTML Forum
    Replies: 3
  1. #1
    christofides's Avatar
    New User

    Status
    Offline
    Join Date
    Aug 2001
    Location
    Limassol, Cyprus
    Posts
    6

    Loading a file from subfolder

    Hello,
    I have a sort of problem that I need your help here.

    In my Main Index page I have the following code:
    <CENTER>
    <STRONG><A HREF="CONTACT_US.HTM">Contact Us </A></STRONG></P>
    </CENTER>

    This when you click on it it opens the "CONTACT_US.HTM" file.

    I want someone to tell me the code in order to open a file in a subdirectory.
    e.g in the "support" subfolder, the file "index.htm"
    I suppose the same code must work also when I have the webpage in my computer also.....

    Is it like the following?
    <STRONG><A HREF="support/index.htm">Support Page </A></STRONG></P>
    but it does not seems to work......

    I need help with that please.....

    I know that I can normally type:
    <STRONG><A HREF="http://christofides.com/support/index.htm">Support Page </A></STRONG></P>
    But I do not want this way because I have the same page in a lot of places, and mirrors, and I do not want to change the code for every place individually....

    Thank you very much in advance

    Costas Christofides

  2. #2
    Enigma's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Nov 2000
    Posts
    426
    <A HREF="support/index.htm">Support Page </A> should work if the index.htm file is in the support directory, and the page that the link is on is one directory above the support directory. Also, remember that on most servers, file names are case sensitive.

  3. #3
    christofides's Avatar
    New User

    Status
    Offline
    Join Date
    Aug 2001
    Location
    Limassol, Cyprus
    Posts
    6
    Thank you very much Enigma.
    I try it and it works great.

    I had a sort of problem with my Computer, but now that I fix it, I saw your message.

    Thank you very much.
    Your help is very-very much appreciated.

    Christofides Costas



Tags for this Thread