<p>I have some javascript menu code that works just fine from a separate directory.
But, when I try to call the same .js files from within the same directory, it won't see the files.</p>

<p>The following works from another directory:</p>

<p>script type="text/javascript"> var <strong>vbImgPath="../00-Menu-Files/"</strong></p>

<p>But, if I do this from within the same folder, how would I do it?</p>

<p><strong>THE SOLUTION (edited this in after much experimentation):</strong></p>

<p>I experimented A LOT!!!
There is only ONE solution that ultimately worked:</p>

<p>"../00-Menu-Files/"</p>

<p>The SAME thing as from the other directory!
Pretty strange that there is no other way to call this from within its own directory. But I cannot find another alternative that actually works.</p>

Maybe you'd use:
```
```
script type="text/javascript"> var vbImgPath="00-Menu-Files/"
```
```
You may want to make this work anywhere by using absolute urls with a / at the beginning and the full path afterwards, ie.
```
```
script type="text/javascript"> var vbImgPath="/00-Menu-Files/"
```
```
Whether this works or not depends on your site's directory structure.