• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

Simple HTML question

ds-

Gawd
Joined
Sep 25, 2003
Messages
535
Using a the <A href=" tag

how would I write the path name so that I can open a page which is in a parent folder of the current page's location?
 
Hmm... if I'm understanding this currectly... you are wanting to go up a directory or multiple directories... Well... if this is the case, then it is very simple.

To go up one directory, it would be: ../page.html. Two directories, ../../page.html. Etc, etc.

I hope this is what you wanted,
Mandane
 
Also, for future reference. While ../ takes you back one directory, ./ takes you all the way back to the root directory. It's alot easier than doing ../../../../../etc
 
Shouldn't ./ access the current directory? A bare / should access the root directory.
 
HCLPfan said:
Also, for future reference. While ../ takes you back one directory, ./ takes you all the way back to the root directory. It's alot easier than doing ../../../../../etc

Does ./ really take you back to the root?

Thats weird, as Linux uses the . to signify the current directory.
 
HCLPfan said:
Also, for future reference. While ../ takes you back one directory, ./ takes you all the way back to the root directory. It's alot easier than doing ../../../../../etc
this is incorrect.

./ links to the current directory, just like if you didn't put anything before the actual target

/ links to the root of the webserver

ex

a page like www.domain.com/dir/page.html
links to ./
that goes to www.domain.com/dir
a link to /
goes to www.domain.com
 
Back
Top