Hi,
Is it possible to address a link from the root of site without including http://www.example.com ?
for example, I have this : http://www.example.com/img.jpg
and in an html file located at http://www.example.com/folder1/folder2/file.html
I want to put that image.
but not to include the
http://www.example.com/
and
../../img.jpg
is there some character to give me the first directory of the site ?
for example : ./img.jpg
Hope I said it clear
(the problem is I may be in lot of folders, and don't know how much I have to come back (with these ../ ../) , so I wanna start from the root. I don't wanna use the domain name, cause this address will go for a form action, and for soem reason site says, it can't post data to another sites...)