![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Imagine a long nested list of items, or a long definition list, prefaced with an index to that list. To make it easier to use, you might want to put a link to "List index" at various points in the list, perhaps at each major group in the list: Where to put this link? |
#3
| |||
| |||
|
|
Imagine a long nested list of items, or a long definition list, prefaced with an index to that list. To make it easier to use, you might want to put a link to "List index" at various points in the list, perhaps at each major group in the list: Where to put this link? Simple: Inside <li class="foo" >, because that's all you have to work with as a permissible element at that location. Yes, you now have two classes of <li> element within the same list. Get over it and deal with it, because it's HTML and that's just all you've got to work with. |
|
Remember that the content model inside <li> is %flow;, so you can go wild in there. Although there's a general reluctance to put anything more than a bare string inside <li>, this is a false constraint and there's no reason to limit yourself. |
|
BTW - Are you involved with the forthcoming Dorkbot @ Chapter? |
#4
| |||
| |||
|
|
On 12 Oct, 09:31, real-not-anti-spam-addr... (AT) apple-juice (DOT) co.uk (D.M. Procida) wrote: Imagine a long nested list of items, or a long definition list, prefaced with an index to that list. To make it easier to use, you might want to put a link to "List index" at various points in the list, perhaps at each major group in the list: Where to put this link? Simple: Inside <li class="foo" >, because that's all you have to work with as a permissible element at that location. The alternative is to split the list container <ul> into multiples, which isn't great. |
#5
| |||
| |||
|
|
Indeed. I find myself increasingly frustrated by the number of things I need to get over and deal with because of limitations within HTML. |
#6
| |||
| |||
|
|
Imagine a long nested list of items, or a long definition list, prefaced with an index to that list. |
|
To make it easier to use, you might want to put a link to "List index" at various points in the list, |
|
Where to put this link? It's not itself a list item, and it's certainly not part of a definition term, but there doesn't seem to be anywhere else suitable. |
#7
| |||
| |||
|
|
I imagine that a long list, especially one that needs an index, is split across several web pages. The problem vanishes in a puff of logic. Okay, you might still wish to have, as one version of some material, a long list on one page e.g. because it's something that someone might want to print or save locally in a comfortable way. Fine. So make it one list and don't try to make it any more usable, as the usable way (for most purposes) is to divide it into several pages. |
|
To make it easier to use, you might want to put a link to "List index" at various points in the list, It doesn't make it any more easier, just as "Back to top" links are worse to useless, as explained at http://www.cs.tut.fi/~jkorpela/www/totop.html |
#8
| |||
| |||
|
|
Anyway, it's a long list, and for various reasons, not one I think would usefully be split up. |
#9
| |||
| |||
|
|
It's a long list of academic publications [...] Anyway, it's a long list, and for various reasons, not one I think would usefully be split up. |
|
[...] I think you need to distinguish between: * "back to top" (or worse, "^" etc) * non-list content such as "Index" links in lists because they present different issues. |
#10
| |||
| |||
|
|
On Mon, 12 Oct 2009 18:59:39 +0100, real-not-anti-spam-address (AT) apple-juice (DOT) co.uk (D.M. Procida) wrote: Anyway, it's a long list, and for various reasons, not one I think would usefully be split up. I must admit that my first thought was, how useful is such a list? I'd be looking at putting the data in a database and delivering it to the user as they require, sorted by some query. |
![]() |
| Thread Tools | |
| Display Modes | |
| |