pcadv Posted January 22, 2007 Share Posted January 22, 2007 Hi,I am trying to access a file which is in the previous folder. I mean e.g Folder TRY contains folder HLLY and page photo.html. In the folder HLLY, there is a page target.html.I want to access photo.html in target.html. Can anyone help me the path?thanks, Link to comment Share on other sites More sharing options...
aspnetguy Posted January 22, 2007 Share Posted January 22, 2007 the path would be ../photo.html../ is used to go back a folder Link to comment Share on other sites More sharing options...
pcadv Posted January 22, 2007 Author Share Posted January 22, 2007 the path would be ../photo.html../ is used to go back a folderthanks so much Link to comment Share on other sites More sharing options...
pcadv Posted January 23, 2007 Author Share Posted January 23, 2007 thanks so muchHi,When I tried the above, it was accessing the previous folder file but now after loading it on the website, it is somehow not accessing the file photo.htm.I have used the following code:<a href="../photo.htm">Thumbnails</a>It would be great if anyone can help me.thanks Link to comment Share on other sites More sharing options...
jesh Posted January 24, 2007 Share Posted January 24, 2007 In your first post you were referring to the file as "photo.html" but now you are referring to it as "photo.htm". Perhaps the file on the server has the .html extension rather than the .htm extension? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now