i've kind of painted myself into a corner here. result of poor planning, i'm sure! but, perhaps my current setup is yet salvageable w/out too much strain on my productivity.
i'm working on a site which has a navigation menu which i've designed to stay on the left, as in a typical Framed site-- however, i'm using CSS divs to get my columns instead of frames-- so, as i usually do w/ this type of setup, common to my more simple designs, i started off by creating a "template" or index page complete w/ the navigation to hit all of the other pages. in this manner, i can build the other pages from this template, and the navigation div will already be populated w/ the correct URL's . it's fast, relatively simple, and results in pages which have an identical appearance to the functional / navigation/ and basic structure elements.
due to the depth of sublevels in this menu, this is the first i've encountered this particular issue-- hence my lack of preparedness. the attached image shows the <ul> sublevels outline which comprise the collapsible nav list.
as i created this vast, collapsible sub-menu navigation list, i decided to build this folder based structure-- using sub-folders and files to mirror each of the list items-- a structure which, while nice and neatly organized on disc, as a matter of course has also imposed itself into the URL path. the URL paths which extend into the sub-directories would be fine if i only wanted to use the nav i've built on the top level of the heirarchy, but if i were to copy/ paste that code into one of the sub-documents deeper in the structure, or anywhere else in the structure for that matter-- the URL paths will no longer be correct.
instead of nixing the idea of the sub-folder heirarchy, i decided that i could use PHP includes for that navigation list-- having the nav only in a file, and then reference it from anywhere w/ an include. however, again-- the heirarchy imposes the identical problem as copy/ paste-- a sub-file can not use the same URL paths, obviously.
i can think of the obvious solution, which would be to tear apart the heirarchy and have everything in root-- but i'd rather not go that route just yet.
what would you do? please keep in mind that i don't want to use frames as it would eliminate my ability to use this CSS div based layout (if you happen to view it, it's currently undergoing a revision... to explain the bg mis-match). i'm drawing a blank for a quick fix, but maybe i just need to step back from it for a while.
thanks for reading! i look forward to reading your reply.
the collapsible navigation list is based on a CSS design by Eric Meyer.