Steve Maskery
Established Member
OK, I know a little knowledge is a dangerous thing, and true to form I've screwed up my website.
Can someone please explain to me something very simple? How do I refer to files relative to the root directory?
I know that ../ means go up one, so ../.. must mean go up two levels, but it starts to get a bit cimbersome.
I have some main pages (index, FAQs etc) at top level, but all my interesting pages (gallery, resources) are lower down:
/gallery/lounge/lounge.htm and subdirectories of images.
/gallery/bedroom/ bedroom.htm and subdirectories of images, etc
and in resources:
/resources/tenon_jig/tenon_jig.htm plus relevant JPGs
I'm happy with the structure, but the problem is the menus. The menu files are in /images/navbar, so the relative path is horrible. Much easier just to point to /images/navbar/JPGs. Trouble is, although it works on my PC, when I upload it, it looks for ntlworld.com/index instead of ntlworld.com/steve.maskery/index.
Are you still following this? Bravo! How do I fix this please? Do I have to add /steve.maskery to the beginning of all my pathnames? There is a lot of them! And I'm pretty sure it won't work on my local PC if I do that.
I'm using DreamWeaver.
All and any help very gratefully received.
Cheers
Steve
Can someone please explain to me something very simple? How do I refer to files relative to the root directory?
I know that ../ means go up one, so ../.. must mean go up two levels, but it starts to get a bit cimbersome.
I have some main pages (index, FAQs etc) at top level, but all my interesting pages (gallery, resources) are lower down:
/gallery/lounge/lounge.htm and subdirectories of images.
/gallery/bedroom/ bedroom.htm and subdirectories of images, etc
and in resources:
/resources/tenon_jig/tenon_jig.htm plus relevant JPGs
I'm happy with the structure, but the problem is the menus. The menu files are in /images/navbar, so the relative path is horrible. Much easier just to point to /images/navbar/JPGs. Trouble is, although it works on my PC, when I upload it, it looks for ntlworld.com/index instead of ntlworld.com/steve.maskery/index.
Are you still following this? Bravo! How do I fix this please? Do I have to add /steve.maskery to the beginning of all my pathnames? There is a lot of them! And I'm pretty sure it won't work on my local PC if I do that.
I'm using DreamWeaver.
All and any help very gratefully received.
Cheers
Steve