hi guys...
its just a simple thing but confusing me like hell.. i donn know why /.
i just want to know how do i set relative paths, lil information can help you :-
my hosting is on linux
what i know is :-
../ would jump level up from the current directory
so here is the directory structure..
i have folders
inc
script
style
so my script file is in "inc" which wants to access a JS file from "script" folderso how do i do it
src="../script/file.js";
or
src=../../script/file.js";
well none of them worked for me..
also my current operating system is WINDOWS, so i will have to change these paths again for my windows or what ?
thanks for ur time :)
its just a simple thing but confusing me like hell.. i donn know why /.
i just want to know how do i set relative paths, lil information can help you :-
my hosting is on linux
what i know is :-
../ would jump level up from the current directory
so here is the directory structure..
i have folders
inc
script
style
so my script file is in "inc" which wants to access a JS file from "script" folderso how do i do it
src="../script/file.js";
or
src=../../script/file.js";
well none of them worked for me..
also my current operating system is WINDOWS, so i will have to change these paths again for my windows or what ?
thanks for ur time :)
Comment