Help with local file syntax

liunx

Guest
You know how if you have two files, bob1.html and bob2.html in one folder you can access one from the other by simply typing in "bobx.html" in a src= <!-- m --><a class="postlink" href="http://www.webdeveloper.com/forum/archive/index.php/etc">http://www.webdeveloper.com/forum/archive/index.php/etc</a><!-- m -->. parameter rather than typing out <!-- m --><a class="postlink" href="http://www.bobsite.com/bobx.html">http://www.bobsite.com/bobx.html</a><!-- m --><br />
<br />
How, using this shortened syntax, can I access a file that is backwards 1 or more folders?<br />
<br />
Like lets say bob1.html is in the folder "ONE". Also in the folder "ONE" is folder "TWO" and in folder "TWO" there is the file bob2.html. Now how from bob2.html would I access bob1.html?<br />
<br />
Even more tricky, lets say also in folder ONE there is another folder called 1a and in 1a is a file called bob1a.html. How from bob2.html would I get to bob1a.html?<br />
<br />
Thanks alot,<br />
John D<!--content-->Here is an article that might help you...<br />
<br />
<!-- m --><a class="postlink" href="http://webdeveloper.internet.com/html/html_tutor.html">http://webdeveloper.internet.com/html/html_tutor.html</a><!-- m --><br />
<br />
What your asking about is "relative links" <br />
<br />
Go and read that and I'll help you out with your new questions.<!--content-->Yeah that's what I needed. Now that I know how to go back a folder I will play around with more complicated links.<br />
<br />
I've been using html and javascript for a few years but somehow I forgot this little thing :)<br />
<br />
~John<!--content-->
 
Back
Top