the-name-of-this-file
Date: 06/04/06
(Javascript Community) Keywords: html, java, web
hello,
maybe it is a lame question, but anyway...
i am making a website in more than one language version and i have put the html files of every version to a separate directory. the names of files are the same in every directory.
now i would like to have links on every page to switch to another version of this page easily. i think about using javascript [written in separate file], if it is possible.
is there a code meaning "the name of this file"? so that i could write "../nameofdesireddirectory/" before it and have a link to the file with the same name but placed in another directory?
could you help me?
thanks in advance! :)
Source: http://community.livejournal.com/javascript/101546.html