0

Hi there.

I'm having a small issue with including various files into some of my main files. This issue started when I decided to organize my directory structure.

My old structure:

/{root}
    [application]
        [css]
        [FF]
        [images]
        [install]
        [js]
        [validation]

So in this structure, FF (Firefox) is where the main application files are. So if I wanted to access "common.css" in the [css] folder, the source URL would be "../css/common.css"

My new structure (changes highlighted in red):

/{root}
    [application]
        [FF]
            [css]
            [images]
            [install]
        [js]
        [validation]

[B][U]Example #1[/U][/B]
This is where things get weird. Say I want to access the same file (common.css) from FF. The url would now be "./css/common.css" right?

[B][U]Example #2[/U][/B]
Also, say I want to access "tabClick.js" in the [js] directory from the [install] directory. The url would then be "../../js/tabClick.js" correct?

Examples 1 & 2 are not working for me. Am I doing anything wrong with the URLs?

2
Contributors
1
Reply
2
Views
8 Years
Discussion Span
Last Post by samarudge
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.