|
Posted by Red on April 11, 2006, 1:50 pm
Please log in for more thread options
Hi,
Can someone give me some pointers on how to approach creating multi
level category navigation for a website?
Take ebay for example. No matter where you are, you have a navigation
bar telling you how you got there, and can click on these to go to any
of the parent levels;
Music > CDs > Folk > American
Im not looking for complete instructions how how to code this, but more
an overview of how something like this works. How do you build the
category <> parent category structure within your database.
Some pointers of what i need to be thinking about would be a great
start, or any links to web resources would be great. Ive tried
googling, but not sure of the terminolgy to use, so ive not found eactly
what i want yet.
Many TIA,
Red.
|
|
Posted by dk_sz on April 11, 2006, 2:46 pm
Please log in for more thread options
> Im not looking for complete instructions how how to code this, but more an
> overview of how something like this works. How do you build the category
> <> parent category structure within your database.
Well, as an alternative, if using mod rewrite, you could use paths
like: http:/example.com/music/cd//folk/american/ -- and then
simply parse them, and from there generate the breadcrumb trails.
--
best regards
Thomas Schulz
http://www.micro-sys.dk/products/sitemap-generator/ http://www.micro-sys.dk/products/website-analyzer/
|
|
Posted by Andy Dingley on April 12, 2006, 7:57 am
Please log in for more thread options
Red wrote:
> Can someone give me some pointers on how to approach creating multi
> level category navigation for a website?
First of all, have a good structure. Only then worry about making it
navigable by added links.
Of course you may be refactoring an existing site structure that you
can't change, so do your best. But in general a site with a sensible
structure is easier to work with than trying to label up a bad one and
apply usability to it afterwards.
- Hierachies are good. Don't just leave every page as
"?id=1234567890", even if that is how your database code stores them.
- Predictable hierarchies are good hierarchies. Make your URL site
structure resemble the user's conceptual model of how they'd expect
things to be organised
- Default documents in directories are good. Hierarchies are much less
useful without them.
Read the usual usability texts, such as Joe Clark's (good book, scary
cover, free online too)
> Take ebay for example. No matter where you are, you have a navigation
> bar telling you how you got there, and can click on these to go to any
> of the parent levels;
>
> Music > CDs > Folk > American
Generally called "breadcrumbs". They're a good idea on anything
hierarchical, especially if your site implementation and URLs aren't,
but your users would like some hierarchical access to it.
Generally they're spat out of the same content database as the rest of
the pages, or else hand-edited for small sites.
You might also (if the site physical structure resembles the logical
structure) find it practical to auto-generate them with a simple script
that splits the URL up into directory segments.
|
|
Posted by Eric Bohlman on May 2, 2006, 1:47 pm
Please log in for more thread options
> Red wrote:
>> Take ebay for example. No matter where you are, you have a navigation
>> bar telling you how you got there, and can click on these to go to any
>> of the parent levels;
>>
>> Music > CDs > Folk > American
>
> Generally called "breadcrumbs". They're a good idea on anything
> hierarchical, especially if your site implementation and URLs aren't,
> but your users would like some hierarchical access to it.
Just to clear up a bit of sloppy thinking: despite its name, a "breadcrumb
trail" doesn't "tell you how you got there" (that's what browser history
does), it tells you where the page stands in the hierarchy. It would only
be "how you got there" *if* (and only if) you had entered the site at the
front page and "drilled down" to the specific page. The *entire* reason
for a breadcrumb trail is to accommodate readers who *didn't* do that
(usually because a search led them to the specific page).
|
|
Posted by Alan J. Flavell on May 2, 2006, 3:33 pm
Please log in for more thread options
On Tue, 2 May 2006, Eric Bohlman wrote:
> Just to clear up a bit of sloppy thinking: despite its name, a "breadcrumb
> trail" doesn't "tell you how you got there" (that's what browser history
> does), it tells you where the page stands in the hierarchy. It would only
> be "how you got there" *if* (and only if) you had entered the site at the
> front page and "drilled down" to the specific page. The *entire* reason
> for a breadcrumb trail is to accommodate readers who *didn't* do that
> (usually because a search led them to the specific page).
Indeed.
However, it seems to me that any halfways-experienced webnaut, if they
lost their way, would try hacking the end off the URL, hierarchy by
hierarchy, to see what they got.
I'm becoming increasingly irritated by commercial sites which rudely
inform me "Directory listing denied" when one tries that. Sure! -
they have every right to deny a "directory listing" if they so choose,
but, for heaven's sake, they should do that by placing an
appropriately designed navigation page in its place (index.html or
default.asp or whatever their web server expects).
In fact, funnily enough, I find myself increasingly getting into the
habit of finding my way around vendors' sites by using google - and
ignoring the vendors' own attempts to keep me from getting a clear
overview of their content. There has to be some kind of message in
that.
|
| Similar Threads | Posted | | Relative link question in multi-LAN, multi-server environment | May 17, 2006, 11:27 am |
| Creating a category tree | September 27, 2005, 12:13 am |
| Multiple-level Table of Contents | April 6, 2006, 9:59 am |
| multi-column html form | July 18, 2005, 7:42 am |
| Charsets on multi-language website | September 10, 2005, 4:38 am |
| best way to present multi format information | September 11, 2005, 11:55 pm |
| Printing multi-page html documents | September 26, 2006, 3:12 pm |
| W3C Spec: Block level content within | June 9, 2005, 6:20 am |
| Double-spacing 1st List Level, but not Nested Levels | July 9, 2006, 8:24 pm |
| Handling of partially completed multi-page forms | February 19, 2005, 5:23 am |
|