Mark Eichin <[EMAIL PROTECTED]> writes:

> I haven't got code yet, but I'm sketching out some usage improvements
> to numbered links, and was wondering if they made sense to others -
> possibly to inspire someone to try them if I don't get it done
> (they've been in my todo list since xmas...)
>
> 1. If two links have the same href, give them the same number.  This
> would be a win in terms of giving the user more information, but it
> might make the ordering a little messier in places where there are
> otherwise natural sequences...

I think that makes sense. It'd also make things less confusing when a
cluster of 2 or 3 links all point to the same place.

> 2. if the entirety of the text of the element is numeric [and short
> :-)], use that as the link number.  This avoids the horrible visual
> confusion of page selectors having colliding sequences, which are
> usually something like
>
>     (first) [50]1 - 2(current) - [51]3 - [52]4 - [53]5 - [54]6 (last)
>
> (If first/last/current are linked too, rule 1 can also help.)

The only problem I see with this is that you'd have to scan the page
once first which would add to the already long link numbering process.

> I'm guessing this is a bit of work to doLinkNodes, and has to be
> pretty tight to run on every page, so it might be challenging.  Just
> thought I'd get the idea out there...

If you manage to put this together, send the patch here and I'll put
it in CVS. They seem like good ideas.

-Shawn
_______________________________________________
Conkeror mailing list
[EMAIL PROTECTED]
http://mozdev.org/mailman/listinfo/conkeror

Reply via email to