Forum Moderators: mack

Message Too Old, No Replies

Access directory from root

         

traffik daddy

11:54 am on Dec 1, 2003 (gmt 0)

10+ Year Member



Hi

Usually I always use text links but for design purposes I used an external Javascipt menu because of the size of the site and the future development of it.

Rather than changing each bit of text on each and every page I can just change the javascript and it will change all pages at once.

However, I have put some sub-directories into my site with HTML pages in it and need to access the directory for my javascript menu from the root folder rather than copy/pasting everything into the sub-directory. Does anyone know of a command for this using HTML?

Thanks in advance

Terry

JamesR

10:03 pm on Dec 1, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If I understand you correctly, can you just use an absolute rather than relative linking method to the javascript file?

traffik daddy

12:03 pm on Dec 2, 2003 (gmt 0)

10+ Year Member



Oh man (DUH!)

Why didn't I think of that?

I was pretty hung over when I wrote that so I can be let off the hook.

Thanks James