Re: breadcrumb app...
| From: | Tim Van Wassenhove | Date: | Fri, 09 Jul 2004 23:22:09 +0000 |
| Subject: | Re: breadcrumb app... | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-190115@lists.php.net to get a copy of this message | ||
In article <049901c465fe$b7fd8400$0301a8c0@Mesa.com>, Bruce wrote:
> has anybody seen a reasonably good/basic breadcrumb app that works... new
> pages are displayed to the user based upon the user's menu selection...
The best approach i've seen untill now is to keep a stack with pages
that have been visited. And each time another script is expected to be
loaded/unloaded the calling script would have to call scriptNext or
scriptPrevious to keep the stack up to date. This way you do not only
have an easy way to build a path with breadcrumbs but also a way to
handle things like ppl that hit the back button after posting a form...
--
Tim Van Wassenhove <http://home.mysth.be/~timvw>