Re: devshed style navigation
| From: | Philip Olson | Date: | Tue, 17 Oct 2000 18:48:10 +0000 |
| Subject: | Re: devshed style navigation | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-20681@lists.php.net to get a copy of this message | ||
Now, I can't find the source of this (where i got it) but it is called
"you are here" and it is as such :
<snip>
<?
$nav_url= $REQUEST_URI;
while ($nav_url != "") {
$nav_text = basename($nav_url);
// check for a label for this directory
if (isset($nav_label[$nav_text])) { $nav_text =
$nav_label[$nav_text]; }
$nav_link = $nav_url;
$nav_curx = " > <a href=\"$nav_link\">$nav_text</a> ";
$nav_komplettx = $nav_curx . $nav_komplettx; // we reverse the order here
$nav_url = dirname($nav_url);
}
echo $nav_komplettx;
?>
</snip>
philip olson
--
without php my name would be ili !
On Tue, 17 Oct 2000, Jerry Lake wrote:
> I am almost certain that at some point
> in time this has been gone sorry for rehashing
> old info...
>
> how do I create the style of navigation that
> is on devshed
>
> the HOME > CLIPSCRIPTS > NAVIGATION
>
> where each is its own link...
>
> I swear I knew how to once...
>
> Jerry Lake - jerryl@europa.com
> Web Designer
> Europa Communications - http://www.europa.com
> Pacifier Online - http://www.pacifier.com
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>