Path URLs :(
Would someone please look at my site www.digitalwebgold.com source code and
tell me what I am doing wrong with the URL paths in the javascript nav bar at the top of the page? All html files are under the root except for these three directories: thegraphics, resources, dwgteam ... (This js nav bar is in a DW3 template, btw) ... obviously, I've got something messed up or I wouldn't be getting errors
I spent hours trying to get this one figured out yesterday, and just when I thought I got it - I found out I messed up everything else I did prior. (I'm new to DW3 and JS, so please bear with me.)
Thanks in advance ...
------------------
Yours digitally,
Suzanna
Digital Web Gold, The Internet's Largest Source of Metallic Graphics
Digital Affects Design, Commercial & Linkware Graphics
Suzanna.Net, Web Development & Domain Hosting
Vincent Puglia posted this at 15:39 — 16th May 2000.
They have: 634 posts
Joined: Dec 1999
Hi Suzanna,
The following presumes your "index.html" (or whatever it's called) is in the "root" directory.
If a file is in the same directory, you simply use the filename:
"fileInRootDirectory.html"
If it is in a subdirectory immediately off the root:
"subdirectoryName/fileName.html"
In a sub two directories below the root:
"subName/subName2/fileName.html"
If you are in a subdirectory and want to get back to the root:
"../index.html"
Hope this helps. If not, let me know
Vinny
------------------
GrassBlade: cut&paste javascript
The Javascript Place Forums
Where the world once stood
the blades of grass cut me still
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.