Solved

Regarding Pointing to the right file on my webserver. Really simple question

Posted on 2008-06-19
3
165 Views
Last Modified: 2013-11-19
what is the code i put in an  a href tag to point backwards in my folder structure.

Example:

if i had the following folder structure on my webserver

main_folder   which had 2 folders in side it
             Let call them Images and Video

Inside the images folder lets say there is one more folder called GALLERY

and inside the gallery folder is an html page we will call three_folders_deep.html
 
so from my index page which is found in main folder i can link to the three_folders_deep.html page by simply putting in

<a= href"image/gallery/three_folders_deep.html>

With me so far I hope. Okay so my quesiton is that if im coding the links for the three_folders_deep.html page and i want to link back to other index pages or pictures found in the main_folder (i.e 2 folders backwards from where we are now)  what would the structure look like

you can use a simple <a href> tag to show me an example thanks you
0
Comment
Question by:djmichaelray
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 82

Expert Comment

by:hielo
ID: 21826216
<a= href"/image/gallery/three_folders_deep.htm"l>

make sure you put quotes around the value.
0
 

Author Comment

by:djmichaelray
ID: 21826232
thank you does the slash at the beggining in front of images change deping on how deep you go into folders?
0
 
LVL 82

Accepted Solution

by:
hielo earned 500 total points
ID: 21826261
The leading slash instructs the browser to start from the top-most folder. So no matter how deeply neested your current page is what I gave you should always find the image (if you did not mistyped the name).
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

742 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question