
Originally Posted by
jscheuer1
That sort of thing is what absolute paths are for.
hmm... i'm not sure i follow you exactly there...
"what" sort of thing is what absolute paths are for? do you mean-- to use javascript i'm going to need to have absolute paths present?
would the "missing path name" be "Sever Path"?
totally guessing based on what i've seen in a PHP "Backlinks" or "Breadcrumbs" Script
which uses the SuperGlobal $_SERVER[DOCUMENT_ROOT]
you're right on about server compatability-- i couldn't get the above PHP to work (i'm using v.5.1.2 on Apache2), so who knows what that one needs, although that script would have been a nice "supplemental" solution to this whole navigation headache!
consider this:
Code:
<?php
echo $_SERVER[PHP_SELF];
?>
// on LocalHost outputs something like:
/wwwroot/MyWeb/pub_html/filename.php
so, that initial backslash is present there. right now i'm wondering if i could implement that into my include (or the offset.php file) in such a way that i WILL have that leading slash, so my paths aren't "relative".
does any of this set off any bells?
before i close, i just want to say that i am at the point of being ready to scrap the CSS template altogether, and just go w/ something very simple because i don't think i'm going to get any satisfaction from this client unless it's like this:
- ONE "Expanding" Level Only (per document view) - the 3 and fourth levels are just "too far" (even the proposed "delayed mouse hover" effect, as in my original request here has been nixed)
- ALL Top Level Navigation visible at ALL times
i'm really stuck for ideas on how to do it-- there's so many pages to this thing (as per her request). i'm open for any and all suggestions in keeping w/ those criteria i just mentioned. thanks!
thanks again for your help, and your attention to my troubles!!
Bookmarks